• France
status page
Demo shops
assistance
FAQContact support
Search
Categories
Tags
Europe (English)
France
Spain
Europe (English)
India
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
SDD mandates by REST API
Snippets
Payment methods
Plugins
Marketplace
Guides
Merchant Back Office
Back Office Expert
Functional guides

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"
 }
Jobs
Legal
GDPR
25.18-1.11