Skip to main content
POST
Initialize a verification session

Authorizations

X-Pubkey, X-Timestamp, X-Signature
string
header
required

Headers

X-Pubkey
string
required

Integrator's ECDSA public key (P-256 curve, compressed SEC1 format). Example: 0x038fedef7c12f93bbf342ad8943b7a825a3b41f61c9dc118b2c718efebabbf62fd

X-Timestamp
string
required

Unix timestamp in seconds (UTC). Must be within tolerance window (1 minute) to prevent replay attacks. Example: 1760375826

X-Signature
string
required

ECDSA signature (DER-encoded, hex with 0x prefix). Signs the message: {timestamp}{METHOD}{path_and_query}{json_body}. Example: 0x3045022100...

Body

application/json

Account (and optionally beneficiary) to verify, and how to show the Web SDK

accountId
string<uuid>
required

A UUID string

Example:

"550e8400-e29b-41d4-a716-446655440000"

mode
enum<string>
required

How the integrator shows the Web SDK to its customer.

Available options:
link,
access_token
beneficiaryId
string<uuid> | null

A UUID string

Example:

"550e8400-e29b-41d4-a716-446655440000"

language
string | null

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"

successUrl
string | null

HTTPS page the customer is sent to after submitting the verification. link only.

Example:

"https://app.example.com/kyc/done"

rejectUrl
string | null

HTTPS page the customer is sent to when the verification is refused. link only.

Example:

"https://app.example.com/kyc/refused"

Response

Verification session opened

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.

accountId
string<uuid>
required

A UUID string

Example:

"550e8400-e29b-41d4-a716-446655440000"

mode
enum<string>
required

How the integrator shows the Web SDK to its customer.

Available options:
link,
access_token
expiresAt
string<date-time>
required

When the link or token stops opening a session. A session already open is not interrupted.

verificationStatus
enum<string>
required

The identity verification status of the user.

Available options:
not_started,
init,
under_review,
awaiting_associated_person_information,
awaiting_information,
resubmission_requested,
active,
rejected,
inactive
Example:

"active"

beneficiaryId
string<uuid> | null

A UUID string

Example:

"550e8400-e29b-41d4-a716-446655440000"

verificationUrl
string | null

Hosted Web SDK page, link mode only.

Example:

"https://in.sumsub.com/websdk/p/sbx_uni_..."

accessToken
string | null

Token for snsWebSdk.init(accessToken, refreshCallback), access_token mode only.