Display digital card
Overview
Retrieve one or more digital cards and their properties.
Flow
Use the D1 SDK in the issuer application to retrieve NFC Payment digital cards.
The D1 SDK exposes two APIs for this flow:
D1PayWallet.getDigitalCard()returns one digital card for the providedcardID.D1PayWallet.getDigitalCardList()returns a map ofcardIDvalues and their digital cards.
Both APIs return a D1PayDigitalCard object with the following properties:
Digital card state: active or inactive.
Payment network: Visa or Mastercard.
Expiry date.
Last four digits.
Terms and conditions URL.
Whether replenishment is required.
Whether ODA replenishment is required.
Number of payments left before replenishment is required.
Whether the digital card is the default card for payment.
To retrieve card art, use D1Task.getCardMetadata() and CardMetadata.getAssetList().
SDK
Get a digital card
Get all digital cards
Last updated
Was this helpful?