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

# Terminate Card

> Permanently cancel a virtual card

Permanently terminates a virtual card. This action is irreversible. Withdraw any remaining balance before terminating.

```
POST https://api.yativo.com/api/v1/customer/virtual/cards/terminate
```

<Note>
  Requires an `Idempotency-Key` header.
</Note>

## Request Body

<ParamField body="cardId" type="string" required>
  The virtual card ID to terminate.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST 'https://api.yativo.com/api/v1/customer/virtual/cards/terminate' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
    -H 'Content-Type: application/json' \
    -H 'Idempotency-Key: terminate-card-001' \
    -d '{
      "cardId": "card_01HX9KZMB3F7VNQP8R2WDGT4E5"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "status": "success",
    "status_code": 200,
    "message": "Card terminated successfully",
    "data": {
      "card_id": "card_01HX9KZMB3F7VNQP8R2WDGT4E5",
      "status": "terminated"
    }
  }
  ```
</ResponseExample>

<Warning>
  Card termination is permanent and cannot be undone. Withdraw remaining funds before terminating.
</Warning>
