# 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](/docs/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](/reference/create-onboarding).

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

Base URL: `https://api-sandbox.whitelabel.com/v1`

Get Onboarding

## Authorization

- public-api-key (apiKey in header)
- private-secret-key (apiKey in header)

## Path parameters

- `recipient_id` (string, required)
  ID of the recipient
- `onboarding_id` (string, required)
  ID of the onboarding to retrieve

## Responses

### 200

Onboarding details retrieved successfully

- `id` (string)
  The unique identifier of the onboarding
- `account_id` (string)
  Unique id of the account in WHITELABEL
- `recipient_id` (string)
  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
- `status` (string)
  Current status of the onboarding
- `callback_url` (string<uri>)
  URL to redirect after the onboarding process
- `provider` (object)
  - `id` (string)
    Provider id
  - `connection_id` (string)
    Id of the connection in WHITELABEL
  - `recipient_id` (string)
    The unique identifier of the provider's recipient
- `created_at` (string<date-time>)
  Onboarding creation date
- `updated_at` (string<date-time>)
  Onboarding last update date

Example:

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

### 401

Unauthorized

- `code` (string)
- `messages` (string[])

Example:

```json
{
  "code": "INVALID_REQUEST",
  "messages": [
    "Invalid request"
  ]
}
```

### 403

Forbidden

- `code` (string)
- `messages` (string[])

Example:

```json
{
  "code": "INVALID_REQUEST",
  "messages": [
    "Invalid request"
  ]
}
```