Delete token
curl -X DELETE "https://test-fep.kashier.io/v3/cards/tokens/string?customerReference=string&merchantId=string"{ "status": "SUCCESS", "messages": { "en": "Token deleted successfully.", "ar": "Token deleted successfully." }, "response": { "token": "00000000-0000-4000-8000-000000000010", "merchantId": "MID-XXXXX-XXX", "customerReference": "01000000000" }}Removes a saved card token — useful for removing an expired card, a new card, or a stolen card's old information. Send a Kashier-Hash header — an HMAC SHA256 hash of the path /?tokenization={mid}.{reference} keyed with your Payment API Key. Use only those parameters in the hash creation; don't add extra parameters.
Authorization
kashierHash A request hash you compute on your server — an HMAC SHA256 keyed with your Payment API Key — sent in the Kashier-Hash header. It is computed per request, so it is not a stored credential. See the hashing guide for the string to sign.
In: header
Path Parameters
the card token you have saved before
Query Parameters
your customer Id
your merchant Id
Response Body
application/json
application/json
application/json
application/json
Get token GET
Retrieves a single saved card token by its value, returning the masked card number, expiry, and cardholder name. Use it to show a customer which card is on file before charging it, or to check that…
List saved card tokens GET
Lists every card token saved on your merchant account, with the agreement each one was saved under. Use it to audit or reconcile the tokens you hold on file. To show one customer's saved cards at c…