Vobiz Sub-Account KYC (Test Mode) API

Mock KYC endpoints that never call the upstream provider. Drive verified / failed / pending / error outcomes with magic inputs for integration testing.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 7

POST /api/v1/sub-accounts/test/{sub_auth_id}/kyc/verify-pan Mock verify PAN #
POST /api/v1/sub-accounts/test/{sub_auth_id}/kyc/verify-gst Mock verify GST #
POST /api/v1/sub-accounts/test/{sub_auth_id}/kyc/cin/search Mock CIN search #
POST /api/v1/sub-accounts/test/{sub_auth_id}/kyc/cin/confirm Mock CIN confirm #
POST /api/v1/sub-accounts/test/{sub_auth_id}/kyc/digilocker/initiate Mock DigiLocker initiate #
POST /api/v1/sub-accounts/test/{sub_auth_id}/kyc/digilocker/verify Mock DigiLocker verify #
POST /api/v1/sub-accounts/test/{sub_auth_id}/kyc/finalize-pending Mock finalize pending #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/vobiz-ai:vobiz-ai-sub-account-kyc-test-mode-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

vobiz-ai-sub-account-kyc-test-mode-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vobiz Sub-Account KYC (Test Mode) API
  description: 'The Vobiz API lets you make calls, manage phone numbers, configure SIP trunks,

    and access account data programmatically.


    **Base URL:** `https://api.vobiz.ai`


    **Authentication:** All requests require `X-Auth-ID` and `X-Auth-Token` headers.

    Obtain these from your Vobiz Console.


    **Versioning and deprecation:** The API is versioned in the URL (`/api/v1/`). Breaking changes go through a published deprecation lifecycle: the change is announced and marked `deprecated` in this spec, deprecated endpoints carry `Deprecation` (RFC 9745) and `Sunset` (RFC 8594) response headers, and a deprecated field or endpoint stays available for a minimum of 90 days between the sunset announcement and removal. See the versioning and deprecation policy.'
  version: '1.0'
  contact:
    email: support@vobiz.ai
    url: https://www.vobiz.ai
servers:
- url: https://api.vobiz.ai
  description: Production
security:
- AuthID: []
  AuthToken: []
tags:
- name: Sub-Account KYC (Test Mode)
  description: Mock KYC endpoints that never call the upstream provider. Drive verified / failed / pending / error outcomes with magic inputs for integration testing.
