> ## Documentation Index
> Fetch the complete documentation index at: https://docs.byzantine.fi/llms.txt
> Use this file to discover all available pages before exploring further.

# Initialize a verification session

> Hand the KYC or KYB of an account over to the Sumsub Web SDK, so the customer provides what the
API submission did not cover (identity document, selfie, proof of address, company documents...)
and answers the remaining questionnaires. Data already submitted through `create-*-account`,
`update-*-account` or `add-associated-person` is kept and not asked again.

Call it after `create-individual-account` or `create-entity-account`. Without `beneficiaryId`
the session verifies the account owner (individual) or the entity; with it, the beneficiary or
representative of an entity account. Beneficiaries a company declares in the Web SDK are created
by Byzantine and announced through a `customer.*` event carrying their `beneficiaryId`.

`mode` selects the return value: `link`, a page hosted by Sumsub valid 24 hours, or
`access_token`, a 10-minute token for a Web SDK embedded in your frontend, to renew through the
SDK refresh callback by calling this endpoint again. The link and the token are not stored.
Progress is reported through the `customer.*` events and the `get-*-details` endpoints.



## OpenAPI

````yaml /api-reference/openapi-integrator.json post /v1/submit/init-verification
openapi: 3.0.3
info:
  title: Byzantine Integrator API
  description: Byzantine REST API for integrators.
  license:
    name: ''
  version: 0.2.0
servers:
  - url: https://api.byzantine.fi
    description: Prod deployment
security: []
tags:
  - name: API health
    description: Check API status.
  - name: Customer management
    description: Endpoints to create, update, and retrieve customer information.
  - name: Account management
    description: Endpoints to manage accounts, bank accounts, invitations, and user roles.
  - name: Products
    description: Endpoints to get data about products and vaults.
  - name: Transactions
    description: Endpoints to create and manage transactions.
  - name: OTP authentication
    description: Endpoints to initialize and manage user authentication with OTP.
  - name: Events
    description: Endpoints to list lifecycle events.
  - name: Webhooks
    description: Integrator-managed outbound webhook subscriptions and delivery history.
  - name: Integrator key management
    description: >-
      Endpoints to inspect the current integrator credential scope, create,
      update and delete integrator keys.
paths:
  /v1/submit/init-verification:
    post:
      tags:
        - Customer management
      summary: Initialize a verification session
      description: >-
        Hand the KYC or KYB of an account over to the Sumsub Web SDK, so the
        customer provides what the

        API submission did not cover (identity document, selfie, proof of
        address, company documents...)

        and answers the remaining questionnaires. Data already submitted through
        `create-*-account`,

        `update-*-account` or `add-associated-person` is kept and not asked
        again.


        Call it after `create-individual-account` or `create-entity-account`.
        Without `beneficiaryId`

        the session verifies the account owner (individual) or the entity; with
        it, the beneficiary or

        representative of an entity account. Beneficiaries a company declares in
        the Web SDK are created

        by Byzantine and announced through a `customer.*` event carrying their
        `beneficiaryId`.


        `mode` selects the return value: `link`, a page hosted by Sumsub valid
        24 hours, or

        `access_token`, a 10-minute token for a Web SDK embedded in your
        frontend, to renew through the

        SDK refresh callback by calling this endpoint again. The link and the
        token are not stored.

        Progress is reported through the `customer.*` events and the
        `get-*-details` endpoints.
      operationId: init_verification
      parameters:
        - name: X-Pubkey
          in: header
          description: >-
            Integrator's ECDSA public key (P-256 curve, compressed SEC1 format).
            Example:
            0x038fedef7c12f93bbf342ad8943b7a825a3b41f61c9dc118b2c718efebabbf62fd
          required: true
          schema:
            type: string
        - name: X-Timestamp
          in: header
          description: >-
            Unix timestamp in seconds (UTC). Must be within tolerance window (1
            minute) to prevent replay attacks. Example: 1760375826
          required: true
          schema:
            type: string
        - name: X-Signature
          in: header
          description: >-
            ECDSA signature (DER-encoded, hex with 0x prefix). Signs the
            message: `{timestamp}{METHOD}{path_and_query}{json_body}`. Example:
            0x3045022100...
          required: true
          schema:
            type: string
      requestBody:
        description: >-
          Account (and optionally beneficiary) to verify, and how to show the
          Web SDK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InitVerificationRequest'
        required: true
      responses:
        '200':
          description: Verification session opened
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InitVerificationResponse'
        '400':
          description: >-
            Invalid request payload - Link options sent in access_token mode,
            invalid language or redirect URL, beneficiaryId on an individual
            account
        '401':
          description: >-
            Unauthorized - Invalid credential or signature, or the account has
            no verification started
        '403':
          description: Forbidden - Read-only credentials cannot open a verification session
        '404':
          description: Account or beneficiary not found
        '409':
          description: >-
            Conflict - The verification is already approved, finally rejected or
            under review
        '500':
          description: Internal server error
      security:
        - integrator_auth: []
