Skip to navigation

Document Details

View as Markdown

Submit ID proof document images and metadata as part of the KYC Reliance flow.

Call the Identity Details API first to initialize the KYC request, then use this endpoint to upload the user’s document images.

Supported idType values

idTypeAccepted values
PASSPORTpassport
DRIVING_LICENSEdriving_licence, DriversLicense
ID_CARDnational_identity_card
PROOF_OF_RESIDENCEbank_statement, resident_permit, utility_bill, payslip
VISAvisa
UNKNOWNAny other value not listed above

idNumber field is Optional only for PROOF_OF_RESIDENCE document type. For all other document types, idNumber is required.

EEA users: driving licences are not accepted. Send a passport, or an EU/EEA national ID card for EEA nationals. Non-EEA nationals must send a passport. See MiCA Changes for EEA Users.

Image formats

FieldRequiredAccepted formats
frontImageYesJPEG, PNG, WEBP
backImageOnly for two-sided documentsJPEG, PNG, WEBP

All images must be sent as base64-encoded data URIs.

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.
documentProofobjectRequired

Response

Success — document step initialized

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