Update Legal person onboarding document.
PATCH/v1/users/onboardings/legal-person/:id/documents/:doc_id
Update an existing legal person document for a legal person onboarding.
Request
Path Parameters
Legal person onboarding ID.
Legal person onboarding document ID to be updated.
Header Parameters
The transaction ID is a UUID (v4) used to uniquely identify the object that will be created. All objects must have an identifier.
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.
UUID (v4) of the product that the request should use. Send it explicitly when the authenticated user has more than one product or when the integration must select a specific product. If omitted and the endpoint does not require it, the API uses the authenticated user's default product.
UUID (v4) of the user on whose behalf the request should run within the selected product. If omitted, the request runs as the authenticated user. Requires x-product-uuid.
- multipart/form-data
Body
required
Possible values: [social_contract, balance_sheet, revenue_statement, kyc_aml_policy]
Document type (API values).
Allowed file formats: application/pdf, image/jpeg, image/jpg.
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: [social_contract, balance_sheet, revenue_statement, kyc_aml_policy]
Document type.
Document creation date.
Document update date.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"file_id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"type": "social_contract",
"created_at": "2026-03-26T14:02:59.212Z",
"updated_at": "2026-03-26T14:02:59.212Z"
}
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.