Document Details
Submit ID proof document images and metadata as part of the KYC Reliance flow.
Call the [Identity Details API](/api/whitelabel/kyc-reliance-api/kyc-reliance-identity-details) first to initialize the KYC request, then use this endpoint to upload the user's document images.
**Supported `idType` values**
| idType | Accepted values |
|--------|----------------|
| `PASSPORT` | `passport` |
| `DRIVING_LICENCE` | `driving_licence`, `DriversLicense` |
| `ID_CARD` | `national_identity_card`, `AadharCard` |
| `PROOF_OF_RESIDENCE` | `bank_statement`, `resident_permit`, `utility_bill`, `payslip` |
| `VISA` | `visa` |
| `UNKNOWN` | Any other value not listed above |
**Image formats**
| Field | Required | Accepted formats |
|-------|----------|------------------|
| **frontImage** | Yes | `JPEG`, `PNG`, `WEBP` |
| **backImage** | Only for two-sided documents | `JPEG`, `PNG`, `WEBP` |
All images must be sent as base64-encoded data URIs.
Headers
x-user-ip
End user’s originating IP. More details here
x-api-key
Partner API Key present in Transak Dashboard.
x-access-token
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-identifier
our authenticated user Email Id address.
Note: This is applicable only for Auth Reliance Flows
Request
This endpoint expects an object.
documentProof
Response
Success — document step initialized
data
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error