---
updatedAt: 2026-06-05T22:10:56.000Z
agentTools:
  projectIndex: https://docs.astra.finance/llms.txt
---

# Delete a Card

> 📘
>
> You can place the bearer `access_token` for a specific user into the Authentication section of this documentation 👉.

This endpoint deletes a debit card by way of a card's unique ID. If the card is successfully deleted, you'll receive an HTTP 200 OK response.

> 🚧
>
>  Astra will only delete cards that were added by the requesting OAuth Client. End-users can delete cards through the Web App.

> ❗️
>
>  A card can only be deleted if there are no active routines or pending transfers associated with it.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Astra Developer API",
    "description": "Astra's public API endpoints available to our customers.",
    "version": "1.0.0"
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "headers": {
      "request-id": {
        "description": "Unique ID returned with each API response",
        "schema": {
          "type": "string"
        }
      }
    },
    "schemas": {
      "generic_error": {
        "type": "object",
        "properties": {
          "code": {
            "description": "Response code",
            "type": "integer"
          },
          "name": {
            "description": "Name of response code",
            "type": "string"
          },
          "description": {
            "description": "Error message",
            "type": "string"
          }
        }
      }
    },
    "examples": {
      "generic_error_unauthorized": {
        "summary": "Invalid or Expired Access Token",
        "value": {
          "code": 401,
          "name": "Unauthorized",
          "description": null
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api-sandbox.astra.finance",
      "description": "Sandbox Environment"
    },
    {
      "url": "https://secure.api-sandbox.astra.finance",
      "description": "Secure Sandbox URL"
    }
  ],
  "tags": [
    {
      "name": "Cards"
    }
  ],
  "paths": {
    "/v1/cards/{id}": {
      "delete": {
        "tags": [
          "Cards"
        ],
        "summary": "Delete a Card",
        "description": "> 📘\n>\n> You can place the bearer `access_token` for a specific user into the Authentication section of this documentation 👉.\n\nThis endpoint deletes a debit card by way of a card's unique ID. If the card is successfully deleted, you'll receive an HTTP 200 OK response.\n\n> 🚧\n>\n>  Astra will only delete cards that were added by the requesting OAuth Client. End-users can delete cards through the Web App.\n\n> ❗️\n>\n>  A card can only be deleted if there are no active routines or pending transfers associated with it.\n",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique ID of the Card",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response"
          },
          "401": {
            "description": "Unauthorized",
            "headers": {
              "request-id": {
                "$ref": "#/components/headers/request-id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/generic_error"
                },
                "examples": {
                  "generic_error_unauthorized": {
                    "$ref": "#/components/examples/generic_error_unauthorized"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```