Skip to content

Retrieve Tokenized Cards

Returns a list of tokenized cards together with their DPANs and token types.

URL test:

    https://test.lightcms.io/cms/v2/cards/tokenized

Method:

GET

Path items:

/cards/tokenized

Parameters:

Parameter Location Type Example Description Required
fromDate query string($date-time) 2025-08-12T11:49:03.397Z Yes
toDate query string($date-time) 2025-08-12T11:49:03.397Z Yes

Example:

    curl -X 'GET' \
    ' https://test.lightcms.io/cms/v2/cards/tokenized?fromDate=2025-08-12T11%3A49%3A03.397Z&toDate=2025-08-15T14%3A35%3A03.397Z' \
    -H 'accept: application/json'

Responses:

200 - OK

Status Code: 200 OK

[
{
    "cardid": 2191,
    "dpan": "0079",
    "tokenType": "GOOGLE_PAY"
}
]

Parameter Location Type Description
cardId integer Internal CMS identifier of the card.
dpan string DPAN of the tokenized card.
tokenType string Token category (e.g., APPLE_PAY, GOOGLE_PAY, OTHER).
500 - Internal error

Status Code: 500 Internal error

{
  "timestamp": "2025-07-22T13:09:02.348+02:00",
  "status": 500,
  "error": "Internal Server Error",
  "path": "/cms/v2/cards/tokenized"
}