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.

Add digital card

Overview

If the card is not digitized, prompt the end user to digitize it to enable NFC Payment.

Flow

Use the D1 SDK in the issuer application to digitize the card when the end user enables NFC Payment.

The D1 SDK exposes the addDigitalCard() API for this flow.

Sequence diagram

Prerequisites

  • The end user, account, and card are already registered in D1.

  • The D1 SDK is initialized.

  • The issuer application has called the D1 SDK login API.

Add digital card flow in the issuer application.

SDK

In D1 SDK flow, onSuccess means the card digitization is complete. The end user can use the digital card immediately after this callback.

Last updated

Was this helpful?