v1

latestOpenAPI 3.0.0ISC2026-07-249501.1 MB
Ecommerce

Delete card tokens

Allows you to delete card or terminal tokens from the card vault.

<!-- theme: info -->

📘 Note

Cards registered with the account updater service may take up to 72 hours to be removed.

<!-- theme: warning -->

⚠️ Try It

To use the Try It feature for this endpoint, you can use the credentials for your Sandbox API user.<br/><br/>You can also use the following test account. Copy the value and paste it into the appropriate space in the Try It section to the right. username: docs@nexiopay.com password: JZdzoXpdDeH6VA<br/><br/>Include an array of one or more existing card or terminal tokens in the body of the request.

<div style="display:none;">

Request parameters

  • tokens

Response parameters

  • key
  • message
  • status
  • error
  • error.0
  • error.0.message
  • error.0.tableName
  • error.1
  • error.1.message
  • error.1.cardError
</div>
post/pay/v3/deleteToken

Request body

tokensstring[] required

An array of card or terminal tokens.

Example request

{
  "tokens": [
    "p6711abg-41fd-m56a-81a1-t0k3n287799b"
  ]
}

Response

Success

keystring

The card or terminal token that has been deleted.

messagestring

A message indicating the status of the request, such as "Successfully removed from vault" or "Unable to find token".

statusstring

The status of the request. Value may be success or failure.

Example response

[
  {
    "key": "p6711abg-41fd-m56a-81a1-t0k3n287799b",
    "message": "Successfully removed from vault",
    "error": {
      "0": {
        "message": "item not found",
        "tableName": "[table_info]"
      },
      "1": {
        "message": "Saved Card Token not found key: [token]"
      }
    },
    "status": "success"
  }
]