Tokenized cards by users (and optional merchant)
Obtains all tokenized cards (tokens) by an user and a merchant
GET {BASE_URL}/token/get-tokens
Headers
Name
Value
Content-Type
application/json
X-Api-Key
API Key <xxx>
Sample URL (Including optional fields)
Query Params
Type
Name
Description
Conditions
string
userId
Unique user identifier
Required
string
merchantId
Unique merchant identifier
Optional
string
paginationToken
Pagination token to continue querying on next page
Optional
Response
{
"items": [
{
"id": "980000012-25-f63113b3-cd31-4d08-88e0-2ad15d51b9f7",
"userId": "user2",
"merchantId": "980000012",
"processor": "GPS_PROCESADOR_CKB",
"expirationDate": "2025-12-31T18:31:16.936Z",
"token": "123456789658165678",
"tokenType": "RECURRENT_PAYMENT",
"validToken": false
},
{
"id": "980000012-25-f5529a98-660a-41aa-8dda-3b39d7990e65",
"userId": "user2",
"merchantId": "980000012",
"processor": "GPS_PROCESADOR_CKB",
"expirationDate": "2025-12-31T18:31:16.936Z",
"token": "123456789658165678",
"tokenType": "RECURRENT_PAYMENT",
"validToken": false
}
],
"paginationToken": null,
"paginationSize": 50,
"totalItems": 2
}Last updated