Tokens

deleteTokensId

DELETE
/tokens/{id}

Delete a Token, which is a resource that acts as a storage place for credit card and customer information, allowing you to run Transactions.

Authorization

APIKEY<token>

In: header

Path Parameters

id*string

The ID of this token.

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Response Body

application/json

application/json

curl -X DELETE "https://example.com/tokens/p1_tok_00c82eb304b0067620c82be"
{  "response": {    "data": [      {        "id": "p1_tok_00c82eb304b0067620c82be",        "created": "2025-03-05 06:00:03.0273",        "modified": "2025-03-05 06:00:03.0273",        "creator": "t1_log_00c82eb304b0067620c8",        "modifier": "t1_log_00c82eb304b0067620c8",        "customer": "t1_cus_00c82eb304b0067620c7",        "payment": "p1_pmt_67c802b1b662567771cf8e0",        "status": "pending",        "token": "11c6a6d85f0a20c31e4c49e461066850",        "omnitoken": "123",        "track": "",        "cvv": "",        "expiration": "0123",        "name": "test",        "description": "test Token",        "custom": "Custom Token Processor 1",        "authTokenCustomer": "",        "accountUpdaterEligible": 1,        "inactive": 0,        "frozen": 0,        "origin": "2",        "entryMode": 2      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}