Retrieving token details
One a token is created, it is possible to obtain its details by calling the token summary service.
GET /marketplaces/{marketplace}/alias/{alias}
Example:
Request
GET https://secure.lyra.com/marketplace/marketplaces/9537e049-8862-400a-ae8d-da2ec9ca6051/alias/1144951ea7ab42989c97159b3dfc0382
Response
{ "brand": "CB", "expiry_month": "6", "expiry_year": "2023", "number": "497010XXXXXX0000", "first_name": "Jean", "last_name": "Dupond", "email": "jean.dupond@lyra.fr", "creation_date": "2019-01-21T16:01:19Z" }
Another example response file with an IBAN type token:
{ "brand": "SDD", "expiry_month": "5", "expiry_year": "2023", "number": "FR7630002005701234567890158_CRLYFRPPXXX", "first_name": "Jean", "last_name": "Dupond", "email": "jean.dupond@lyra.fr", "creation_date": "2020-05-12T14:24:13Z" }