KashierDevelopersKashier Developers

Delete a saved card token

curl -X DELETE "https://test-api.kashier.io/v3/payment/tokenization/tokens/string"
{  "message": "success"}

Removes a saved card token. Any recurring charge that still references it fails afterwards, so cancel the billing arrangement on your side first.

Deleting the token is also how you honour a customer asking you to stop storing their card. This is the dashboard-host, secret-key counterpart of DELETE /v3/cards/tokens/{token} on the checkout host, which uses a Kashier-Hash instead.

Authorization

secretKey
Authorization<token>

Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).

In: header

Path Parameters

token*string

The card token to delete, from List saved card tokens.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

DELETE
/v3/payment/tokenization/tokens/{token}