---
title: "Update document"
method: PATCH
path: "/verifications/{verification-id}/documents/{document-id}"
tags: ["Documents"]
---

# Update document

`PATCH /verifications/{verification-id}/documents/{document-id}`

Updates a specific document using `multipart/form-data`.

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

## Response `200`

Successful response

- VerificationDocument
  - `id` string — dLocal document verification ID.
  - `type` string — Document type. [See details](https://docs.dlocal.com/reference/document-information#document-type).
  - `name` string — Document name. [See details](https://docs.dlocal.com/reference/document-information#document-names).
  - `reference_name` string — Reference name given by the merchant in their system.
  - `value` string — Value of the document for documents of type `FIELD`.
  - `status` string — Document status. [See details](https://docs.dlocal.com/reference/document-information#document-status).
  - `status_detail` string — Document status detail. [See details](https://docs.dlocal.com/reference/document-information#document-status-details).

## Other responses

- `400` — Bad request — invalid format or file validation error
- `401` — Unauthorized — invalid credentials
- `403` — Forbidden — authentication failed or unauthorized access
- `404` — Verification or document not found
- `500` — Internal server error

---

[API](https://skmtc.net/dlocal/apis/payins.md) · [All operations](https://skmtc.net/dlocal/apis/payins/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dlocal/payins/revisions/d87e090020f9/schema)
