> ## Documentation Index
> Fetch the complete documentation index at: https://developer.nomba.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Authorize Exchange

> Transfer funds between your own accounts in different currencies

> [card] [Authorize Exchange](https://developer.nomba.com/nomba-api-reference/global-payout/authorize-exchange.md)

# `POST /v1/global-payout/exchange/authorize`

Move funds between your own accounts with ease. AuthExchange is designed for internal transfers, allowing you to shift balances across your accounts in different currencies without the overhead of an external disbursement flow.

```bash Request theme={null}
curl --request POST \
  --url https://api.nomba.com/v1/global-payout/exchange/authorize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'accountId: <accountId>' \
  --data '{
    "amount": 1,
    "sourceCurrency": "USD",
    "destinationCurrency": "CDF",
    "senderName": "ADEBUKOLA AKANJI",
    "receiverName": "ADEBUKOLA AKANJI",
    "sourceCountryIsoCode": "CD",
    "destinationCountryIsoCode": "CD",
    "narration": "Transfer between my accounts"
  }'
```

```json Response theme={null}
{
  "code": "00",
  "description": "Successful",
  "status": false,
  "data": {
    "wtTransactionId": "01kkk8cjk0fpw9jx2n01wd8yfw",
    "coreTransactionId": "API-P2P-CB9EC-0c2d962e-4730-48e7-b522-d65cac511549",
    "status": "PROCESSING",
    "coreStatus": "SUCCESS",
    "type": "EXCHANGE",
    "meta": {
      "wt_transaction_id": "01kkk8cjk0fpw9jx2n01wd8yfw",
      "source_amount": "1.0",
      "destination_amount": "2250.0",
      "source_currency": "USD",
      "destination_currency": "CDF",
      "amount_charged": "1.0",
      "currency_pair_name": "USD/CDF",
      "destination_country": "CD",
      "source_country": "CD",
      "narration": "Transfer between my accounts",
      "trade_side": "BUY",
      "spread_amount": "250.0",
      "spread_currency": "CDF",
      "transactionCategory": "General"
    }
  }
}
```

#### Request body

**amount** `number` *required*

Amount to transfer in the source currency.

**sourceCurrency** `string` *required*

ISO 4217 currency code of the source account (e.g., `USD`).

**destinationCurrency** `string` *required*

ISO 4217 currency code of the destination account (e.g., `CDF`).

**senderName** `string` *required*

Name of the account holder initiating the exchange.

**receiverName** `string` *required*

Name of the receiving account holder. For own-account exchanges this is typically the same as the sender.

**sourceCountryIsoCode** `string` *required*

ISO 3166-1 alpha-2 country code of the source account (e.g., `CD`).

**destinationCountryIsoCode** `string` *required*

ISO 3166-1 alpha-2 country code of the destination account (e.g., `CD`).

**narration** `string`

Description or memo for the exchange.

**lockedExchangeRateId** `string`

The `exchangeRateId` from a prior [Fetch Exchange Rates](https://developer.nomba.com/docs/products/global-payout/fetch-exchange-rates.md) call. When provided, the exchange is fulfilled at that exact rate.

**idempotencyKey** `string`

Your own unique key for this exchange, up to 128 characters. Send the same key when retrying and you get the original transaction back instead of a second exchange. See [Retrying safely](https://developer.nomba.com/docs/products/global-payout/authorize-transfer.md#retrying-safely) — the rules are identical to Authorize Transfer.

#### Response body

**wtTransactionId** `string` *required*

Unique GlobalPayout transaction ID. Use this to track the exchange via [Fetch Transaction](https://developer.nomba.com/docs/products/global-payout/fetch-transaction.md).

**coreTransactionId** `string`

Internal core transaction reference.

**status** `string` *required*

Processing status. One of: `PROCESSING`, `COMPLETED`, `FAILED`, `PENDING`.

**coreStatus** `string`

Core system status (e.g., `SUCCESS`).

**type** `string`

Transaction type. Will be `EXCHANGE` for own-account transfers.

**idempotencyKey** `string`

The `idempotencyKey` you sent, echoed back. Empty if you did not send one.

**idempotentReplay** `boolean`

`true` when this response is a replay of an earlier request with the same key, meaning no new exchange was created. `false` on the first call.

**meta** `object`

Transaction metadata including currency pair details, amounts, and spread info.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.