Refresh token metadata
Re-run the issuer metadata inquiry for a Commerce token and return the updated token.
Issuer metadata is resolved once when the token is created. Use this endpoint when you need the token re-checked against the current issuer data — for example after a portfolio migration on the issuer side. The inquiry can update bank_name, segment, type, currency_code, country_code, issuer_identification_number and scheme.
Issuer metadata is only resolved if metadata inquiries are active for your account. If the inquiry does not return data, the card scheme is derived from the IIN and the remaining issuer fields keep their previous values.
Authorizations
Path Parameters
The ID of the Commerce token
Response
Success response
The ID of the Commerce Token
"5d6b2c9a-9b0b-4b0c-8c7d-9e9d5d7e9d5d"
The date-time the payment-method was created (following ISO 8601)
"2023-10-01T00:00:00Z"
The number of month in a year (e.g. April is 4)
4
The year given as four digit number (e.g. 2023)
2033
The issuer idenfication number (IIN) - also known as BIN
"424242"
The full lenght of the card number, but masked to conform to PCI DSS requirments
"424242******4242"
The scheme in which the card was issued
VISA, Mastercard, American Express, Discover, Diners Club, JCB, UnionPay, Unknown The name of the owner of the card
"John Doe"
The URL of the card art image for this token.
Use the URL as it is given to you. It needs no API key, so it can be
rendered directly by a browser. It is null when the issuer provides
no card art for the card.
"https://api.hellgate.io/tokens/card-art/374c911a-8125-40eb-acb8-a26efd25f02b"
The date-time when the token will expire. Applicable only for ephemeral tokens.
"2023-10-07T00:00:00Z"
The time the Commerce Token was invalidated, because the underlying payment instrument was invalidated by the scheme.
null
Last four digits of the card number
"4242"
The total number of digits in the card number
16
The name of the issuing bank.
This information is present if metadata inquiries are active for your account.
"Example Bank"
The segment or category of the card.
This information is present if metadata inquiries are active for your account.
consumer, commercial "consumer"
The status of this Commerce token.
active, invalid The funding type of the card.
This information is present if metadata inquiries are active for your account.
credit, debit, prepaid, charge, deferred, unknown A two letter country code. ISO 3166-1 alpha-2
"US"
The status of the associated network token.
active, inactive, pending, deleted, failed, not_available The type of ID&V submitted during the creation of the Commerce token..
none, checked, skipped "federated_id"
true
This attribute holds the original business key under which the cardholder data was stored on the system from which it was imported to Commerce.
It can be used for reconciliation or reference purposes.
"cust-0042-card-1"
The source from which the cardholder data was imported from.
The business_key attribute will refer to the original ID at this provider.
"legacy-vault"