components:
  schemas:
    InitVerificationRequest:
      type: object
      required:
        - accountId
        - mode
      properties:
        accountId:
          $ref: '#/components/schemas/Uuid'
        beneficiaryId:
          allOf:
            - $ref: '#/components/schemas/Uuid'
          nullable: true
        mode:
          $ref: '#/components/schemas/VerificationSessionMode'
        language:
          type: string
          description: >-
            ISO 639-1 language of the Web SDK, optionally with a region (`en`,
            `fr`, `pt-BR`). `link` only; the embedded SDK is

            configured by the integrator's frontend.
          example: en
          nullable: true
        successUrl:
          type: string
          description: >-
            HTTPS page the customer is sent to after submitting the
            verification. `link` only.
          example: https://app.example.com/kyc/done
          nullable: true
        rejectUrl:
          type: string
          description: >-
            HTTPS page the customer is sent to when the verification is refused.
            `link` only.
          example: https://app.example.com/kyc/refused
          nullable: true
    InitVerificationResponse:
      type: object
      description: >-
        Response body of `init-verification`. Exactly one of `verificationUrl`
        and `accessToken` is set,

        according to `mode`. Neither is stored by Byzantine: call the endpoint
        again for a new one.
      required:
        - accountId
        - mode
        - expiresAt
        - verificationStatus
      properties:
        accountId:
          $ref: '#/components/schemas/Uuid'
        beneficiaryId:
          allOf:
            - $ref: '#/components/schemas/Uuid'
          nullable: true
        mode:
          $ref: '#/components/schemas/VerificationSessionMode'
        verificationUrl:
          type: string
          description: Hosted Web SDK page, `link` mode only.
          example: https://in.sumsub.com/websdk/p/sbx_uni_...
          nullable: true
        accessToken:
          type: string
          description: >-
            Token for `snsWebSdk.init(accessToken, refreshCallback)`,
            `access_token` mode only.
          nullable: true
        expiresAt:
          type: string
          format: date-time
          description: >-
            When the link or token stops opening a session. A session already
            open is not interrupted.
        verificationStatus:
          $ref: '#/components/schemas/VerificationStatus'
    Uuid:
      type: string
      format: uuid
      description: A UUID string
      example: 550e8400-e29b-41d4-a716-446655440000
    VerificationSessionMode:
      type: string
      description: How the integrator shows the Web SDK to its customer.
      enum:
        - link
        - access_token
    VerificationStatus:
      type: string
      description: The identity verification status of the user.
      enum:
        - not_started
        - init
        - under_review
        - awaiting_associated_person_information
        - awaiting_information
        - resubmission_requested
        - active
        - rejected
        - inactive
      example: active
  securitySchemes:
    integrator_auth:
      type: apiKey
      in: header
      name: X-Pubkey, X-Timestamp, X-Signature

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.