> ## 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](https://storage.googleapis.com/fluz-public-docs/api-reference.html#group-Reference-Mutations) 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 status }}",
  "variables": {
    "input": {
      "bankCardId": "4111111111111111"
    }
  }
}
```

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": "abc123"
}
```

### Sample response

```json theme={null}
{
  "data": {
    "deleteBankCard": {
      "bankCardId": "4111111111111111",
      "cardholderName": "John Doe",
      "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>
