Update Legal person onboarding document.
PATCH/v1/users/onboardings/legal-person/:id/documents/:doc_id
Update an existing onboarding document for a legal person.
Request
Path Parameters
Onboarding ID.
Legal person onboarding document ID to be updated.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR, en-US]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
- multipart/form-data
Body
required
Possible values: [contrato_social, balanco_patrimonial, declaracao_faturamento, politica_kyc_pld]
Document type. Possible values: contrato_social, balanco_patrimonial, declaracao_faturamento, politica_kyc_pld.
Allowed file formats: application/pdf, image/jpeg, image/jpg, image/png.
Responses
- 200
- 400
- 401
- 403
- 422
The legal person onboarding document updated successfully.
- application/json
- Schema
- Example (from schema)
Schema
Legal person onboarding document ID.
File ID.
Possible values: [contrato_social, balanco_patrimonial, declaracao_faturamento, politica_kyc_pld]
Document type.
Document creation date.
Document update date.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"file_id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"type": "contrato_social",
"created_at": "2025-12-12T22:44:48.062Z",
"updated_at": "2025-12-12T22:44:48.062Z"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If the authenticated user does not have permission.
If any required params are missing or has invalid format or type.