> ## Documentation Index
> Fetch the complete documentation index at: https://docs.localpayment.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Tokenized Card

This endpoint deletes a previously tokenized card, permanently removing the token and its associated card details from your account. This action cannot be undone.


## OpenAPI

````yaml openapi/localpayment.json DELETE /api/card
openapi: 3.1.0
info:
  version: '1.0'
  title: Localpayment
  contact:
    name: Support
    url: mailto:support@localpayment.com
servers:
  - url: https://api.stage.localpayment.com
    description: Stage
security:
  - token: []
paths:
  /api/card:
    delete:
      summary: Delete Tokenized Card
      operationId: delete-card
      parameters:
        - name: Authorization
          in: header
          description: >-
            Bearer access token for authentication. This token is obtained from
            the [Get Access Token](/reference/get-token) or [Refresh Access
            Token](/reference/refresh-token) endpoints.
          required: true
          schema:
            type: string
        - name: token
          in: query
          description: Card token.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    description: List of errors that occurred during the transaction.
                    items:
                      type: object
                x-examples:
                  Example 1:
                    errors: []
              examples:
                Delete card.:
                  value:
                    errors: []
        '400':
          description: Bad Request.
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    description: List of errors that occurred during the transaction.
                    items:
                      type: object
                      properties:
                        errorCode:
                          type: string
                          description: Error code.
                        description:
                          type: string
                          description: Error description.
                        detail:
                          type: string
                          description: Error details.
                x-examples:
                  Example 1:
                    errors:
                      - errorCode: '801'
                        description: REJECTED
                        detail: Params error chd null
              examples:
                801 - Params error chd null.:
                  value:
                    errors:
                      - errorCode: '801'
                        description: REJECTED
                        detail: Params error chd null
                301 - Empty mandatory param token.:
                  value:
                    errors:
                      - errorCode: '301'
                        description: REJECTED
                        detail: Empty mandatory param token
      security:
        - token: []
      servers:
        - url: https://api.stage.localpayment.com
          description: Stage
components:
  securitySchemes:
    token:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.