Skip to navigation

Biometrics Details

View as Markdown

Submit the user’s biometric media for the KYC Reliance biometric step. At least one of selfie or liveness must be provided — both are accepted but neither is individually required.

Complete the Identity Details and Document Details steps before calling this endpoint.

FieldRequiredAccepted formatsMax size
selfieAt least one of selfie or livenessJPEG, PNG, WEBPApproximately 5 MB after decoding
livenessAt least one of selfie or livenessMP4Approximately 20 MB after decoding

Authentication: use either Transak Auth, which sends the user’s authorization token, or Partner Auth (Auth Reliance), which sends x-access-token and x-user-identifier. Do not send both. See the headers below.

Headers

x-user-ipstringRequired

End user’s originating IP. More details here

x-api-keystringRequired
Partner API Key present in Transak Dashboard.
authorizationstringOptional

Transak Auth. The user’s accessToken from Transak’s OTP login, returned by the Verify User OTP API (/api/v2/auth/verify). Send the token on its own, with no Bearer prefix. It is valid for 30 days. Call the Refresh User Access Token API before it expires. Do not send x-access-token or x-user-identifier with it.

x-access-tokenstringOptional

Partner Auth (Auth Reliance). Your Partner Access Token, valid for 7 days. Send it with x-user-identifier, and do not send authorization. See Auth Reliance Flows and how to create a Partner Access Token.

x-user-identifierstringOptional

Partner Auth (Auth Reliance). The email address of the user you authenticated. Send it with x-access-token.

Request

This endpoint expects an object.
selfiestringOptional

Selfie image as a base64-encoded data URI.
Supported formats: JPEG, PNG, WEBP.
Maximum size approximately 5 MB after decoding.

livenessstringOptional

Liveness video as a base64-encoded data URI.
Supported format: MP4 only.
Maximum size approximately 20 MB after decoding.

Response

Success — biometrics processed

dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
413
Content Too Large Error
500
Internal Server Error
503
Service Unavailable Error