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 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
The card token to delete, from List saved card tokens.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
Export saved card tokens GET
Returns the saved-token list as a downloadable file rather than JSON — the same data as List saved card tokens, in a form you can hand to finance or diff against your own records. Because the respo…
Create token POST
Saves a card and returns a reusable cardToken you can charge later with Pay with token. Send the raw card details once; Kashier stores them and hands back only the token and a masked card number, s…