Welcome to our new developer portal! Use the "Ask" button to chat with our AI Agent.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Display Card Metadata

Overview

This section describes how to display the non-sensitive card data in the issuer application.

User experience

Sequence diagram

Prerequisites:

  • End user and cards are registered in D1 backend.

  • D1 SDK is properly initialised.

  • Issuer application called D1 SDK login API.

Based on the cardID value, the issuer application can display the basic information of the card to the end user such as the last four PAN digits, the expiry date, the card image background, and so on.

D1 SDK exposes the public getCardMetaData() API to get the card information. The CardMetadata.cardAssetArray() API for iOS and the CardMetadata.getAssetList() API for Android are provided to retrieve the card asset.

For a card issued by D1, additional card information such as “State Reason” and “Ongoing Operation” can be obtained using the CardMetadata.getStateReason() and CardMetadata.getOngoingOperation() APIs.

The list of cards can be obtained with the getCardList() operation.

Last updated

Was this helpful?