Tokens

Retrieve tokens

Retrieves a customer's saved card tokens and info. The request is validated with a Kashier-Hash header — an HMAC SHA256 of the path /?tokenization={mid}.{customerReference} keyed with your Payment API Key (not the Secret Key). Use only those parameters in the hash creation; don't add extra parameters. A customer with no saved card returns 400 with "There are no cards with this token" — an empty result, not an auth failure.

get/v3/cards/customer

Request

  • Base URL: https://test-fep.kashier.io
  • URL: https://test-fep.kashier.io/v3/cards/customer
  • Auth: none required

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

The customer's saved card tokens.

statusstring

Changes

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