Create Legal Person Onboarding (Step 1 of 5)
POST/v1/users/onboardings/legal-person
Step 1: Create the legal person onboarding. This is the first step in the legal person (PJ) onboarding flow. After creating, the status will be PENDING until all steps are completed.
Complete onboarding flow:
POST /legal-person- Create onboarding (this endpoint)POST /legal-representative- Add legal representatives (partners/administrators)POST /legal-representative/{id}/documents- Upload representative documents (selfie, identity, qualification)POST /legal-person/{id}/documents- Upload company documents (social_contract + balance_sheet OR revenue_statement)POST /legal-person/{id}/finalize- Finalize onboarding (status changes toIN_PROCESS)
Request
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.
- application/json
Body
required
address objectrequired
User address zip code.
User address street.
User address number.
User address neighborhood.
User address neighborhood.
User address federative unit.
User address country.
User address complement.
Legal person annual revenue in R$ cents.
Responses
- 201
- 400
- 401
- 403
- 409
- 422
Legal person onboarding created successfully. Status is PENDING. Proceed to add legal representatives.
- application/json
- Schema
- Example (from schema)
Schema
Onboarding ID.
Possible values: [pending, finished, failed, expired]
Onboarding Status. The status will be PENDING until the corporate structure (quadro societário) is completed.
Onboarding Created at.
{
"id": "8fc58500-b12e-49d7-892c-dfd704b94c2d",
"status": "pending",
"created_at": "2025-12-12T22:44:47.972Z"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If the authenticated user does not have permission.
If an active onboarding already exists for this user.
If any required params are missing or has invalid format or type.