Skip to content

/v3/onboarding/{onboardingId} Get Onboarding Requisition Status ​

Background ​

/v3/onboarding/{onboardingId} returns the complete information of an onboarding requisition: the current stage state, the rejection reason, the liveness attempts left, the official company data, etc. This is the query entry point of the whole onboarding flow: during the liveness verification and after the form submission, the latest state is obtained here. State definitions are in Onboarding State Machine.

This endpoint is read-only and can be called in any state, including after a terminal state is reached.

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 query the requisition — keep it safe.

Endpoint ​

ItemValue
MethodGET
Path/v3/onboarding/{onboardingId}
Content-TypeNone (no request body)
PurposeGet the onboarding requisition status

Request Fields ​

FieldLocationTypeLengthRequiredDescription
onboardingIdPathstring22YesRequisition ID returned at creation.

Request Example ​

http
GET /v3/onboarding/SCM968p7SzK-WXY9QBzDnA HTTP/1.1

Response Fields ​

FieldTypeLengthAlways returnedDescription
statusint4YesResponse code
msgstring128YesCorresponds to status
dataobject-YesOnboarding requisition object.
data.onboardingIdstring22YesRequisition ID, a case-sensitive 22-character string.
data.onboardingTypestring2YesPF individual / PJ company.
data.documentLegalIdstring14YesDocument number (CPF or CNPJ), digits only.
data.representativeDocumentstring11NoLegal representative CPF, digits only; null for PF.
data.statestring32YesThe stage the requisition is currently in, read-only, updated by the server; it decides what the merchant does next — see the state enum below.
data.reasonobject-No{ code, message }; has a value only when rejected (REJECTED), null otherwise. Reason codes at Overview.
data.livenessUrlstring255NoLiveness link; present when the state is AWAITING_LIVENESS or LIVENESS_FAILED, valid until expiresAt; when the state is LIVENESS_EXPIRED, call Retry Liveness Verification to get a new link.
data.livenessAttemptsLeftint1YesLiveness attempts left, initially 3; decremented only when a verification is actually completed.
data.companyobject-NoOfficial company registry data, returned for PJ only — see the company fields below; null while the official lookup is still running, and for PF.
data.expiresAtstring20NoDeadline of the action currently being waited on: while AWAITING_LIVENESS, the livenessUrl validity — passing it moves the requisition to LIVENESS_EXPIRED; while AWAITING_FORM, the form-submission deadline — passing it moves the requisition to EXPIRED (duration TBD); null in the other states.
data.submittedAtstring20NoTime the form submission was accepted; null if not submitted.
data.decidedAtstring20NoTime of the approval or rejection; null while in progress.
data.updatedAtstring20YesTime of the last change.

state Enum ​

ValueTypeMeaningWhat you should do
AWAITING_LIVENESSIn progressWaiting for the liveness verification to be completedOpen livenessUrl and complete the liveness verification
LIVENESS_FAILEDIn progressLiveness not passed, attempts remainCall Retry Liveness Verification, then open livenessUrl and complete the verification
LIVENESS_EXPIREDIn progressThe liveness link has expiredCall Retry Liveness Verification to get a new livenessUrl, then complete the verification
AWAITING_FORMIn progressWaiting for the form submissionSubmit the form; each requisition can be successfully submitted only once
PROCESSINGIn progressSubmitted, automatic verification running in the back officeWait
IN_REVIEWIn progressAutomatic checks passed, waiting for manual reviewWait
APPROVEDTerminalApprovedOnboarding finished; the later registration update uses the common signature authentication
REJECTEDTerminalRejectedHandle per reason.code; a new requisition may be created
EXPIREDTerminalThe form was not submitted before expiresAtA new requisition may be created

Company fields (data.company) ​

Provided for PJ only. The official registry lookup runs asynchronously: null right after creation, filled in once the lookup completes. Use it to pre-fill the form, but do not block the form waiting for this data.

