Tokens

Get token

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 a token is still valid. To list every token a customer has saved, use Retrieve tokens instead. The request is validated with a Kashier-Hash header — an HMAC SHA256 hash of the path /?tokenization={merchantId}.{customerReference} generated from your backend with your secret. Use only those parameters in the hash creation; don't add extra parameters.

get/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

merchantIdstring required

your merchant Id

customerReferencestring

your customer 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

The saved card token.

statusstring

Changes

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