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

# Payout Fiat

> Pay out from your balance to a Nigerian bank account, or as cash through MoneyGram

> [!NOTE]
>
> **Auth method: Signed (HMAC)** — this endpoint requires the full set of signed
> headers: `x-access-id`, `x-request-id`, `x-timestamp`, and an HMAC-SHA256
> `authorization` signature. See [Authentication](https://docs.tender.cash/api-reference/authentication.md#signed-hmac-authentication).

Set `method` to choose how the payout is delivered:

| `method` | What happens | Response |
| - | - | - |
| `internal` | Tender converts the asset and sends fiat to a Nigerian bank account. Tender chooses the payout provider; you can't select one. | The payout record (`id`, `status`, …) |
| `moneygram` | Starts a MoneyGram payout. Your user opens the returned `url` to complete it. | `{ url, transactionId, id }` |

Payouts are processed asynchronously. There are no payout webhooks: poll
[Get Payout](https://docs.tender.cash/api-reference/endpoint/payouts/get-one.md) with the returned `id` until `status` is
`completed` or `failed`.

All payout endpoints share a bucket of 10 requests per minute per merchant, on top of the general
limit. See [Rate limits](https://docs.tender.cash/api-reference/rate-limits.md).

## Headers

**authorization** `string` *required*

Base64-encoded HMAC-SHA256 signature of `{"timeStamp":"<x-timestamp>","requestId":"<x-request-id>","accessId":"<x-access-id>"}`, signed with your access secret. The request body is not part of the signature.

**Example:** `"pV3n0o8kq0lK2mJ8bZ1yq3Yt6hR0cXK9u4mVJ2l9sE0="`

**x-timestamp** `string` *required*

ISO 8601 timestamp; must be within 5 minutes of server time

**Example:** `"2026-10-15T09:45:53.000Z"`

**x-request-id** `string` *required*

A unique UUID v4 per request

**Example:** `"550e8400-e29b-41d4-a716-446655440000"`

**x-access-id** `string` *required*

Your API access ID provided by Tender

**Example:** `"your-access-id-here"`

**Content-Type** `string` *required*

Must be `application/json`

**Example:** `"application/json"`

**Idempotency-Key** `string` *required*

A unique key you generate for this payout, up to 200 characters (a UUID works well). Retrying with
the same key and the same body returns the original response instead of creating a second
payout. See [Idempotency](https://docs.tender.cash/api-reference/idempotency.md).

**Example:** `"payout-2026-10-15-0001"`

## Body

**method** `string` *required*

Payout method.

**Allowed values:** `internal`, `moneygram`

**Example:** `"internal"`

**asset** `string` *required*

Coin to pay out from your balance. For `internal`, any coin ID you hold (for example `usdc` or
`usdt`). For `moneygram`, an asset MoneyGram supports (for example `usdc`).

**Example:** `"usdc"`

**amount** `string | number` *required*

Amount of `asset` to pay out. Accepts a number or a numeric string.

* `internal`: at least 20 units of the asset, and at least \$20 USD in value.
* `moneygram`: at least 15 units of the asset.

**Example:** `"100"`

**reference** `string`

A stable identifier for the end user this payout is for, up to 500 characters. It is stored on
the payout as `withdrawalReference`.

For `moneygram`, it is also sent to MoneyGram for reconciliation and decides which MoneyGram
consumer the payout belongs to. Each distinct `reference` is a separate consumer, with its own KYC
record and transaction-limit window. Reuse the same value for the same person on every payout,
and use a different value for a different person. Don't use a per-transaction value such as an
order ID. Omit it (or set it to your own merchant ID) to attribute the payout to your merchant
account itself.

**Example:** `"user-8821"`

### `internal` fields

**bank\_code** `string`

Recipient's Nigerian bank code. **Required for `internal`.** The bank must be supported.

**Example:** `"090267"`

**account\_number** `string`

Recipient's bank account number. **Required for `internal`.**

**Example:** `"0123456789"`

### `moneygram` fields

All of these are optional. Any you send are pre-filled in the MoneyGram form your user completes,
so they don't have to type them again.

**address\_reference** `string`

Send from one of your Stellar subwallet addresses instead of your merchant wallet. Use the
`address_reference` you gave the address when you created it.

**Example:** `"slot-2"`

**first\_name** `string`

**Example:** `"John"`

**last\_name** `string`

**Example:** `"Doe"`

**dob** `string`

Date of birth, `YYYY-MM-DD`. `date_of_birth` is accepted as an alias.

**Example:** `"1990-06-15"`

**mobile\_number** `string`

Mobile number in international format

**Example:** `"+2348012345678"`

**address** `string`

Street address

**Example:** `"12 Marina Street"`

**city** `string`

**Example:** `"Lagos"`

**postal\_code** `string`

**Example:** `"100001"`

**state\_or\_province** `string`

**Example:** `"LA"`

**country** `string`

ISO 3166-1 alpha-2 country code

**Example:** `"NG"`

## Idempotency

Send a unique `Idempotency-Key` header with every payout request. Keys are scoped to your merchant
account and to this endpoint, and are kept for 24 hours.

* **Same key, same body:** you get the original response again; no new payout is created.
* **Same key, different body:** `409` with `Idempotency-Key was already used with a different request`.
* **Same key while the first request is still running:** `409` with
  `A request with this Idempotency-Key is already being processed`. Wait and retry.
* **First request failed:** the key is released, so you can retry with the same key.
* **Missing key:** `400` with `Idempotency-Key header is required`.

See [Idempotency](https://docs.tender.cash/api-reference/idempotency.md).

## Response

### `internal`

**status** `string` *required*

**Example:** `"success"`

**message** `string` *required*

**Example:** `"Fiat payout initiated"`

**data** `object` *required*

**data properties**

**id** `string`

Payout ID. Use it with [Get Payout](https://docs.tender.cash/api-reference/endpoint/payouts/get-one.md).

**Example:** `"6a45c1d2e4b0a1b2c3d4e5f9"`

**status** `string`

`pending` on creation

**Example:** `"pending"`

**amount** `string`

Amount of `asset` paid out

**Example:** `"100"`

**asset** `string`

**Example:** `"usdc"`

**usdValue** `string`

USD value of `amount`

**Example:** `"100"`

**bankName** `string`

Bank name resolved from `bank_code`

**Example:** `"KUDA MICROFINANCE BANK"`

**bankCode** `string`

**Example:** `"090267"`

**accountNumber** `string`

**Example:** `"0123456789"`

**createdAt** `string`

**Example:** `"2026-10-15T09:20:15.650Z"`

### `moneygram`

**status** `string` *required*

**Example:** `"success"`

**message** `string` *required*

**Example:** `"Withdrawal initiated"`

**data** `object` *required*

**data properties**

**url** `string`

MoneyGram page for this payout. Open `url` to let your user complete the payout.

**Example:** `"https://extstellar.moneygram.com/..."`

**transactionId** `string`

MoneyGram transaction ID. It also appears as `providerTransactionId` on the payout record.

**Example:** `"abc123"`

**id** `string | null`

Payout ID. Use it with [Get Payout](https://docs.tender.cash/api-reference/endpoint/payouts/get-one.md). In rare cases
it is `null`; the MoneyGram payout still goes ahead.

**Example:** `"6a45c1d2e4b0a1b2c3d4e5f9"`

## Errors

| HTTP | Message | Cause |
| - | - | - |
| 400 | `Idempotency-Key header is required` | The header is missing or blank |
| 400 | `method must be one of the following values: moneygram, internal` | Missing or unknown `method` |
| 400 | `amount, bank_code, account_number, and asset are required for internal` | A required `internal` field is missing |
| 400 | `Invalid asset` / `Exchange price not available` | Unknown or unpriced `asset` (`internal`) |
| 400 | `Insufficient USDC balance: requested 100, available 40` | Your balance doesn't cover `amount` |
| 400 | `Minimum withdrawal amount is 20 USDC` / `Minimum withdrawal amount is $20 USD` | Below the `internal` minimum |
| 400 | `Bank code "123" is not supported` | Unsupported `bank_code` (`internal`) |
| 400 | `Withdrawal exceeds your 30-day offramp limit (...)` | The payout would exceed your account's 30-day limit (`internal`) |
| 400 | `Minimum MoneyGram withdrawal amount is 15 USDC` | Below the `moneygram` minimum |
| 400 | `Merchant Stellar wallet not found` | You have no Stellar merchant wallet (`moneygram`) |
| 404 | `Stellar subwallet address not found` | No active Stellar subwallet address matches `address_reference` |
| 409 | `Idempotency-Key was already used with a different request` | Reused key with a different body |
| 409 | `A request with this Idempotency-Key is already being processed` | The first request with this key hasn't finished |
| 503 | `No withdrawal provider available for the selected asset` | MoneyGram doesn't support `asset` right now |

```bash internal theme={null}
curl -X POST "https://sandbox-api.tender.cash/v1/api/payout/fiat" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: payout-2026-10-15-0001" \
  -H "x-access-id: your-access-id-here" \
  -H "x-request-id: 550e8400-e29b-41d4-a716-446655440000" \
  -H "x-timestamp: 2026-10-15T09:45:53.000Z" \
  -H "authorization: <signature>" \
  -d '{"method":"internal","asset":"usdc","amount":"100","bank_code":"090267","account_number":"0123456789","reference":"user-8821"}'
```

```bash moneygram theme={null}
curl -X POST "https://sandbox-api.tender.cash/v1/api/payout/fiat" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: payout-2026-10-15-0002" \
  -H "x-access-id: your-access-id-here" \
  -H "x-request-id: 6f1c2a4e-8b3d-4c5e-9f7a-1b2c3d4e5f60" \
  -H "x-timestamp: 2026-10-15T09:46:10.000Z" \
  -H "authorization: <signature>" \
  -d '{"method":"moneygram","asset":"usdc","amount":"100","reference":"user-8821","first_name":"John","last_name":"Doe","dob":"1990-06-15","mobile_number":"+2348012345678","address":"12 Marina Street","city":"Lagos","postal_code":"100001","state_or_province":"LA","country":"NG"}'
```

```json 200 internal theme={null}
{
  "status": "success",
  "message": "Fiat payout initiated",
  "data": {
    "id": "6a45c1d2e4b0a1b2c3d4e5f9",
    "status": "pending",
    "amount": "100",
    "asset": "usdc",
    "usdValue": "100",
    "bankName": "KUDA MICROFINANCE BANK",
    "bankCode": "090267",
    "accountNumber": "0123456789",
    "createdAt": "2026-10-15T09:20:15.650Z"
  }
}
```

```json 200 moneygram theme={null}
{
  "status": "success",
  "message": "Withdrawal initiated",
  "data": {
    "url": "https://extstellar.moneygram.com/...",
    "transactionId": "abc123",
    "id": "6a45c1d2e4b0a1b2c3d4e5fa"
  }
}
```

```json 503 theme={null}
{
  "status": "error",
  "message": "No withdrawal provider available for the selected asset",
  "data": {}
}
```


## OpenAPI

````yaml POST /v1/api/payout/fiat
openapi: 3.1.0
info:
  title: Tender API
  description: Tender Developer API for cryptocurrency payments and agent management
  version: 2.0.0
  contact:
    name: Tender Support
    url: https://tender.cash
servers:
  - url: https://secureapi.tender.cash
    description: Production Server
  - url: https://sandbox-api.tender.cash
    description: Sandbox Server
security:
  - SignedAuth: []
tags:
  - name: Agents
    description: Manage agents and sub-businesses
  - name: Transactions
    description: Payment and transaction operations
  - name: System
    description: System information and configuration
  - name: Webhooks
    description: Webhook management and logs
  - name: On-ramp
    description: Fiat-to-crypto on-ramp operations
  - name: Payouts
    description: Send crypto from merchant balance to a wallet address or payout account
  - name: Subwallets
    description: Provision and manage crypto wallet infrastructure for your end-users
  - name: Conversions
    description: Swap crypto between coins and chains, or convert to a payout account
paths:
  /v1/api/payout/fiat:
    post:
      tags:
        - Payouts
      summary: Payout Fiat
      description: >-
        Pay out to a Nigerian bank account (`internal`; provider chosen by
        Tender) or through MoneyGram (`moneygram`; open the returned `url` to
        let your user complete the payout). Requires an `Idempotency-Key`
        header. Payout endpoints share a 10 requests/minute bucket per merchant.
      operationId: payoutFiat
      parameters:
        - name: authorization
          in: header
          required: true
          description: >-
            Base64-encoded HMAC-SHA256 signature of
            `{"timeStamp":"<x-timestamp>","requestId":"<x-request-id>","accessId":"<x-access-id>"}`,
            signed with your access secret. The request body is not part of the
            signature.
          schema:
            type: string
          example: pV3n0o8kq0lK2mJ8bZ1yq3Yt6hR0cXK9u4mVJ2l9sE0=
        - name: x-timestamp
          in: header
          required: true
          description: ISO 8601 timestamp; must be within 5 minutes of server time
          schema:
            type: string
            format: date-time
          example: '2026-10-15T09:45:53.000Z'
        - name: x-request-id
          in: header
          required: true
          description: A unique UUID v4 per request
          schema:
            type: string
            format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
        - name: x-access-id
          in: header
          required: true
          schema:
            type: string
          example: your-access-id-here
        - name: Content-Type
          in: header
          required: true
          schema:
            type: string
            enum:
              - application/json
          example: application/json
        - name: Idempotency-Key
          in: header
          required: true
          description: >-
            Unique key for this payout, up to 200 characters. Same key and body
            within 24 hours replays the original response; a different body or a
            request still in flight returns 409. Scoped to your merchant account
            and this endpoint.
          schema:
            type: string
            maxLength: 200
          example: payout-2026-10-15-0001
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PayoutFiatRequest'
            examples:
              internal:
                summary: Internal bank transfer
                value:
                  method: internal
                  asset: usdc
                  amount: '100'
                  bank_code: '090267'
                  account_number: '0123456789'
                  reference: user-8821
              moneygram:
                summary: MoneyGram
                value:
                  method: moneygram
                  asset: usdc
                  amount: '100'
                  reference: user-8821
                  address_reference: slot-2
                  first_name: John
                  last_name: Doe
                  dob: '1990-06-15'
                  mobile_number: '+2348012345678'
                  address: 12 Marina Street
                  city: Lagos
                  postal_code: '100001'
                  state_or_province: LA
                  country: NG
      responses:
        '200':
          description: Payout initiated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayoutFiatResponse'
        '400':
          description: >-
            Missing Idempotency-Key, validation error, insufficient balance,
            unsupported bank, or below minimum
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConversionPayoutErrorResponse'
              example:
                status: error
                message: >-
                  amount, bank_code, account_number, and asset are required for
                  internal
                data: {}
        '404':
          description: address_reference does not match an active Stellar subwallet address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConversionPayoutErrorResponse'
              example:
                status: error
                message: Stellar subwallet address not found
                data: {}
        '409':
          description: >-
            Idempotency-Key reused with a different body, or the first request
            is still being processed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConversionPayoutErrorResponse'
              example:
                status: error
                message: Idempotency-Key was already used with a different request
                data: {}
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConversionPayoutErrorResponse'
              example:
                status: error
                message: Too many requests. Max 10 per 60s.
                data: {}
        '503':
          description: No MoneyGram anchor supports the asset
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConversionPayoutErrorResponse'
              example:
                status: error
                message: No withdrawal provider available for the selected asset
                data: {}
      security:
        - SignedAuth: []
components:
  schemas:
    PayoutFiatRequest:
      type: object
      required:
        - method
        - asset
        - amount
      properties:
        method:
          type: string
          enum:
            - internal
            - moneygram
        asset:
          type: string
          maxLength: 500
          description: >-
            Coin ID to pay out. internal: any coin you hold; moneygram: a
            MoneyGram-supported asset such as usdc.
          example: usdc
        amount:
          oneOf:
            - type: number
            - type: string
          description: >-
            internal: at least 20 units and $20 USD. moneygram: at least 15
            units.
          example: '100'
        reference:
          type: string
          maxLength: 500
          description: >-
            Stable per-end-user identifier. Stored as withdrawalReference; for
            moneygram it also selects the MoneyGram consumer.
          example: user-8821
        bank_code:
          type: string
          maxLength: 500
          description: Nigerian bank code. Required for internal.
          example: '090267'
        account_number:
          type: string
          maxLength: 500
          description: Required for internal.
          example: '0123456789'
        address_reference:
          type: string
          maxLength: 500
          description: >-
            moneygram: pay out from this Stellar subwallet address instead of
            your merchant wallet.
          example: slot-2
        first_name:
          type: string
          maxLength: 500
          description: moneygram, optional (pre-filled)
          example: John
        last_name:
          type: string
          maxLength: 500
          description: moneygram, optional (pre-filled)
          example: Doe
        dob:
          type: string
          maxLength: 500
          description: moneygram, optional. YYYY-MM-DD
          example: '1990-06-15'
        date_of_birth:
          type: string
          maxLength: 500
          description: Alias of dob
        mobile_number:
          type: string
          maxLength: 500
          description: moneygram, optional
          example: '+2348012345678'
        address:
          type: string
          maxLength: 500
          description: moneygram, optional
          example: 12 Marina Street
        city:
          type: string
          maxLength: 500
          description: moneygram, optional
          example: Lagos
        postal_code:
          type: string
          maxLength: 500
          description: moneygram, optional
          example: '100001'
        state_or_province:
          type: string
          maxLength: 500
          description: moneygram, optional
          example: LA
        country:
          type: string
          maxLength: 500
          description: moneygram, optional. ISO 3166-1 alpha-2
          example: NG
    PayoutFiatResponse:
      type: object
      required:
        - status
        - message
        - data
      properties:
        status:
          type: string
          example: success
        message:
          type: string
          example: success
        data:
          oneOf:
            - title: internal
              type: object
              properties:
                id:
                  type: string
                status:
                  type: string
                amount:
                  type: string
                asset:
                  type: string
                usdValue:
                  type: string
                bankName:
                  type: string
                bankCode:
                  type: string
                accountNumber:
                  type: string
                createdAt:
                  type: string
                  format: date-time
            - title: moneygram
              type: object
              properties:
                url:
                  type: string
                  description: Open this URL to let your user complete the payout
                transactionId:
                  type: string
                id:
                  type: string
                  nullable: true
    ConversionPayoutErrorResponse:
      type: object
      properties:
        status:
          type: string
          example: error
        message:
          type: string
        data:
          type: object
          nullable: true
  securitySchemes:
    SignedAuth:
      type: apiKey
      in: header
      name: authorization
      description: >-
        Signed (HMAC) authentication. Required headers: x-access-id,
        x-request-id (UUID v4), x-timestamp (ISO 8601, must be within 5 minutes
        of server time), and authorization: the Base64 HMAC-SHA256 of the JSON
        string
        {"timeStamp":"<x-timestamp>","requestId":"<x-request-id>","accessId":"<x-access-id>"}
        (keys in that order, no whitespace) using your access secret. The
        request body, method and path are not signed. The API key must be linked
        to an outlet.

````

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