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 sets the status of a bank card to INACTIVE. Once deleted, the card cannot be used for transactions.

Sample request

{
  "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 nameTypeDescription
bankCardIdUUID!The unique identifier of the bank card.

DeleteBankCardInput

{
  "bankCardId": "abc123"
}

Sample response

{
  "data": {
    "deleteBankCard": {
      "bankCardId": "4111111111111111",
      "cardholderName": "John Doe",
      "cardStatus": "inactive"
    }
  }
}
⚠️

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



Want to learn more? Contact us at [email protected]

Speak with our experts for more info or to request a demo.