front, back) and attach them to a Primary Customer record.
The request is multipart/form-data and includes:
- front (required): front image file.
- back (optional): back image file.
- document (required): JSON metadata describing the document.
Document Type Values
The fielddocument.type must be one of the following values:
NATIONAL_IDPASSPORTDRIVING_LICENSEOTHERS
How to Retrieve Customer IDs
You’ll need identifiers to call these endpoints:-
customerId(Primary Customer):- Returned in the response when you create a customer, or
- Retrieve via search → Step 3b — Get a Single Primary Customer
-
customerId(CRP under a Primary Customer):- Returned in the response when you create as a CRP, or
- Listed under the customer’s CRPs → Step 3c — Get CRPs of a Customer
Example Requests
Primary Customer — with only front and document
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
X-Domain-ID
Path Parameters
customerId
Body
multipart/form-data
Response
Document uploaded successfully
