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

# Request a withdrawal

> Move a balance out to any external address, on any network your wallets work on, Solana included.

Sends money from your master wallet, or from one of your users' addresses, to an address outside Minisend.

> [!WARNING]
>
> Call this from your server only, never from a browser or app, so your API key stays secret.

You name the address in each request. There's no list of addresses to approve first, so your users can withdraw to their own wallets through your product. The one thing we refuse is an address that belongs to your own account: use a [transfer](https://docs.minisend.xyz/api-reference/wallet-api/transfers.md) to move money between your users.

> [!WARNING]
>
> Because any address is allowed, a key with the `withdraw` permission can send your balance anywhere. Turn that permission on only for the keys that need it, keep them on your server, and revoke a key straight away if you think it's been exposed.

## Endpoint

```text theme={null}
POST https://merchant.minisend.xyz/api/v1/withdrawals
```

```text theme={null}
Authorization: Bearer wsk_live_your_key_here
```

The key needs the `withdraw` permission (scope). It's off on every key to start with, including older keys, so turn it on only for a key that should be able to send money out.

## Body

**source** `string` *required*

`"master"` to withdraw from your master wallet, or the `walletRef` of the address to withdraw from.

**chain** `string` *required*

The network to send on: `BASE`, `MATIC`, `ARB`, `OP`, `ETH`, `AVAX`, `ARC`, or `SOL` for Solana.

**token** `string` *required*

`USDC` or `USDT`.

**amount** `number` *required*

A positive amount of the coin. If it has more decimal places than the coin allows, we refuse it rather than round it, because rounding could send more than you meant to.

**destination\_address** `string` *required*

The address to send to. It has to be an address on the network in `chain`: a `0x` address everywhere except Solana, and a Solana address on `SOL`. It can't be one of your own addresses.

**idempotency\_key** `string`

Any text unique to this withdrawal. If you send the same key with the same request again, you get the original withdrawal back instead of a second one. Sending it with a different `source`, `chain`, `token`, `amount`, or `destination_address` is refused with `409`.

## Example

```bash theme={null}
curl -X POST https://merchant.minisend.xyz/api/v1/withdrawals \
  -H "Authorization: Bearer wsk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "source": "master",
    "chain": "BASE",
    "token": "USDC",
    "amount": 50,
    "destination_address": "0x9f2c000000000000000000000000000000dead"
  }'
```

## Minimum amounts

| Network | Smallest withdrawal |
| - | - |
| Base, Polygon, Arbitrum, Optimism, Arc | 0.1 |
| Avalanche | 0.5 |
| Solana | 0.5 |
| Ethereum | 20 |

## Withdrawing on Solana

On Solana you send from the wallet's `solana_address` (or your Solana master wallet), so pass `chain: "SOL"`. A few things work differently there:

* **Send to a wallet address, not a token account.** On Solana, each wallet holds a coin in a separate account linked to it. If you send to one of those token accounts directly instead of the wallet it belongs to, the money can be lost, so we refuse it with a `400`. Ask your user for their main wallet address.
* **Keep the address exactly as it is.** Solana addresses are case-sensitive. Changing a letter from upper to lower case gives you a different address that nobody owns.
* **The first payment to a new address costs a little more.** When an address has never held that coin, the network charges a one-time fee of about \$0.30 to set it up. We pass it on at cost. That's why the smallest Solana withdrawal is 0.5.

## Response (202)

```json theme={null}
{
  "withdrawal": {
    "id": "9f2c4e1a-...",
    "state": "queued",
    "source": "master",
    "chain": "BASE",
    "token": "USDC",
    "amount": "50.000000",
    "destination_address": "0x9f2c000000000000000000000000000000dead",
    "tx_hash": null,
    "created_at": "2026-09-28T09:00:00.000Z",
    "updated_at": "2026-09-28T09:00:00.000Z"
  }
}
```

You get `202`, not `200`, because we've accepted the withdrawal and send it shortly after. Check [get a withdrawal](https://docs.minisend.xyz/api-reference/wallet-api/get-withdrawal.md) or wait for [`wallet.withdrawal.completed`](https://docs.minisend.xyz/wallet-api/webhooks) to see how it went. If you send an `idempotency_key` you've used before, you get `200` with the original withdrawal.

**state** `string` *required*

`queued`, `sending`, `completed`, or `failed`.

**source** `string`

What you sent: `"master"`, or the `walletRef` the money came from.

**tx\_hash** `string`

The blockchain transaction ID, once sent. `null` until then, and when `failed`.

## Listing your withdrawals

```text theme={null}
GET https://merchant.minisend.xyz/api/v1/withdrawals
```

Needs a key with `wallets:read`.

**limit** `number` (default: 20)

How many to return at once, up to 100.

**offset** `number` (default: 0)

How many to skip. Use it to get the next page.

```json theme={null}
{
  "withdrawals": [ { "id": "9f2c4e1a-...", "state": "completed", "...": "..." } ],
  "total": 12,
  "limit": 20,
  "offset": 0
}
```

Each one has the same fields as the response above.

## Errors

| Status | Meaning |
| - | - |
| `400` | Something isn't right: the request fields, an address that doesn't fit the network, an amount below the network's minimum, more than you have available, the address is one of your own, or (on Solana) the address is a token account |
| `401` | Your API key is missing or wrong |
| `403` | Your key doesn't have the `withdraw` permission, or your account is switched off |
| `404` | You don't have a wallet on that network, or there's no address with that `walletRef` |
| `409` | The `idempotency_key` was already used for a different request, or this withdrawal was already sent |
| `429` | Too many requests. Wait a moment and try again |
| `503` | We couldn't check your balance, check a Solana address, or send the withdrawal just now. Try again |


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