Create Standalone Transfer

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

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

DirectionMovement
PLATFORM_TO_RECIPIENTPlatform balance to the recipient. This is the default when direction is omitted or null.
RECIPIENT_TO_PLATFORMRecipient 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, 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. To return a separately collected fee, create a new platform-to-recipient transfer.

POST/split-marketplace/transfers

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.

Header Parameters

X-Idempotency-Keystringrequired

Unique key for request idempotency.

Body application/json

account_idstringrequired

The unique identifier of the account.

recipient_idstring<uuid>required

The target recipient identifier.

provider_idstringrequired

The payment provider code to use (e.g., adyen, stripe).

amountobjectrequired
Show amount properties
valuenumberrequired
currencystringrequired
descriptionstring

A human-readable description for the transfer (3-255 chars). This is sent to the provider.

merchant_referencestring

Merchant’s unique identifier for idempotency and tracking.

metadataobject[]
Show metadata properties
keystring
valuestring
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.

Response

Created

idstring
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_idstring<uuid>
amountobject
Show amount properties
valuenumber
currencystring
statusstring
reasonstring
descriptionstring
merchant_referencestring
metadataobject[]
Show metadata properties
keystring
valuestring
provider_dataobject
Show provider_data properties
idstring
recipient_idstring
transfer_idstring
response_codestring
response_messagestring
created_atstring<date-time>
updated_atstring<date-time>
completed_atstring<date-time>
providerstringnull
transactionsobject[]
Show transactions properties
codestring
typestring
statusstring
provider_transfer_idstring
provider_response_messagestring
provider_raw_responsestring
parent_transaction_codestring

Code of the original transaction that a SPLIT_TRANSFER_REVERSE transaction reverses. Absent on the original transaction.

reasonstring

Reason given in the reverse request. Present on SPLIT_TRANSFER_REVERSE transactions.

created_atstring<date-time>
updated_atstring<date-time>

Bad Request

codestring
messagesstring[]

Not Found

codestring
messagesstring[]

Bad Gateway

codestring
messagesstring[]
Request
curl -X POST "https://api-sandbox.whitelabel.com/v1/split-marketplace/transfers" \
  -H "Content-Type: application/json" \
  -H "X-Idempotency-Key: <X-Idempotency-Key>" \
  -H "PUBLIC-API-KEY: <PUBLIC-API-KEY>" \
  -H "PRIVATE-SECRET-KEY: <PRIVATE-SECRET-KEY>" \
  -d '{
  "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"
}'
Response
{
  "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"
    }
  ]
}