KashierDevelopersKashier Developers

List saved card tokens

curl -X GET "https://test-api.kashier.io/v3/payment/tokenization/tokens?page=1&limit=20"
{  "message": "success",  "data": [    {      "cardHolderName": "John Doe",      "token": "00000000-0000-4000-8000-000000000015",      "agreementId": "507f1f77bcf86cd799439018",      "customerReference": "12345",      "agreementType": "UNSCHEDULED",      "agreementExpiry": "N/A",      "cardNumber": "512345******2346"    },    {      "cardHolderName": "TEST",      "token": "00000000-0000-4000-8000-000000000014",      "agreementId": "507f1f77bcf86cd799439019",      "customerReference": "123456",      "agreementType": "RECURRING",      "agreementExpiry": "2024-11-14T15:47:29.448Z",      "cardNumber": "512345******2346"    }  ],  "pagination": {    "total": 2,    "limit": 20,    "page": 1,    "pages": 1  }}

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 checkout, use Retrieve tokens instead.

Card numbers are returned masked.

Authorization

secretKey
Authorization<token>

Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.

In: header

Query Parameters

page?integer

Current page number.

limit?integer

Number of tokens per page.

sortType?integer

Sort direction — -1 newest first, 1 oldest first.

Value in

  • 1
  • -1

Response Body

application/json

application/json

application/json

application/json

application/json

GET
/v3/payment/tokenization/tokens