Finalize Legal Person Onboarding (Step 5 - Final)
POST/v1/users/onboardings/legal-person/:id/finalize
Step 5: Finalize the onboarding process.\n\nTriggers the validation and finalization of the legal person onboarding. The system will check if all requirements are met before changing the status to IN_PROCESS.\n\nValidation Checklist:\n- [ ] Legal Person Onboarding exists and is in PENDING status\n- [ ] Company Documents Uploaded: SOCIAL_CONTRACT + (BALANCE_SHEET OR REVENUE_STATEMENT)\n- [ ] At least one Legal Representative is registered\n- [ ] Legal Representative Documents Uploaded (for ALL reps): selfie, identity_document, qualification_declaration\n\nOutcome:\n- Success: Status changes to IN_PROCESS. The compliance team will review the application.\n- Failure: Returns 422 Unprocessable Entity with details about missing documents or requirements.
Request
Path Parameters
Onboarding ID to finalize.
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.
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.
Responses
- 200
- 400
- 401
- 422
Legal person onboarding finalized. Status is IN_PROCESS after successful validation.
- application/json
- Schema
- Example (from schema)
Schema
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 validation fails (missing documents, missing legal representatives, etc.) or onboarding is in invalid status.