Upload Legal Person Onboarding Document
POST/v1/users/onboardings/legal-person/:id/documents
Uploads one legal person document per request for legal person onboarding (max size: 10 MB).
This endpoint only stores the selected legal person document; finalize enforces the full onboarding rules.
Accepted document types for this endpoint (API values):
social_contractbalance_sheetrevenue_statementkyc_aml_policy
Required for finalize:
social_contract- At least one of
balance_sheetorrevenue_statement
kyc_aml_policy is accepted here, but it is not required for finalize.
Related endpoint: POST /users/onboardings/legal-person/{id}/finalize.
Request
Path Parameters
Legal person onboarding ID.
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.
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: image/jpg, image/jpeg, application/pdf.
Responses
- 201
- 400
- 401
- 403
- 422
The onboarding document uploaded successfully.
- application/json
- Schema
- Example (from schema)
Schema
Legal person onboarding ID.
Possible values: [pending, invalid, in_process, approved, rejected, finished, expired, failed, in_process_delayed]
Onboarding status.
Onboarding creation date.
Onboarding update date.
Legal person document ID created by this upload.
File ID associated with the uploaded onboarding document.
Possible values: [social_contract, balance_sheet, revenue_statement, kyc_aml_policy]
Document type.
Onboarding document creation date.
Onboarding document update date.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"status": "pending",
"created_at": "2026-03-26T14:02:59.210Z",
"updated_at": "2026-03-26T14:02:59.210Z",
"document_id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"file_id": "151cddb6-1b0d-4a8c-bd21-e3bcf8b63226",
"document_type": "social_contract",
"document_created_at": "2026-03-26T14:02:59.210Z",
"document_updated_at": "2026-03-26T14:02:59.210Z"
}
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.