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 retrieve card assets. On the first call, the D1 SDK fetches card assets from D1 backend and caches them locally. On subsequent calls, the D1 SDK returns card assets from the local cache.
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.
Last updated
Was this helpful?