Welcome to our new developer portal! Use the "Ask" button to chat with our AI Agent.

Check digital card state

Overview

Before you digitize a card for NFC Payment, first check the card digitization state.

Flow

Use the D1 SDK in the issuer application to check the card digitization state. If the card is not digitized and the device is NFC-capable, display the Enable NFC Payment button. If the card is already digitized, or the issuer application does not meet the eligibility criteria, hide the Enable NFC Payment option.

The D1 SDK exposes the getCardDigitizationState() API to check the card digitization state.

The possible card digitization states are:

  • NOT_DIGITIZED

    • Display the Enable NFC Payment button if the device is NFC-capable.

  • DIGITIZATION_IN_PROGRESS

    • The card digitization process is already in progress. No action is required in the issuer application, and you cannot digitize another card at this time.

  • DIGITIZED

    • No message is displayed. The card is already digitized.

    • The issuer application should check whether it is the default payment application in Android Tap & Pay settings.

Sequence diagram

Card digitization state flow in the issuer application.

SDK

Check digital card state

Last updated

Was this helpful?