---
updatedAt: 2026-04-23T13:43:44.000Z
agentTools:
  projectIndex: https://docs.br-dge.io/llms.txt
---

# Delete a Card-on-File

Delete a BR-DGE Card-on-File. Please note that any associated Network Tokens will also be deleted.


# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "BR-DGE Payment Instrument REST API",
    "description": "REST API that deals with everything related to payment instrument tokenization\n",
    "version": "v1.0.0",
    "contact": {
      "name": "Customer Support",
      "url": "https://comcarde.atlassian.net/servicedesk/customer/portals"
    },
    "license": {
      "name": "MIT",
      "url": "https://docs.br-dge.io/docs/openapi-license"
    }
  },
  "servers": [
    {
      "url": "https://sandbox.comcarde.com/v1",
      "description": "Sandbox subdomain for testing your integration works as expected, using mock payment instruments only.\n"
    },
    {
      "url": "https://secure.comcarde.com/v1",
      "description": "Use this subdomain for processing live payments in the EU region."
    },
    {
      "url": "https://secure-amer-01.api.br-dge.io/v1",
      "description": "Use this subdomain for processing live payments in the NA region."
    }
  ],
  "tags": [
    {
      "name": "Payment Instrument Tokenization",
      "description": "Payment instrument tokenization is the practice of securely storing card details, and providing a unique token that can be used in place of the raw payment instrument.\n"
    }
  ],
  "externalDocs": {
    "url": "https://docs.br-dge.io"
  },
  "paths": {
    "/payment-instruments/{token}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/pathToken"
        }
      ],
      "delete": {
        "tags": [
          "Payment Instrument Tokenization"
        ],
        "summary": "Delete a Card-on-File",
        "operationId": "deleteTokenizeInstrument",
        "description": "Delete a BR-DGE Card-on-File. Please note that any associated Network Tokens will also be deleted.\n",
        "security": [
          {
            "ClientApiKey": []
          },
          {
            "ServerApiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful deletion of Card-on-File."
          },
          "400": {
            "description": "Unsuccessful deletion of Card-on-File - bad request"
          },
          "404": {
            "description": "Card-on-File not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "Token was not found": {
                    "value": {
                      "code": "4000",
                      "message": "Request Error: The request is invalid",
                      "additionalErrorDetails": "Could not find payment instrument for given token",
                      "id": "67e2af7457c0ae02dda9f54b768fbccf"
                    },
                    "description": "This example shows the 4000 BR-DGE response code when attempting to delete a token that does not exist or has already been removed.\n"
                  }
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/UnknownServerError"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "title": "ErrorResponse",
        "type": "object",
        "properties": {
          "additionalErrorDetails": {
            "type": "string",
            "description": "Additional information that may sometimes be returned about the reason an error occurred."
          },
          "code": {
            "$ref": "#/components/schemas/Code"
          },
          "id": {
            "$ref": "#/components/schemas/RequestId"
          },
          "message": {
            "$ref": "#/components/schemas/Message"
          },
          "validationErrors": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "An object that contains validation errors"
          }
        }
      },
      "Message": {
        "type": "string",
        "description": "A description of the outcome of the request."
      },
      "RequestId": {
        "type": "string",
        "description": "The ID of this request. If you can include these when querying the outcome of individual requests, we can track down the root cause faster.\n",
        "example": "a7f45953-1e8b-4f33-87b0-3293f4f6972f"
      },
      "Code": {
        "type": "string",
        "description": "[Response Code](https://docs.br-dge.io/docs/response-codes) signifying the outcome of the request.",
        "example": "1000"
      }
    },
    "responses": {
      "UnknownServerError": {
        "description": "An internal server error occurred upstream while processing the request.\n\nIf you have any questions about why you are receiving these responses, please raise a ticket with support on the BR-DGE Support Portal at <https://comcarde.atlassian.net/servicedesk/customer/portals> with the `id` from the response so we track down the individual requests on our end.\n",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "Internal server error": {
                "description": "This example shows the [5001 error code]\n\nA full list of possible response codes is available [here].\n\n[5001 error code]: https://docs.br-dge.io/docs/response-codes#5001\n[here]: https://docs.br-dge.io/docs/response-codes\n",
                "value": {
                  "code": "5001",
                  "message": "Unexpected error",
                  "id": "4fad8e2e06a15656"
                }
              }
            }
          }
        }
      }
    },
    "parameters": {
      "pathToken": {
        "name": "token",
        "in": "path",
        "required": true,
        "description": "Multi-use token associated with the Card on File.\n",
        "schema": {
          "type": "string"
        },
        "example": "e8ac1dd4-6f4d-456f-8263-91051bb43cdc"
      }
    },
    "securitySchemes": {
      "ServerApiKey": {
        "type": "http",
        "scheme": "bearer",
        "description": "Operations intended for use by Merchant servers.\n\n**IMPORTANT** This key allows you to perform sensitive operations such as authorizing payments and refunds.\n\n**Production Server API keys must not be accessible outside your organization.**\n"
      },
      "ClientApiKey": {
        "type": "http",
        "scheme": "bearer",
        "description": "Separate Client API keys will be provided for use in client applications to support certain features that need to happen in untrusted client environments.\n\nClient API keys provide restricted permissions to ensure they cannot be misused.\n"
      }
    }
  }
}
```