# Create Standalone Transfer

Create a transfer independently of a payment. The `direction` field determines which account sends the funds.

<Warning>
Recipient-to-platform transfers are not generally available. Use this direction only after WHITELABEL confirms account enablement and provider support.
</Warning>

| Direction | Movement |
| --- | --- |
| `PLATFORM_TO_RECIPIENT` | Platform balance to the recipient. This is the default when `direction` is omitted or `null`. |
| `RECIPIENT_TO_PLATFORM` | Recipient balance to the platform, for example a separate dispute fee. Requires an enabled account and `STRIPE` provider support. The recipient onboarding connection identifies the provider account. |

Direction is saved at creation and returned in the response, [GET](/reference/transfers/get-standalone-transfer), and transfer notifications. It cannot be changed after creation. Reusing the same account and idempotency key with a different direction is rejected; omitted and explicit `PLATFORM_TO_RECIPIENT` represent the same direction.

Invalid strings (including empty or incorrectly cased values), objects, arrays, numbers, and booleans return `400 INVALID_PARAMETERS`. A recipient-to-platform request with a provider other than `STRIPE` returns `400 INVALID_PARAMETERS` before the enablement check. A valid recipient-to-platform request for an account without access returns `400 DIRECTION_NOT_ENABLED`, before the idempotency direction check.

A recipient-to-platform transfer cannot be [reversed](/reference/transfers/reverse-standalone-transfer). To return a separately collected fee, create a new platform-to-recipient transfer.

**POST** `/split-marketplace/transfers`

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

Create a standalone transfer. Direction is immutable; omitted or null direction defaults to PLATFORM_TO_RECIPIENT. RECIPIENT_TO_PLATFORM is not generally available. Use it only after WHITELABEL confirms account enablement and provider support. RECIPIENT_TO_PLATFORM with a provider other than STRIPE returns INVALID_PARAMETERS before the enablement check. Reusing the same account and idempotency key with a different normalized direction returns INVALID_PARAMETERS when the requested direction is enabled; otherwise the availability guard returns DIRECTION_NOT_ENABLED first.

## Authorization

- PUBLIC-API-KEY (apiKey in header)
- PRIVATE-SECRET-KEY (apiKey in header)

## Header parameters

- `X-Idempotency-Key` (string, required)
  Unique key for request idempotency.

## Body

Content type: `application/json`

- `account_id` (string, required)
  The unique identifier of the account.
- `recipient_id` (string<uuid>, required)
  The target recipient identifier.
- `provider_id` (string, required)
  The payment provider code to use (e.g., adyen, stripe).
- `amount` (object, required)
  - `value` (number, required)
  - `currency` (string, required)
- `description` (string)
  A human-readable description for the transfer (3-255 chars). This is sent to the provider.
- `merchant_reference` (string)
  Merchant's unique identifier for idempotency and tracking.
- `metadata` (object[])
  - `key` (string)
  - `value` (string)
- `direction` ("PLATFORM_TO_RECIPIENT" | "RECIPIENT_TO_PLATFORM" | null)
  Direction of the transfer. Omitted or null defaults to PLATFORM_TO_RECIPIENT. RECIPIENT_TO_PLATFORM is supported only for eligible STRIPE accounts. RECIPIENT_TO_PLATFORM is not generally available. Use it only after WHITELABEL confirms account enablement and provider support.

Example:

```json
{
  "account_id": "string",
  "recipient_id": "00000000-0000-0000-0000-000000000000",
  "provider_id": "string",
  "amount": {
    "value": 150,
    "currency": "USD"
  },
  "description": "string",
  "merchant_reference": "string",
  "metadata": [
    {
      "key": "string",
      "value": "string"
    }
  ],
  "direction": "PLATFORM_TO_RECIPIENT"
}
```

## Responses

### 201

Created

- `id` (string)
- `direction` ("PLATFORM_TO_RECIPIENT" | "RECIPIENT_TO_PLATFORM")
  The immutable direction saved when the transfer was created. Existing transfers return PLATFORM_TO_RECIPIENT. It cannot be changed after creation.
- `recipient_id` (string<uuid>)
- `amount` (object)
  - `value` (number, required)
  - `currency` (string, required)
- `status` (string)
- `reason` (string)
- `description` (string)
- `merchant_reference` (string)
- `metadata` (object[])
  - `key` (string)
  - `value` (string)
- `provider_data` (object)
  - `id` (string)
  - `recipient_id` (string)
  - `transfer_id` (string)
  - `response_code` (string)
  - `response_message` (string)
- `created_at` (string<date-time>)
- `updated_at` (string<date-time>)
- `completed_at` (string<date-time>)
- `provider` (string,null)
- `transactions` (object[])
  - `code` (string)
  - `type` (string)
  - `status` (string)
  - `provider_transfer_id` (string)
  - `provider_response_message` (string)
  - `provider_raw_response` (string)
  - `parent_transaction_code` (string)
    Code of the original transaction that a SPLIT_TRANSFER_REVERSE transaction reverses. Absent on the original transaction.
  - `reason` (string)
    Reason given in the reverse request. Present on SPLIT_TRANSFER_REVERSE transactions.
  - `created_at` (string<date-time>)
  - `updated_at` (string<date-time>)

Example:

```json
{
  "id": "TRF_7kB2mQ9xPnL4vR",
  "direction": "PLATFORM_TO_RECIPIENT",
  "recipient_id": "550e8400-e29b-41d4-a716-446655440000",
  "amount": {
    "value": 150,
    "currency": "USD"
  },
  "status": "SUCCEEDED",
  "reason": "ORDER_CANCELLED",
  "description": "Weekly marketplace earnings",
  "merchant_reference": "TRANSFER-2026-02-15-001",
  "metadata": [
    {
      "key": "string",
      "value": "string"
    }
  ],
  "provider_data": {
    "id": "adyen",
    "recipient_id": "SE322KT223222B5CM82WL9TB",
    "transfer_id": "TRF_8535296827453920",
    "response_code": "000",
    "response_message": "Transfer completed"
  },
  "created_at": "2026-02-16T10:30:00Z",
  "updated_at": "2026-02-16T10:30:15Z",
  "completed_at": "2026-02-16T10:30:15Z",
  "provider": null,
  "transactions": [
    {
      "code": "9eee65d1-6c3a-4076-9ef9-fa4bff73d597",
      "type": "SPLIT_TRANSFER",
      "status": "ERROR",
      "provider_transfer_id": "tr_1T9PTLIiMnPsFcbbFKyh1Nds",
      "provider_response_message": "...",
      "provider_raw_response": "{.... }",
      "parent_transaction_code": "cb5fd244-90fd-49b0-a160-a9d9f764eb9e",
      "reason": "ORDER_CANCELLED",
      "created_at": "2026-03-10T13:39:19.342902Z",
      "updated_at": "2026-03-10T13:39:19.342914Z"
    }
  ]
}
```

### 400

Bad Request

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

Example:

```json
{
  "code": "string",
  "messages": [
    "string"
  ]
}
```

### 404

Not Found

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

Example:

```json
{
  "code": "string",
  "messages": [
    "string"
  ]
}
```

### 502

Bad Gateway

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

Example:

```json
{
  "code": "string",
  "messages": [
    "string"
  ]
}
```