/v3/onboarding/form Create Onboarding Requisition
Background
/v3/onboarding/form is the first step of the onboarding flow: it creates an onboarding requisition for an individual (PF) or a company (PJ). On success it returns the requisition ID onboardingId and the liveness link livenessUrl; every later call — status query, submission, and retry — uses this ID. See Onboarding API Overview for the full flow.
Each document can have only one in-progress requisition at a time. When an in-progress requisition already exists for the document, this endpoint returns ACTIVE_ and does not return the ID. onboardingId is returned only when the requisition is first created successfully — save it immediately.
Integration Specifications
- This endpoint requires no authentication headers: during onboarding, no public key has been uploaded to the platform yet.
Endpoint
| Item | Value |
|---|---|
| Method | POST |
| Path | /v3/onboarding/form |
| Content-Type | application/json |
| Purpose | Create an onboarding requisition |
Request Fields
| Field | Location | Type | Length | Required | Description |
|---|---|---|---|---|---|
Content-Type | Header | string | 16 | Yes | Must be application/json. |
documentLegalId | Body | string | 18 | Yes | Individual CPF or company CNPJ; formatted values are accepted (e.g. 123.456.789-09) — dots, slashes, and hyphens are stripped and check digits are validated before processing. Must be sent as a JSON string so that documents starting with 0 do not lose their leading zeros. |
email | Body | string | 255 | Yes | Contact e-mail, stored lowercase. |
onboardingType | Body | string | 2 | Yes | PF for individuals — the document must be a valid CPF; PJ for companies — the document must be a valid CNPJ. |
representative | Body | string | 14 | Required for PJ | CPF of the legal representative; formatted values are accepted. That person must complete the liveness verification in person. Do not send for PF. |
whitelabelSigla | Body | string | 50 | No | White-label brand code; must be an existing brand. When omitted, the default brand is used. |
returnUrl | Body | string | 255 | No | Address the liveness page redirects back to once the verification is completed. |
onboardingType Enum
| Value | Description |
|---|---|
PF | Individual onboarding, using a CPF. |
PJ | Company onboarding, using a CNPJ; representative is required. |
Request Examples
Individual (PF):
POST /v3/onboarding/form HTTP/1.1
Content-Type: application/json
{
"documentLegalId": "123.456.789-09",
"email": "maria.santos@example.com",
"onboardingType": "PF",
"returnUrl": "https://merchant.example.com/onboarding/done"
}Company (PJ):
POST /v3/onboarding/form HTTP/1.1
Content-Type: application/json
{
"documentLegalId": "11.222.333/0001-81",
"email": "financeiro@example.com",
"onboardingType": "PJ",
"representativeDocument": "111.444.777-35",
"returnUrl": "https://merchant.example.com/onboarding/done"
}Response Fields
data is the onboarding requisition object, exactly the same structure as returned by Get Onboarding Requisition Status. At creation, focus on the following 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; full fields at Get Onboarding Requisition Status. |
data. | string | 22 | Yes | Requisition ID, a case-sensitive 22-character string. Returned only when the requisition is first created successfully — save it immediately; every later endpoint uses it. |
data. | string | 32 | Yes | AWAITING_ for a new requisition. |
data. | string | 255 | No | Liveness link; present when the state is AWAITING_ or LIVENESS_FAILED, valid until expiresAt; once expired, call Retry Liveness Verification to get a new link. |
data. | int | 1 | Yes | Liveness attempts left; 3 for a new requisition. |
data. | string | 20 | No | Deadline of the action currently being waited on, ISO 8601 UTC (YYYY-MM-DDTHH:MM:SSZ). For a new requisition it is the livenessUrl validity; if it passes without the liveness completed, the requisition moves to LIVENESS_. |
Response Example
{
"status": 200,
"msg": "sucesso",
"data": {
"onboardingId": "SCM968p7SzK-WXY9QBzDnA",
"onboardingType": "PF",
"documentLegalId": "12345678909",
"representativeDocument": null,
"state": "AWAITING_LIVENESS",
"reason": null,
"livenessUrl": "https://onboarding.adopay.example/l/Zx81Qp",
"livenessAttemptsLeft": 3,
"company": null,
"expiresAt": "2026-10-19T09:00:00Z",
"submittedAt": null,
"decidedAt": null,
"updatedAt": "2026-10-12T09:00:00Z"
}
}Response Error Codes
Business rules:
- Repeated calls: when an in-progress requisition already exists for the document,
ACTIVE_is returned and no ID is returned. If the create request times out without returning the ID, or the creation parameters were wrong, wait for the original requisition to expire (REQUISITION_ EXISTS expiresAt) and create again. - Creating again: when the previous requisition is already
REJECTEDorEXPIRED, a new requisition is created and a newonboardingIdis returned. - When creation is not allowed: if the document is under internal review or already has an account opened through another channel,
DOCUMENT_is returned without a specific reason; if the document has already been approved for an account through this API group,UNAVAILABLE USE_is returned and no ID is returned — switch to the registration update flow.REGISTRATION_ UPDATE - Brand and configuration: a
whitelabelSiglathat does not exist returnsWHITELABEL_; an onboarding type with no configured flow returnsNOT_ AVAILABLE ONBOARDING_— contact your account manager.NOT_ CONFIGURED - Field validation: an invalid CPF/CNPJ format or check digit, a document type not matching
onboardingType, aPJmissingrepresentative, or an invalid e-mail returnsDocument 1004(validation failed), with the field path inmsg. - Legal representative: for company onboarding, the person behind
representativemust complete the liveness verification in person, and the form submission must flag the same CPF asDocument is.Legal Representative - Company data: after a
PJrequisition is created, the back office queries the official registry asynchronously; the result is returned incompanyby Get Onboarding Requisition Status.
Back to Onboarding API Overview