Tokens

Delete token

Removes a saved card token — useful for removing an expired card, a new card, or a stolen card's old information. The request is validated with a Kashier-Hash header — an HMAC SHA256 hash of the path /?tokenization={mid}.{reference} generated from your backend with your secret. Use only those parameters in the hash creation; don't add extra parameters.

delete/v3/cards/tokens/{token}

Request

  • Base URL: https://test-fep.kashier.io
  • URL: https://test-fep.kashier.io/v3/cards/tokens/{token}
  • Auth: none required

Path parameters

tokenstring required

the card token you have saved before

Query parameters

customerReferencestring required

your customer Id

merchantIdstring required

your merchant Id

Headers

Kashier-Hashstring required

Order hash generated from your backend using the HMAC SHA256 crypto mechanism, as described in the Kashier hashing documentation.

Response

Token deleted successfully.

statusstring

Changes

No recorded changes to this operation across all 1 revision of this API.