Finalize Legal Person Onboarding
POST/v1/users/onboardings/legal-person/:id/finalize
Triggers validation and finalization of legal person onboarding.
Legal person onboarding exists and is in
PENDINGstatusShareholders created for the legal person flow via
POST /users/shareholdersLegal person documents uploaded:
social_contract+ (balance_sheetORrevenue_statement)At least one active legal representative is registered
Each legal representative is linked to a shareholder (via
shareholder_id)Legal representative documents uploaded for all active representatives:
selfie,identity_documentfamily,qualification_declarationSuccessful synchronous response is
IN_PROCESSTerminal onboarding result is asynchronous
On
422, handle the returned business code. Common cases:ONBOARDING_INVALID_STATUS,SHAREHOLDERS_REQUIRED,ONBOARDING_DOCUMENTS_MISSING,LEGAL_REPRESENTATIVE_DOCUMENTS_MISSING,SHAREHOLDER_MISSING_LEGAL_REPRESENTATIVES
Request
Path Parameters
Legal person onboarding ID to finalize.
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.
Responses
- 200
- 400
- 401
- 403
- 422
Legal person onboarding submitted for review. Status is IN_PROCESS after successful validation.
- 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. Status will be IN_PROCESS after successful finalization.
{
"id": "8fc58500-b12e-49d7-892c-dfd704b94c2d",
"status": "in_process"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If the authenticated user does not have permission.
If validation fails or onboarding is in invalid status. The response includes the business code to handle.