Get Tokens

get
https://<PayEngine-host>
/api/cards
Get cards tokens
cURL
Response
curl --location --request GET 'http://<PayEngine-host>/api/cards' \
--header 'Authorization: Basic <YOUR_API_SECRET>'
​
​
{
"data": [
{
"id": "fde73a4c-fe1a-4157-9da3-db40827f6547",
"name": "Jane Smith",
"exp_month": 11,
"exp_year": 23,
"last_4": "1111",
"token": "card_test_D0jQN2liNIwond0WwUIL1jMo",
"brand": "visa",
"expires_at": "2022-11-21T19:16:41.050Z",
"created_at": "2022-02-12T03:30:44.558Z",
"address_zip": "90245"
},
{
"id": "9bed104f-dae2-455d-9642-f1fe5bf0a4c4",
"name": "Jane Smith",
"exp_month": 11,
"exp_year": 23,
"last_4": "1111",
"token": "card_test_jy4xO7FL19Re2w87dqHZtbuL",
"brand": "visa",
"created_at": "2022-02-12T03:30:40.921Z",
"address_zip": "90245"
},
​
],
"meta": {
"total": 2,
"current_page": 1,
"total_pages": 1
}
}