Reverse Standalone Transfer

Fully or partially reverse a PLATFORM_TO_RECIPIENT transfer, subject to its status and remaining reversible amount.

A RECIPIENT_TO_PLATFORM parent cannot be reversed: both full and partial reversal requests return 400 INVALID_PARAMETERS. To return a separately collected fee, create a new transfer with direction: PLATFORM_TO_RECIPIENT.

The reversal HTTP response describes the parent after the reversal and does not include direction. Use GET to read the unchanged parent direction. The reversal notification includes the parent’s PLATFORM_TO_RECIPIENT direction.

POST/split-marketplace/transfers/{transfer_id}/reverse

Fully or partially reverse a PLATFORM_TO_RECIPIENT transfer. A RECIPIENT_TO_PLATFORM parent returns 400 INVALID_PARAMETERS. To return a separately collected fee, create a new PLATFORM_TO_RECIPIENT transfer. The reversal HTTP response does not include direction; read the parent transfer to retrieve it.

Header Parameters

X-Idempotency-Keystringrequired

Unique key for request idempotency.

Path Parameters

transfer_idstringrequired

The unique ID of the transfer flow to reverse.

Body application/json

account_idstringrequired

The unique identifier of the account.

amountobject
Show amount properties
valuenumberrequired
currencystringrequired
reasonstring

The reason for the reversal.

descriptionstring

A human-readable description for the reversal.

merchant_referencestring

Merchant’s unique identifier for tracking this reversal.

Response

Reversal processed

idstring
recipient_idstring<uuid>
amountobject
Show amount properties
valuenumber
currencystring
statusstring
reasonstring
descriptionstring
merchant_referencestring
provider_dataobjectnull
created_atstring<date-time>
updated_atstring<date-time>
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/<transfer_id>/reverse" \
  -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",
  "amount": {
    "value": 150,
    "currency": "USD"
  },
  "reason": "string",
  "description": "string",
  "merchant_reference": "string"
}'
Response
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "recipient_id": "550e8400-e29b-41d4-a716-446655440000",
  "amount": {
    "value": 150,
    "currency": "USD"
  },
  "status": "REVERSED_PARTIAL",
  "reason": "ORDER_CANCELLED",
  "description": "Weekly marketplace earnings",
  "merchant_reference": "TRANSFER-2026-02-15-001",
  "provider_data": {
    "id": "string",
    "recipient_id": "string",
    "transaction_id": "string",
    "response_code": "string",
    "response_message": "string"
  },
  "created_at": "2026-02-16T10:30:00Z",
  "updated_at": "2026-02-16T10:30:15Z",
  "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"
    }
  ]
}