v1

latestOpenAPI 3.0.02026-07-224537337.5 KB

Upload Document

Upload a document for a customer.

post/v2/document

Response

OR
OR
OR
OR
OR

Example response

{
  "id": "documentFile_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6",
  "targetId": "customer_66c4168d418a410eae282b83883bdc39",
  "createdAt": "2025-12-31T10:30:00.000Z",
  "fileName": "passport_front_20250101.pdf",
  "fileSize": 2048576,
  "mimeType": "application/pdf",
  "description": "Passport photo page",
  "target": "customer",
  "documentType": "passport",
  "country": "USA",
  "side": "front"
}