FieldTypeLengthAlways returnedDescription
data.company.officialNamestring255NoLegal name of the company.
data.company.fantasyNamestring255NoTrade name of the company.
data.company.openingDatestring10NoCompany opening date, format YYYY-MM-DD.
data.company.legalNaturestring255NoLegal nature description.
data.company.legalNatureCodestring5NoLegal nature code.
data.company.mainActivitystring255NoMain economic activity description.
data.company.mainActivityCodestring9NoMain economic activity code.
data.company.jointStockstring20NoRegistered capital (as a string).
data.company.zipCodestring8NoZip code of the registered address.
data.company.statestring2NoState of the registered address.
data.company.citystring100NoCity of the registered address.
data.company.streetstring255NoStreet of the registered address.
data.company.neighborhoodstring100NoNeighborhood of the registered address.
data.company.numberstring20NoStreet number of the registered address.
data.company.complementstring100NoAddress complement.

These fields are null when unavailable in the official registry.

Response Examples ​

Waiting for liveness (individual onboarding, after one failure and a retry):

json
{
  "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": 2,
    "company": null,
    "expiresAt": "2026-10-19T09:00:00Z",
    "submittedAt": null,
    "decidedAt": null,
    "updatedAt": "2026-10-12T09:30:00Z"
  }
}

After the form submission (company onboarding):

json
{
  "status": 200,
  "msg": "sucesso",
  "data": {
    "onboardingId": "hftVkakeSQCz_TwQnyKqAg",
    "onboardingType": "PJ",
    "documentLegalId": "11222333000181",
    "representativeDocument": "11144477735",
    "state": "PROCESSING",
    "reason": null,
    "livenessUrl": null,
    "livenessAttemptsLeft": 2,
    "company": {
      "officialName": "Example Company LTDA",
      "fantasyName": "Example Company",
      "openingDate": "2015-03-12",
      "legalNature": "Limited Liability Company",
      "legalNatureCode": "2062",
      "mainActivity": "Custom computer programming services",
      "mainActivityCode": "6201-5/01",
      "jointStock": "100000.00",
      "zipCode": "90010150",
      "state": "RS",
      "city": "Porto Alegre",
      "street": "Avenida Borges de Medeiros",
      "neighborhood": "Centro Historico",
      "number": "1000",
      "complement": "Suite 302"
    },
    "expiresAt": null,
    "submittedAt": "2026-10-12T12:00:00Z",
    "decidedAt": null,
    "updatedAt": "2026-10-12T12:00:00Z"
  }
}

Differences in the terminal states:

json
"state": "APPROVED",
"reason": null,
"expiresAt": null,
"decidedAt": "2026-10-13T15:02:47Z"
json
"state": "REJECTED",
"reason": {
  "code": "IDENTITY_MISMATCH",
  "message": "Selfie does not match the identity document."
},
"expiresAt": null,
"decidedAt": "2026-10-13T15:02:47Z"

Response Error Codes ​

Business rules:

  • Drive the flow with state: decide the next step from the value of state; reason, remaining attempts, and other fields are supplementary only.
  • Query frequency: while the liveness verification is in progress, poll every 3–5 seconds (if returnUrl was provided at creation, one query after the redirect back is enough); after the form is submitted, poll every 10–30 seconds, gradually lengthening the interval and capping it; use updatedAt to detect changes; stop once a terminal state is reached.
  • Liveness link: livenessUrl is valid until expiresAt. When the state is LIVENESS_FAILED, opening the link only shows "not passed"; when it is LIVENESS_EXPIRED, the link is no longer valid. In both cases call Retry Liveness Verification first.
  • Legal representative: pre-fill the legal representative of the form with representativeDocument; the submission must flag the same CPF as isLegalRepresentative.
  • Errors: a non-existent ID returns REQUISITION_NOT_FOUND.

Back to Onboarding API Overview