# Request a Transfer

Enables marketplaces using WHITELABEL Split Payments to request a transfer based on an existing payment. Request a transfer for a specified amount to one of the recipients participating in the split.

**POST** `/payments/{payment_id}/transactions/{transaction_id}/split-marketplace/transfer-reversal`

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

## Authorization

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

## Header parameters

- `X-Idempotency-Key` (string)
  Unique identifier used in HTTP headers to ensure that a request is processed only once, even if it is retried due to network issues or timeouts.

## Path parameters

- `payment_id` (string, required)
  The unique identifier of the payment (MAX 64; MIN 36).
- `transaction_id` (string, required)
  The unique identifier of the transaction (MAX 64; MIN 36).

## Body

Content type: `application/json`

- `amount` (object, required)
  The payment amount (multiple of 0.0001).
  - `currency` (string, required)
    Currency of the transaction. Visit the [country reference](/reference/country-reference) for the full list of supported currencies.
  - `value` (number, required)
    The value amount of the transaction.
- `description` (string)
  The unique identifier of the transaction (MAX 256; MIN 3).

Example:

```json
{
  "amount": {
    "currency": "",
    "value": 0
  },
  "description": ""
}
```

## Responses

### 201

Created

- `id` (string)
  The unique identifier of the transfer.
- `recipient_id` (string)
  The unique identifier of the recipient.
- `amount` (object)
  - `currency` (string)
  - `value` (number)
- `status` (string)
  The status of the transfer.
- `description` (string)
- `merchant_reference` (string)
- `metadata` (any[])
- `provider` (object,null)
- `transactions` (object[])
  - `code` (string)
  - `type` (string)
  - `status` (string)
  - `provider_transfer_id` (string)
  - `raw_response` (string)
  - `created_at` (string<date-time>)
  - `updated_at` (string<date-time>)
- `created_at` (string<date-time>)
- `updated_at` (string<date-time>)
- `completed_at` (string<date-time>)

Example:

```json
{
  "id": "string",
  "recipient_id": "string",
  "amount": {
    "currency": "string",
    "value": 0
  },
  "status": "string",
  "description": "string",
  "merchant_reference": "string",
  "metadata": [
    null
  ],
  "provider": null,
  "transactions": [
    {
      "code": "string",
      "type": "string",
      "status": "string",
      "provider_transfer_id": "string",
      "raw_response": "string",
      "created_at": "1970-01-01T00:00:00.000Z",
      "updated_at": "1970-01-01T00:00:00.000Z"
    }
  ],
  "created_at": "1970-01-01T00:00:00.000Z",
  "updated_at": "1970-01-01T00:00:00.000Z",
  "completed_at": "1970-01-01T00:00:00.000Z"
}
```

### 400

Bad Request

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

Example:

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