Tokens by merchant and date range
Retrieve all tokens for tokenized cards by a merchant within a date range.
GET {BASE_URL}/token/date-range
Headers
Name
Value
Content-Type
application/json
X-Api-Key
API Key <xxx>
Sample URL (Includes optional params)
Type
Name
Description
Condition
string
merchantId
Unique merchant identifier
Required
date
startDate
Initial date range. It must be in ISO-8601 format with time zone (OffsetDateTime type).
For example:
2025-04-10T16:47:32.123-05:00
2025-04-10T21:47:32.123Z
Optional
date
endDate
Final date range. It must be in ISO-8601 format with time zone (OffsetDateTime type).
For example:
2025-04-10T16:47:32.123-05:00
2025-04-10T21:47:32.123Z
Required
base64 string
paginationToken
Pagination token to continue querying on next page
Optional
Response
{
"items": [
{
"id": "980002372-25-393eaa61-012f-4b5a-8104-2fde57a764bc",
"userId": "user1",
"merchantId": "980002372",
"processor": "GPS_PROCESADOR_CKB",
"expirationDate": "2025-12-31T18:31:16.936Z",
"token": "123456789658165678",
"tokenType": "RECURRENT_PAYMENT",
"validToken": true
},
{
"id": "980002372-25-56675b7f-305e-4e1f-b31f-b8336ef3726e",
"userId": "user1",
"merchantId": "980002372",
"processor": "GPS_PROCESADOR_CKB",
"expirationDate": "2025-12-31T18:31:16.936Z",
"token": "123456789658165678",
"tokenType": "RECURRENT_PAYMENT",
"validToken": true
}
],
"paginationToken": "eyJvcGVyYXRpb25UeXBlU3RhdHVzUmVxdWVzdERhdGUiOiJTOlRPS0VOI1ZBTElEIzIwMjUtMDUtMjBUMTg6NTM6MDMuMDI2MjY4NDgyWiIsIlNLIjoiUzo5ODAwMDIzNzItMjUtNTY2NzViN2YtMzA1ZS00ZTFmLWIzMWYtYjgzMzZlZjM3MjZlIiwiUEsiOiJTOjk4MDAwMjM3Mi0yNSJ9",
"paginationSize": 2,
"totalItems": 2
}Last updated