paths:
  /api/v1/sub-accounts/test/{sub_auth_id}/kyc/verify-pan:
    post:
      operationId: mock-verify-subaccount-pan
      summary: Mock verify PAN
      description: 'Mock PAN verification — never hits the provider. Magic `pan` inputs:


        | Input | Outcome |

        |---|---|

        | `TESTSUCCESS0001` | verified |

        | `TESTFAIL0001` | failed |

        | `TESTERROR0001` | HTTP 500 |

        | `TESTPENDING001` | pending (finalize as verified) |

        | `TESTPENDING_FAIL` | pending (finalize as failed) |


        Persists a real `kyc_verifications` row and recomputes `kyc_status`.'
      tags:
      - Sub-Account KYC (Test Mode)
      parameters:
      - $ref: '#/components/parameters/SubAuthId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - pan
              properties:
                pan:
                  type: string
                  example: TESTSUCCESS0001
      responses:
        '200':
          description: Mock verification result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KycVerificationResult'
              example:
                verification_type: pan
                status: verified
                mock: true
  /api/v1/sub-accounts/test/{sub_auth_id}/kyc/verify-gst:
    post:
      operationId: mock-verify-subaccount-gst
      summary: Mock verify GST
      description: Mock GST verification. Same magic-input matrix as Mock verify PAN.
      tags:
      - Sub-Account KYC (Test Mode)
      parameters:
      - $ref: '#/components/parameters/SubAuthId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - gstin
              properties:
                gstin:
                  type: string
                  example: TESTSUCCESS0001GST
      responses:
        '200':
          description: Mock verification result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KycVerificationResult'
              example:
                verification_type: gst
                status: verified
                mock: true
  /api/v1/sub-accounts/test/{sub_auth_id}/kyc/cin/search:
    post:
      operationId: mock-search-subaccount-cin
      summary: Mock CIN search
      description: Returns deterministic fake company matches.
      tags:
      - Sub-Account KYC (Test Mode)
      parameters:
      - $ref: '#/components/parameters/SubAuthId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - company_name
              properties:
                company_name:
                  type: string
                  example: ACME
      responses:
        '200':
          description: Deterministic fake matches
          content:
            application/json:
              example:
                matches:
                - cin: U72900KA2024PTC123456
                  company_name: ACME PRIVATE LIMITED
                  status: Active
  /api/v1/sub-accounts/test/{sub_auth_id}/kyc/cin/confirm:
    post:
      operationId: mock-confirm-subaccount-cin
      summary: Mock CIN confirm
      description: Succeeds when `selected_cin` starts with `U72900KA2024PTC123456`.
      tags:
      - Sub-Account KYC (Test Mode)
      parameters:
      - $ref: '#/components/parameters/SubAuthId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - company_name
              - selected_cin
              properties:
                company_name:
                  type: string
                  example: ACME
                selected_cin:
                  type: string
                  example: U72900KA2024PTC123456
      responses:
        '200':
          description: Mock verification result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KycVerificationResult'
              example:
                verification_type: cin
                status: verified
                mock: true
  /api/v1/sub-accounts/test/{sub_auth_id}/kyc/digilocker/initiate:
    post:
      operationId: mock-subaccount-digilocker-initiate
      summary: Mock DigiLocker initiate
      description: Returns a deterministic `access_request_id`.
      tags:
      - Sub-Account KYC (Test Mode)
      parameters:
      - $ref: '#/components/parameters/SubAuthId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - redirect_url
              properties:
                redirect_url:
                  type: string
                  format: uri
                  example: https://partner.example.com/kyc/callback
      responses:
        '200':
          description: Mock DigiLocker link
          content:
            application/json:
              example:
                auth_url: https://kyc.vobiz.ai/mock/digilocker
                access_request_id: MOCK_AR_SUCCESS
  /api/v1/sub-accounts/test/{sub_auth_id}/kyc/digilocker/verify:
    post:
      operationId: mock-subaccount-digilocker-verify
      summary: Mock DigiLocker verify
      description: '`access_request_id` `MOCK_AR_SUCCESS` → verified; `MOCK_AR_FAIL` → failed.'
      tags:
      - Sub-Account KYC (Test Mode)
      parameters:
      - $ref: '#/components/parameters/SubAuthId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - access_request_id
              properties:
                access_request_id:
                  type: string
                  enum:
                  - MOCK_AR_SUCCESS
                  - MOCK_AR_FAIL
                  example: MOCK_AR_SUCCESS
      responses:
        '200':
          description: Mock verification result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KycVerificationResult'
              example:
                verification_type: aadhaar
                status: verified
                source: digilocker
                mock: true
  /api/v1/sub-accounts/test/{sub_auth_id}/kyc/finalize-pending:
    post:
      operationId: mock-finalize-pending-kyc
      summary: Mock finalize pending
      description: 'Promotes the most recent **pending** mock verification of the given

        type to a terminal outcome — this drives the async (`TESTPENDING…`)

        path without webhooks. `verification_type` ∈ `pan | aadhaar | gst | cin`;

        `outcome` ∈ `verified | failed`.'
      tags:
      - Sub-Account KYC (Test Mode)
      parameters:
      - $ref: '#/components/parameters/SubAuthId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - verification_type
              - outcome
              properties:
                verification_type:
                  type: string
                  enum:
                  - pan
                  - aadhaar
                  - gst
                  - cin
                  example: pan
                outcome:
                  type: string
                  enum:
                  - verified
                  - failed
                  example: verified
      responses:
        '200':
          description: Pending verification finalized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KycVerificationResult'
              example:
                verification_type: pan
                status: verified
                mock: true
components:
  schemas:
    KycVerificationResult:
      type: object
      description: Outcome of a single KYC verification step.
      properties:
        verification_type:
          type: string
          enum:
          - pan
          - gst
          - cin
          - aadhaar
        status:
          type: string
          enum:
          - verified
          - failed
          - pending
        kyc_calls_blocked:
          type: boolean
          description: Recomputed sub-account call-blocking state after this verification.
        mock:
          type: boolean
          description: Present and `true` on responses from the test-mode endpoints.
      required:
      - verification_type
      - status
  parameters:
    SubAuthId:
      name: sub_auth_id
      in: path
      required: true
      description: The sub-account's Auth ID.
      schema:
        type: string
        example: SA_XXXXXX
  securitySchemes:
    AuthID:
      type: apiKey
      in: header
      name: X-Auth-ID
      description: Your Vobiz account Auth ID
    AuthToken:
      type: apiKey
      in: header
      name: X-Auth-Token
      description: Your Vobiz account Auth Token
externalDocs:
  description: API versioning and deprecation policy
  url: https://www.vobiz.ai/docs/api-reference/versioning