Retrieving token details

One a token is created, it is possible to obtain its details by calling the token summary service.

Example of a GET ALIAS call:

GET https://secure.lyra.com/marketplace/marketplaces/9537e049-8862-400a-ae8d-da2ec9ca6051/alias/1144951ea7ab42989c97159b3dfc0382

Example of a GET ALIAS response:

 {
	"brand": "CB",
	"expiry_month": "6",
	"expiry_year": "2023",
	"number": "497010XXXXXX0000",
	"first_name": "John",
	"last_name": "Smith",
	"email": "john.smith@lyra.fr",
	"creation_date": “2019-01-21T16:01:19Z"
}

Another example with an IBAN type token:

{
    "brand": "SDD",
    "expiry_month": "5",
    "expiry_year": "2023",
    "number": "FR7630002005701234567890158_CRLYFRPPXXX",
    "first_name": "John",
    "last_name": "Smith",
    "email": “john.amith@lyra.fr",
    "creation_date": "2020-05-12T14:24:13Z"
 }