Revoking Issued Cards

Learn how to revoke existing cards

In the event where a card has been wrongfully issued, or needs to be deactivated for some reason, this can be done using our Terminate an active card endpoint. In order to use the endpoint you'll need to know the ID of the card being terminated. This value is provided to you when the card is first issued, it can also be looked up using our List cards endpoint.

import os
import requests

API_URL = ""

headers = {
  "Authorization": f"Bearer {ACCESS_TOKEN}" 

card_id = "<your-card-id>"
response = requests.delete(API_URL + f"/cards/{card_id}", headers=headers)