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

# Delete Bank Card

You can delete (deactivate) an existing bank card using the `deleteBankCard` mutation. This mutation requires the `MANAGE_PAYMENT` scope.

The `deleteBankCard` [mutation](/api-reference/overview) sets the status of a bank card to `INACTIVE`. Once deleted, the card cannot be used for transactions.

### Sample request

```json theme={null}
{
  "query": "mutation deleteBankCard($input: DeleteBankCardInput!) { deleteBankCard(input: $input) { bankCardId cardStatus }}",
  "variables": {
    "input": {
      "bankCardId": "0284be6f-1a69-44f7-9da0-5b5edaf45d19"
    }
  }
}
```

This mutation requires the `DeleteBankCardInput` input type. Any field marked with an exclamation mark (`!`) in the schema is mandatory and must be included in the request.

| Field name | Type  | Description                             |
| :--------- | :---- | :-------------------------------------- |
| bankCardId | UUID! | The unique identifier of the bank card. |

### DeleteBankCardInput

```Text JSON theme={null}
{
  "bankCardId": "0284be6f-1a69-44f7-9da0-5b5edaf45d19"
}
```

### Sample response

```json theme={null}
{
  "data": {
    "deleteBankCard": {
      "bankCardId": "0284be6f-1a69-44f7-9da0-5b5edaf45d19",
      "cardStatus": "INACTIVE"
    }
  }
}
```

<Warning>
  Deleting a bank card will deactivate it immediately. The card will no longer be available for any transactions or funding operations.
</Warning>
