Skip to main content
Create a Master Account onboarding record and start the selected compliance flow.

Endpoint

POST /v3/onboarding/master_accounts/create

Authentication and target

A platform-scoped credential associated with a platform tenant is required. Account-targeting headers do not replace this credential policy. Use the standard HMAC-SHA256 request-signing headers. Do not send X-ISPB or X-Account-Number. This platform-only route rejects account-targeting headers.

Request body

At least one of request_id or reference_id is required. Keep both stable for technical retries. CPF tax IDs are 11 numeric digits. CNPJ tax IDs are 12 uppercase alphanumeric characters followed by two digits. API Body and Provider Session impose additional person/business and UBO rules.

Success data

reference_id, current status, compliance_session_id, and an optional verification_url.

Behavior and validation

Creation starts or reuses onboarding state; it does not promise that the bank account is already active. The service looks up an existing same-tenant record by the first non-empty request/reference identifier. Stable identifiers make retries converge on the same identity.

Errors

Every call can fail for missing or invalid signature headers, an expired timestamp, nonce replay, an invalid body hash or signature, insufficient permission, or a downstream service error. Endpoint-specific errors include:
  • authentication_required or permission_denied when the platform tenant is missing or not authorized.
  • field_required or field_invalid for identifiers or compliance input.
  • compliance_provider_unavailable when the selected provider cannot accept the request.

Example request

Example response