usingApi

Document Details

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_LICENCEdriving_licence, DriversLicense
ID_CARDnational_identity_card, AadharCard
PROOF_OF_RESIDENCEbank_statement, resident_permit, utility_bill, payslip
VISAvisa
UNKNOWNAny other value not listed above
<Note intent="info"> **idNumber** field is Optional only for `PROOF_OF_RESIDENCE` document type. For all other document types, idNumber is required. </Note>

Image formats

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

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

post/kyc/v2/reliance/document-details

Request

  • Base URL: https://api-gateway-stg.transak.com
  • URL: https://api-gateway-stg.transak.com/kyc/v2/reliance/document-details
  • Auth: none declared. Required headers: x-user-ip, x-api-key

Headers

x-user-ipstring required

End user's originating IP. More details here

x-api-keystring required

Partner API Key present in Transak Dashboard.

x-access-tokenstring

Your Partner Access Token. Please refer here for a tutorial on generating your access token.

Note: This is applicable only for Auth Reliance Flows

x-user-identifierstring

our authenticated user Email Id address.

Note: This is applicable only for Auth Reliance Flows

authorizationstring

Authorization token is the accessToken received from the API - api/v2/auth/verify

Note: This is not applicable for Auth Reliance Flows

Request body

Response

Success — document step initialized

Changes

No recorded changes to this operation across all 1 revision of this API.