Get Onboarding

Retrieves detailed information about a specific onboarding for a recipient.

This endpoint retrieves detailed information about a specific onboarding for a recipient in the split payments marketplace. Use this endpoint to check the current status, configuration, and details of an existing onboarding.

This endpoint requires an existing onboarding created via Create Onboarding.

GET/recipients/{recipient_id}/onboardings/{onboarding_id}

Path Parameters

recipient_idstringrequired

ID of the recipient

onboarding_idstringrequired

ID of the onboarding to retrieve

Response

Onboarding details retrieved successfully

idstring

The unique identifier of the onboarding

account_idstring

Unique id of the account in WHITELABEL

recipient_idstring

The unique identifier of the recipient

type"PREVIOUSLY_ONBOARDED" | "ONE_STEP_ONBOARDING" | "TWO_STEP_ONBOARDING"

Type of onboarding flow

workflow"HOSTED_BY_PROVIDER" | "HOSTED_BY_YUNO" | "DIRECT"

Workflow of the onboarding

statusstring

Current status of the onboarding

callback_urlstring<uri>

URL to redirect after the onboarding process

providerobject
Show provider properties
idstring

Provider id

connection_idstring

Id of the connection in WHITELABEL

recipient_idstring

The unique identifier of the provider’s recipient

created_atstring<date-time>

Onboarding creation date

updated_atstring<date-time>

Onboarding last update date

Unauthorized

codestring
messagesstring[]

Forbidden

codestring
messagesstring[]
Request
curl -X GET "https://api-sandbox.whitelabel.com/v1/recipients/<recipient_id>/onboardings/<onboarding_id>" \
  -H "public-api-key: <public-api-key>" \
  -H "private-secret-key: <private-secret-key>"
Response
{
  "id": "9104911d-5df9-429e-8488-ad41abea1a4b",
  "account_id": "9104911d-5df9-429e-8488-ad41abea1a4b",
  "recipient_id": "9104911d-5df9-429e-8488-ad41abea1a4b",
  "type": "PREVIOUSLY_ONBOARDED",
  "workflow": "HOSTED_BY_PROVIDER",
  "status": "ACTIVE",
  "callback_url": "https://www.google.com",
  "provider": {
    "id": "PAGARME",
    "connection_id": "9104911d-5df9-429e-8488-ad41abea1a4b",
    "recipient_id": "AAAAA01"
  },
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-01-15T10:30:00Z"
}