v1

latestOpenAPI 3.0.32026-07-248257161.1 KB
CardTokenization

Returns list of saved card

This API returns the list of saved cards. Card are saved as a token. Tokens can be used to trigger a transaction

get/cards

Query parameters

customer_idstring uuid required

Unique identifier of the customer

Headers

X-Amzn-Trace-Idstring

HTTP request identifier allow to trace individual request sent from client to service.

Response

returns list of cards.

cardIdstring uuid

card Id returned in the response body by "#/tokenized-cards".

last4digitsstring

the last $ digits of the tokenized card

typestring

The type of card. E.g Visa, mastercard

expirystring

The card expiration date

Example response

{
  "cardId": "fbd2053b-638d-4133-957e-3caf63e6b79c",
  "type": "Visa",
  "expiry": "09/26"
}