The Token object Preview
Attributes
- idstring
Unique identifier for the object.
- objectstring
String representing the object’s type. Objects of the same type share the same value.
- cardstringExpandable
Card associated with this token.
- createdtimestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
- device_
fingerprintnullable string The hashed ID derived from the device ID from the card network associated with the token.
- last4nullable string
The last four digits of the token.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - networkenum
The token service provider / card network associated with the token.
Possible enum valuesmastercard
MasterCard token service provider.
visa
Visa token service provider.
- network_
datanullable objectPreview featureExpandable Additional details obtained from the network about the token, primarily related to the token creation process. For security reasons, this is only available to view in the first 24 hours after token creation, based on the
created
value, and will be omitted unless you explicitly request it with theexpand
parameter. Additionally, it’s only available via the “Retrieve a token” endpoint and “Update a token status” endpoint.- network_data.
devicenullable object Data about the device at the instance of provisioning this token.
- network_data.
device. device_ fingerprintnullable string An obfuscated ID derived from the device ID.
- network_data.
device. ip_ addressnullable string The IP address of the device at provisioning time.
- network_data.
device. locationnullable string The geographic latitude/longitude coordinates of the device at provisioning time. The format is [±]decimal/[±]decimal.
- network_data.
device. namenullable string The name of the device used for tokenization.
- network_data.
device. phone_ numbernullable string The phone number of the device used for tokenization.
- network_data.
device. typenullable enum The type of device used for tokenization.
Possible enum valuesother
Device is some other form factor, such as tablet or laptop.
phone
Device is a mobile phone or phone form factor.
watch
Device is a watch or watch form factor.
- network_data.
mastercardnullable object If this is a
mastercard
network token, this hash contains tokenization data specific to this card network.- network_data.
mastercard. card_ reference_ idnullable string A unique reference ID from MasterCard to represent the card account number.
- network_data.
mastercard. token_ reference_ idstring The network-unique identifier for the token.
- network_data.
mastercard. token_ requestor_ idstring The ID of the entity requesting tokenization, specific to MasterCard.
- network_data.
mastercard. token_ requestor_ namenullable string The name of the entity requesting tokenization, if known. This is directly provided from MasterCard.
- network_data.
typeenum The network that the token is associated with. An additional hash is included with a name matching this value, containing tokenization data specific to the card network.
Possible enum valuesmastercard
MasterCard token service provider.
visa
Visa token service provider.
- network_data.
visanullable object If this is a
visa
network token, this hash contains tokenization data specific to this card network.- network_data.
visa. card_ reference_ idstring A unique reference ID from Visa to represent the card account number.
- network_data.
visa. token_ reference_ idstring The network-unique identifier for the token.
- network_data.
visa. token_ requestor_ idstring The ID of the entity requesting tokenization, specific to Visa.
- network_data.
visa. token_ risk_ scorenullable string Degree of risk associated with the token between
01
and99
, with higher number indicating higher risk. A00
value indicates the token was not scored by Visa.
- network_data.
wallet_ providernullable object The digital wallet used for provisioning this token.
- network_data.
wallet_provider. account_ idnullable string The wallet provider-given account ID of the digital wallet the token belongs to.
- network_data.
wallet_provider. account_ trust_ scorenullable integer An evaluation on the trustworthiness of the wallet account between 1 and 5. A higher score indicates more trustworthy.
- network_data.
wallet_provider. card_ number_ sourcenullable enum The method used for tokenizing a card.
Possible enum valuesapp
The card was provisioned from a mobile application.
manual
The card details were manually provided to the wallet provider. This includes manual card number entry by the cardholder, card number detection via OCR, and tapping a physical contactless card on a mobile device.
on_
file The card data stored on file was used for provisioning.
other
The token was provisioned by another method.
- network_data.
wallet_provider. cardholder_ addressnullable object The address of the cardholder tokenizing the card.
- network_data.
wallet_provider. cardholder_address. line1string The street address of the cardholder tokenizing the card.
- network_data.
wallet_provider. cardholder_address. postal_ codestring The postal code of the cardholder tokenizing the card.
- network_data.
wallet_provider. cardholder_ namenullable string The name of the cardholder tokenizing the card.
- network_data.
wallet_provider. device_ trust_ scorenullable integer An evaluation on the trustworthiness of the device. A higher score indicates more trustworthy.
- network_data.
wallet_provider. hashed_ account_ email_ addressnullable string The hashed email address of the cardholder’s account with the wallet provider.
- network_data.
wallet_provider. reason_ codesnullable array of enums The reasons for suggested tokenization given by the card network.
Possible enum valuesaccount_
card_ too_ new Cardholders’ wallet account/card pair is newer than date threshold.
account_
recently_ changed Changes made to account data within the date threshold.
account_
too_ new Cardholders’ wallet account is too new relative to provisioning request.
account_
too_ new_ since_ launch Cardholders’ wallet account is too new relative to launch.
additional_
device The digitization is for an additional device for the same Account PAN and consumer account. There must be a currently active (not suspended) Token that was previously digitized and activated on an existing device for the same Account PAN and consumer account.
data_
expired Issuer encrypted payment instrument data has expired.
defer_
id_ v_ decision Issuer preferred to defer ID&V decision to token creation time.
device_
recently_ lost Device was put in lost mode.
good_
activity_ history There has been financial activity linked to the account for at least and within a period of not less than six months; no suspicious activity is linked to the account within a period of at least one year.
has_
suspended_ tokens Suspended cards in the secure element.
Show 18 more - network_data.
wallet_provider. suggested_ decisionnullable enum The recommendation on responding to the tokenization request.
Possible enum valuesapprove
The card network suggests approving the provisioning request.
decline
The card network suggests declining the provisioning request.
require_
auth The card network suggests performing additional identity verification in order to approve tokenization.
- network_data.
wallet_provider. suggested_ decision_ versionnullable string The version of the standard for mapping reason codes followed by the wallet provider.
- network_
updated_ attimestamp Time at which the token was last updated by the card network. Measured in seconds since the Unix epoch.
- statusenum
The usage state of the token.
Possible enum valuesactive
Token is provisioned and usable for payments.
deleted
Terminal state. Token can no longer be used.
requested
Token has been requested to be provisioned, but has not completed the activation process.
suspended
Token temporarily cannot be used for payments.
- wallet_
providernullable enum The digital wallet for this token, if one was used.
Possible enum valuesapple_
pay Apple Pay.
google_
pay Google Pay.
samsung_
pay Samsung Pay.
{ "id": "intok_1MzDbE2eZvKYlo2C26a98MDg", "object": "issuing.token", "card": "ic_1MytUz2eZvKYlo2CZCn5fuvZ", "created": 1682059060, "network_updated_at": 1682059060, "livemode": false, "status": "active", "last4": "2424", "token_service_provider": "visa", "wallet_provider": "apple_pay", "device_fingerprint": "intd_1MzDbE2eZvKYcp3095svdf"}