> For the complete documentation index, see [llms.txt](https://docs.cardspro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cardspro.com/api/cards/card-withdrawal.md).

# Card Withdrawal

Withdraws funds from a card back to user's account.

**Endpoint:** `POST /{san}/withdraw`

**Path Parameters:**

* `san` - Secure Account Number (card identifier)

**Content-Type:** `application/json`

**Request Body:**

```json
{
  "request_id": "request-id-12345",
  "currency": "USD",
  "amount": 3.82
}
```

**Request Parameters:**

<table><thead><tr><th width="147.111083984375">Field</th><th width="110">Type</th><th width="107.8887939453125">Required</th><th width="168.7777099609375">Constraints</th><th>Description</th></tr></thead><tbody><tr><td><code>request_id</code></td><td>String</td><td>Yes</td><td>12-36 characters</td><td>Unique request identifier</td></tr><tr><td><code>currency</code></td><td>String</td><td>Yes</td><td>USD, EUR</td><td>Currency code (must match card currency)</td></tr><tr><td><code>amount</code></td><td>Decimal</td><td>Yes</td><td>> 0.01</td><td>Amount to withdraw</td></tr></tbody></table>

**Response:**

```json
{
  "status": "INPROCESS",
  "type": "WITHDRAWAL",
  "docid": 216544,
  "request_id": "request-id-12345",
  "withdrawal": {
    "san": "90ce74932027804177",
    "amount": 3.82,
    "currency": "USD"
  },
}
```

**Response Parameters:**

<table><thead><tr><th width="203.6666259765625">Field</th><th width="180.1109619140625">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>type</code></td><td>String</td><td>Operation type (WITHDRAWAL)</td></tr><tr><td><code>status</code></td><td>String</td><td><p>Current status of the operation </p><p>(INPROCESS, EXECUTED, DECLINED)</p></td></tr><tr><td><code>docid</code></td><td>Number</td><td>Document ID for tracking the operation</td></tr><tr><td><code>request_id</code></td><td>String</td><td>The request ID provided in the request</td></tr><tr><td><code>withdrawal</code></td><td>Object</td><td>Withdrawal operation details</td></tr><tr><td><code>withdrawal.san</code></td><td>String</td><td>Secure Account Number (card identifier)</td></tr><tr><td><code>withdrawal.amount</code></td><td>Decimal</td><td>Amount withdrawn from the card</td></tr><tr><td><code>withdrawal.currency</code></td><td>String</td><td>Currency code (USD, EUR, etc.)</td></tr></tbody></table>
