/v3/onboarding/{onboardingId}/submit Submit Onboarding Form
Background
/v3/onboarding/{onboardingId}/submit is the action endpoint that advances the onboarding flow: it submits the registration data collected by the partner's own form and all document files in one call. It can be called only while state is AWAITING_FORM.
The call triggers the back-office review and changes the requisition state — it is an action, not a field update. state is maintained by the server and read-only for the partner: no request can set state directly; once the validation passes, the server moves state from AWAITING_FORM to PROCESSING.
PROCESSING only means the data has entered the review — it does not mean approval; the final outcome is APPROVED or REJECTED. Each requisition can be successfully submitted only once: after the submission is accepted, it cannot be submitted again even if the data turns out to be wrong — calling again returns FORM_. Confirm the data and files are complete and correct before submitting.
Integration Specifications
- This endpoint requires no authentication headers: during onboarding, no public key has been uploaded to the platform yet. Holding the
onboardingIdis enough to submit — keep it safe. - The request body is
application/json: files are not sent separately — each file is base64-encoded inside thedocumentsarray and submitted together with the registration data in one call.
Endpoint
| Item | Value |
|---|---|
| Method | POST |
| Path | /v3/onboarding/{onboardingId}/submit |
| Content-Type | application/json |
| Purpose | Submit the registration data and files; the requisition enters review |
Request Fields
The request body is a single JSON document: the registration data and the file contents (base64-encoded) are submitted in one call; files are not sent as separate parts.
| Field | Location | Type | Length | Required | Description |
|---|---|---|---|---|---|
Content-Type | Header | string | 16 | Yes | Must be application/json. |
onboardingId | Path | string | 22 | Yes | Requisition ID. |
person | Body | object | - | Required for PF | Account holder data — see person fields below. The CPF comes from the requisition and is not sent again. Do not send for PJ. |
company | Body | object | - | Required for PJ | Company data — see company fields below. Do not send for PF. |
partners | Body | array | - | Required for PJ | Shareholders/related persons, at least one entry — see partners fields below. Do not send for PF. |
documents | Body | array | - | Yes | File manifest; each entry carries one file's metadata and content — see documents fields below. |
acceptedTerms | Body | boolean | - | Yes | Confirms that the partner has accepted the terms; must be true. |
documents fields
| Field | Type | Length | Required | Description |
|---|---|---|---|---|
filename | string | 255 | Yes | File name including the extension, e.g. maria-rg-front.jpg. |
mime_type | string | 64 | Yes | File MIME type, e.g. image/jpeg, image/png, application/pdf. |
content | string | - | Yes | File contents, base64-encoded, without the data: prefix. |
type | string | 32 | Yes | File type — see the file type enum below. |
idKind | string | 16 | Conditionally required | Document kind; required when type is ID_DOCUMENT: RG / CNH / RNE / PASSPORT. |
side | string | 8 | Conditionally required | Document side; required when type is ID_DOCUMENT: FRONT / BACK. |
ownerCpf | string | 14 | Conditionally required | CPF of the person the file belongs to; formatted values are accepted. Required for ID_DOCUMENT and SELFIE of a PJ, and must be a person in partners; for PF do not send — files belong to the account holder; do not send for COMPANY_; optional for OTHER. |
File type enum
type | Belongs to | Description |
|---|---|---|
ID_DOCUMENT | Person | Identity document; idKind and side are both required. Every person must have a front side; single-sided documents (e.g. the digital driver's license, a passport) have no back. |
SELFIE | Person | Face photo, optional; already captured by the liveness verification. |
COMPANY_ | Requisition | Company incorporation/articles document; required for PJ, not accepted for PF. |
OTHER | Requisition or person | Other supporting files, e.g. proof of address. |
idKind enum
| Value | Description |
|---|---|
RG | Brazilian identity card |
CNH | Brazilian driver's license |
RNE | Foreigner's registry document |
PASSPORT | Passport |
person fields
| Field | Type | Length | Required | Description |
|---|---|---|---|---|
name | string | 255 | Yes | Full name. |
birthDate | string | 10 | No | Date of birth, format YYYY-MM-DD. |
motherName | string | 100 | No | Mother's full name. |
fatherName | string | 100 | No | Father's full name. |
rg | string | 20 | No | Brazilian identity card (RG) number. |
rg | string | 10 | No | Issuing authority of the identity card. |
rgIssueState | string | 2 | No | Issuing state of the identity card. |
rgIssueDate | string | 10 | No | Issue date of the identity card, format YYYY-MM-DD. |
birthPlace | string | 255 | No | City of birth. |
birthState | string | 2 | No | State of birth. |
nationality | string | 50 | No | Nationality. |
email | string | 255 | No | Contact e-mail. |
phoneNumber | string | 20 | No | Contact phone number. |
company fields
Every field inside company is optional; omitted fields keep the values obtained from the official registry lookup.
| Field | Type | Length | Required | Description |
|---|---|---|---|---|
officialName | string | 255 | No | Legal name of the company. |
fantasyName | string | 255 | No | Trade name of the company. |
companyEmail | string | 255 | No | Company contact e-mail. |
phoneNumber | string | 20 | No | Contact phone number. |
openingDate | string | 10 | No | Company opening date, format YYYY-MM-DD. |
zipCode | string | 10 | No | Zip code of the company address. |
state | string | 2 | No | State abbreviation of the company address. |
city | string | 100 | No | City of the company address. |
street | string | 255 | No | Street of the company address. |
neighborhood | string | 100 | No | Neighborhood of the company address. |
number | string | 20 | No | Street number of the company address. |
complement | string | 100 | No | Address complement, e.g. floor, unit. |
partners fields
Each entry contains all person fields plus the following:
| Field | Type | Length | Required | Description |
|---|---|---|---|---|
cpf | string | 14 | Yes | Person's CPF; formatted values are accepted, check digits are validated after stripping; must be unique within the array. |
ownershipPct | decimal | - | Yes | Ownership percentage, range 0–100; the total across all persons must be exactly 100. |
is | boolean | - | No | Whether the person is the legal representative, default false. Exactly one entry must be true, and its CPF must equal the representative sent at creation. |
Request Examples
{
"person": {
"name": "Maria Santos",
"birthDate": "1990-04-18",
"motherName": "Ana Santos",
"rg": "123456789",
"rgIssuingAuthority": "SSP",
"rgIssueState": "SP",
"nationality": "Brazilian",
"email": "maria.santos@example.com",
"phoneNumber": "11988887777"
},
"documents": [
{ "type": "ID_DOCUMENT", "idKind": "RG", "side": "FRONT", "filename": "maria-rg-front.jpg", "mime_type": "image/jpeg", "content": "<base64>" },
{ "type": "ID_DOCUMENT", "idKind": "RG", "side": "BACK", "filename": "maria-rg-back.jpg", "mime_type": "image/jpeg", "content": "<base64>" }
],
"acceptedTerms": true
}{
"company": {
"officialName": "Example Company LTDA",
"fantasyName": "Example Company",
"companyEmail": "finance@example.com",
"phoneNumber": "11999998888",
"zipCode": "01310100",
"state": "SP",
"city": "Sao Paulo",
"street": "Avenida Paulista",
"neighborhood": "Bela Vista",
"number": "1000",
"complement": "12th floor"
},
"partners": [
{
"name": "Joao da Silva",
"cpf": "111.444.777-35",
"birthDate": "1988-07-21",
"motherName": "Maria da Silva",
"email": "joao.silva@example.com",
"ownershipPct": 60,
"isLegalRepresentative": true
},
{
"name": "Ana Souza",
"cpf": "529.982.247-25",
"birthDate": "1991-11-02",
"ownershipPct": 40,
"isLegalRepresentative": false
}
],
"documents": [
{ "type": "ID_DOCUMENT", "idKind": "CNH", "side": "FRONT", "ownerCpf": "111.444.777-35", "filename": "joao-cnh-front.jpg", "mime_type": "image/jpeg", "content": "<base64>" },
{ "type": "ID_DOCUMENT", "idKind": "RG", "side": "FRONT", "ownerCpf": "529.982.247-25", "filename": "ana-rg-front.jpg", "mime_type": "image/jpeg", "content": "<base64>" },
{ "type": "ID_DOCUMENT", "idKind": "RG", "side": "BACK", "ownerCpf": "529.982.247-25", "filename": "ana-rg-back.jpg", "mime_type": "image/jpeg", "content": "<base64>" },
{ "type": "COMPANY_SOCIAL_CONTRACT", "filename": "social-contract.pdf", "mime_type": "application/pdf", "content": "<base64>" }
],
"acceptedTerms": true
}content is the base64 string of the file contents without the data: prefix; omitted as <base64> in the examples.
Response Fields
| Field | Type | Length | Always returned | Description |
|---|---|---|---|---|
status | int | 4 | Yes | Response code |
msg | string | 128 | Yes | Corresponds to status |
data | object | - | Yes | Onboarding requisition object with state as PROCESSING; full fields at Get Onboarding Requisition Status. |
Response Example
{
"status": 200,
"msg": "sucesso",
"data": {
"onboardingId": "SCM968p7SzK-WXY9QBzDnA",
"onboardingType": "PF",
"documentLegalId": "12345678909",
"representativeDocument": null,
"state": "PROCESSING",
"reason": null,
"livenessUrl": null,
"livenessAttemptsLeft": 2,
"company": null,
"expiresAt": null,
"submittedAt": "2026-10-12T10:20:00Z",
"decidedAt": null,
"updatedAt": "2026-10-12T10:20:00Z"
}
}Response Error Codes
Business rules:
Validation rules:
Applies Rule When not met PF Includes the account holder's ID_DOCUMENTfront sideMISSING_REQUIRED_ DOCUMENT PJ Every person has their own ID_DOCUMENTfront side; oneCOMPANY_is includedSOCIAL_ CONTRACT MISSING_REQUIRED_ DOCUMENT PJ ownershipPctadds up to exactly 100OWNERSHIP_SUM_ INVALID PJ Exactly one isisLegal Representative true, and its CPF equals therepresentativesent at creationDocument REPRESENTATIVE_MISMATCH All documents[].,filename mime_type, andcontentare all present andcontentis valid base64 (without thedata:prefix); theidKind,side, andownerCpfcombination matches the file type requirements1004validation failedAll personorcompany+partnerssent per onboarding type,acceptedTermsistrue1004validation failedAll Each file must not exceed 8 MB (8,388,608 bytes) and one submission must not exceed 25 MB (26,214,400 bytes) in total, both measured after base64 decoding FILE_TOO_LARGEAll Files are not empty, of supported types, and parseable FILE_INVALIDFailed validation: when any rule fails, nothing is saved and the requisition stays
AWAITING_FORM; fix the problems and submit again.One successful submission only: after a submission is accepted, calling again returns
FORM_regardless of the content, even if the first submission had mistakes. Receiving this error means the data was already accepted (common when retrying after a submission timeout) — query the requisition status to track the review.ALREADY_ SUBMITTED State precondition: when the liveness has not passed yet (
stateisAWAITING_,LIVENESS LIVENESS_FAILED, orLIVENESS_) or the requisition has expired,EXPIRED INVALID_STATEis returned; when the form has already been submitted,FORM_is returned.ALREADY_ SUBMITTED stateis read-only: there is nostatefield in the request, and no other endpoint can modify it;statechanges only as the outcome of action endpoints like this one, updated by the server.File size: compress or downscale images in your app before submitting; photos from modern phones easily exceed 8 MB each on their own.
Back to Onboarding API Overview