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 Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.
In: header
Query Parameters
Current page number.
Number of tokens per page.
Sort direction — -1 newest first, 1 oldest first.
Value in
- 1
- -1
Response Body
application/json
application/json
application/json
application/json
application/json
Delete token DELETE
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}.{…
Export saved card tokens GET
Returns the saved-token list as a downloadable file rather than JSON — the same data as List saved card tokens, in a form you can hand to finance or diff against your own records.