View and control digital cards
Tokenization service is required to use Thales D1 SDK for "View&Control" capabilities.
Use this guide to let the End User view and manage digital cards (tokens) created for their cards in xPay Wallets and other token requestors.
In the issuer application, you typically:
display all digital cards linked to a specific
cardIdshow each digital card status (for example, active or suspended)
support basic life cycle actions such as suspend, resume, delete, and activate
Prerequisites
Make sure that:
The End User and card are registered in the D1 backend.
The D1 SDK is integrated into your issuer application and initialized.
The issuer application has completed the D1 SDK login flow.
For the end-to-end wallet Tokenization flow, see Implement push to digital wallets.
View digital cards
To display existing digital cards for a specific cardId, call getDigitalCardList().
The response contains a list of DigitalCard objects. For Visa Cloud Token Framework (CTF), the DigitalCard object also includes device binding information, which allows the application to view all device bindings associated with each digital card.
The DigitalCard contains the following information:
Digital card state (for example, active, suspended, or pending activation).
Digital card expiry date.
Last four digits of the digital card.
Device name and type that contain the digital card.
Token requestor ID (
tokenRequestorID).Whether the digital card is on the current device (
isOnCurrentDevice) for the selected wallet or token requestor (for example, Apple Pay, Google Pay, Samsung Pay, or NFC Wallet).Device binding list (since SDK 4.3.0 for Visa CTF). Contains the binding reference, device name, and binding status (APPROVED, DECLINED, or CHALLENGED) for each bound device.
Flow
Sequence diagram
Pre-requisites
Consumer account and card were registered in D1
SDK is properly initialized
Issuer App called D1 SDK login API
Examples
Control digital cards
The issuer application can allow the End User to manage each digital card state.
Supported actions include:
Suspend a digital card when the current state is active:
d1Task.updateDigitalCard(cardID, digitalCard, CardAction.SUSPEND, callback)Resume a digital card when the current state is suspended:
d1Task.updateDigitalCard(cardID, digitalCard, CardAction.RESUME, callback)Delete a digital card:
d1Task.updateDigitalCard(cardID, digitalCard, CardAction.DELETE, callback)Activate a digital card (for example, after step-up authentication):
d1PushWallet.activateDigitalCard(digitalCard.getCardID(), callback)
Sequence diagram
Pre-requisites
Consumer account and card were registered in D1
SDK is properly initialized
Issuer App called D1 SDK login API
Examples
For a full access to the D1 SDK, please check API reference.
Last updated
Was this helpful?