Skip to content

/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 merchant'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 merchant: 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_ALREADY_SUBMITTED. 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 onboardingId is enough to submit — keep it safe.
  • The request body is application/json: files are not sent separately — each file is base64-encoded inside the documents array and submitted together with the registration data in one call.

Endpoint ​

ItemValue
MethodPOST
Path/v3/onboarding/{onboardingId}/submit
Content-Typeapplication/json
PurposeSubmit 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.

FieldLocationTypeLengthRequiredDescription
Content-TypeHeaderstring16YesMust be application/json.
onboardingIdPathstring22YesRequisition ID.
personBodyobject-Required for PFAccount holder data — see person fields below. The CPF comes from the requisition and is not sent again. Do not send for PJ.
companyBodyobject-Required for PJCompany data — see company fields below. Do not send for PF.
partnersBodyarray-Required for PJShareholders/related persons, at least one entry — see partners fields below. Do not send for PF.
documentsBodyarray-YesFile manifest; each entry carries one file's metadata and content — see documents fields below.
acceptedTermsBodyboolean-YesConfirms that the merchant has accepted the terms; must be true.

documents fields ​

FieldTypeLengthRequiredDescription
filenamestring255YesFile name including the extension, e.g. maria-rg-front.jpg.
mime_typestring64YesFile MIME type, e.g. image/jpeg, image/png, application/pdf.
contentstring-YesFile contents, base64-encoded, without the data: prefix.
typestring32YesFile type — see the file type enum below.
idKindstring16Conditionally requiredDocument kind; required when type is ID_DOCUMENT: RG / CNH / RNE / PASSPORT.
sidestring8Conditionally requiredDocument side; required when type is ID_DOCUMENT: FRONT / BACK.
ownerCpfstring14Conditionally requiredCPF 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_SOCIAL_CONTRACT; optional for OTHER.

File type enum ​

typeBelongs toDescription
ID_DOCUMENTPersonIdentity 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.
SELFIEPersonFace photo, optional; already captured by the liveness verification.
COMPANY_SOCIAL_CONTRACTRequisitionCompany incorporation/articles document; required for PJ, not accepted for PF.
OTHERRequisition or personOther supporting files, e.g. proof of address.

idKind enum ​

ValueDescription
RGBrazilian identity card
CNHBrazilian driver's license
RNEForeigner's registry document
PASSPORTPassport

person fields ​

FieldTypeLengthRequiredDescription
namestring255YesFull name.
birthDatestring10NoDate of birth, format YYYY-MM-DD.
motherNamestring100NoMother's full name.
fatherNamestring100NoFather's full name.
rgstring20NoBrazilian identity card (RG) number.
rgIssuingAuthoritystring10NoIssuing authority of the identity card.
rgIssueStatestring2NoIssuing state of the identity card.
rgIssueDatestring10NoIssue date of the identity card, format YYYY-MM-DD.
birthPlacestring255NoCity of birth.
birthStatestring2NoState of birth.
nationalitystring50NoNationality.
emailstring255NoContact e-mail.
phoneNumberstring20NoContact phone number.

company fields ​

Every field inside company is optional; omitted fields keep the values obtained from the official registry lookup.

FieldTypeLengthRequiredDescription
officialNamestring255NoLegal name of the company.
fantasyNamestring255NoTrade name of the company.
companyEmailstring255NoCompany contact e-mail.
phoneNumberstring20NoContact phone number.
openingDatestring10NoCompany opening date, format YYYY-MM-DD.
zipCodestring10NoZip code of the company address.
statestring2NoState abbreviation of the company address.
citystring100NoCity of the company address.
streetstring255NoStreet of the company address.
neighborhoodstring100NoNeighborhood of the company address.
numberstring20NoStreet number of the company address.
complementstring100NoAddress complement, e.g. floor, unit.

partners fields ​

Each entry contains all person fields plus the following:

FieldTypeLengthRequiredDescription
cpfstring14YesPerson's CPF; formatted values are accepted, check digits are validated after stripping; must be unique within the array.
ownershipPctdecimal-YesOwnership percentage, range 0–100; the total across all persons must be exactly 100.
isLegalRepresentativeboolean-NoWhether the person is the legal representative, default false. Exactly one entry must be true, and its CPF must equal the representativeDocument sent at creation.

Request Examples ​

json
{
  "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
}
json
{
  "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 ​

FieldTypeLengthAlways returnedDescription
statusint4YesResponse code
msgstring128YesCorresponds to status
dataobject-YesOnboarding requisition object with state as PROCESSING; full fields at Get Onboarding Requisition Status.

Response Example ​

json
{
  "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:

    AppliesRuleWhen not met
    PFIncludes the account holder's ID_DOCUMENT front sideMISSING_REQUIRED_DOCUMENT
    PJEvery person has their own ID_DOCUMENT front side; one COMPANY_SOCIAL_CONTRACT is includedMISSING_REQUIRED_DOCUMENT
    PJownershipPct adds up to exactly 100OWNERSHIP_SUM_INVALID
    PJExactly one isLegalRepresentative is true, and its CPF equals the representativeDocument sent at creationREPRESENTATIVE_MISMATCH
    Alldocuments[].filename, mime_type, and content are all present and content is valid base64 (without the data: prefix); the idKind, side, and ownerCpf combination matches the file type requirements1004 validation failed
    Allperson or company + partners sent per onboarding type, acceptedTerms is true1004 validation failed
    AllEach 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 decodingFILE_TOO_LARGE
    AllFiles are not empty, of supported types, and parseableFILE_INVALID
  • Failed 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_ALREADY_SUBMITTED 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.

  • State precondition: when the liveness has not passed yet (state is AWAITING_LIVENESS, LIVENESS_FAILED, or LIVENESS_EXPIRED) or the requisition has expired, INVALID_STATE is returned; when the form has already been submitted, FORM_ALREADY_SUBMITTED is returned.

  • state is read-only: there is no state field in the request, and no other endpoint can modify it; state changes 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