v1

latestOpenAPI 3.1.02026-07-245361280.3 KB
Documents

Update document

Updates a specific document using multipart/form-data.

Allowed only when document status is PENDING. After COMPLETED, ERROR, or APPROVED, PATCH updates are rejected.

patch/verifications/{verification-id}/documents/{document-id}

Response

Successful response

idstring

dLocal document verification ID.

typestring

Document type. See details.

namestring

Document name. See details.

reference_namestring

Reference name given by the merchant in their system.

valuestring

Value of the document for documents of type FIELD.

statusstring

Document status. See details.

status_detailstring

Document status detail. See details.

Example response

{
  "id": "VD-61e2877d-a7e7-4214-8aa7-fdf0aa6538d5",
  "type": "DOCUMENT",
  "name": "DOCUMENT_FRONT",
  "reference_name": "customer-copy-of-id-front",
  "value": "John Doe",
  "status": "PENDING",
  "status_detail": "PENDING"
}