Retrieves a card token: an Apple Pay, Google Pay, or Samsung Pay device token, or a merchant card-on-file token.
Get Card Token
/api/card-tokens/{cardTokenId} Request
Path Parameters
cardTokenIdstringrequiredCard token identifier.
Response
Successful operation.
Body application/json
idstringrequiredCard token identifier. Stable from the token's provisioning request onwards.
cardobjectrequiredThe card the token is linked to. When the card is reissued, the token moves to the new card.
idstringrequiredCard identifier.
requestorstringrequiredThe wallet or merchant that requested the token.
This set is non-exhaustive and may grow over time, so consumers should tolerate unrecognized values. The current options are
apple-pay,google-pay,samsung-pay,merchant, andother.statusstringrequiredAllowed values:awaiting-approvalawaiting-verificationactivesuspendedcanceledapprovingsuspendingunsuspendingcancelingToken status.
A token is
awaiting-approvalwhen the wallet tells the cardholder to contact the issuer to finish adding the card. Verify the cardholder, then call the Approve Card Token endpoint.deviceStatusstringAllowed values:presentremovedWhether the card is still on the device, as last reported to Immersve. Omitted for merchant tokens and canceled tokens.
tokenSuffixstringLast four digits of the token's device primary account number (DPAN). Omitted until the card network reports it.
descriptionstringHuman-readable label for the token, such as the device name or the merchant description.
provisioningRequestedAtstring<date-time>requiredTime the token was first requested.
Request fields are invalid.
Body application/json
statusCodeintegerrequiredstatusNamestringrequirederrorCodestringrequirederrorsobject[]Items
messagestringpathstringThe location of the invalid path param, query param or payload attribute.
No Authorization to access resource.
Body application/json
statusCodeintegerrequiredstatusNamestringrequirederrorCodestringrequiredreasonstring