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.

Push to token requestors (Token Connect)

Push to token requestors (Token Connect)

Use this guide to push a card from the issuer application to a token requestor using Mastercard MDES Token Connect.

Token requestors can include e-commerce merchants and wallet providers.

For Mastercard product documentation, see MDES Token Connect overview.

Overview

With Token Connect, the issuer application:

  1. Retrieves the list of eligible token requestors for a card.

  2. Requests a push URL for the selected token requestor.

  3. Redirects the End User to the token requestor experience to complete Tokenization.

Prerequisites

  • The End User is authenticated in the issuer application.

  • The issuer application has initialized the D1 SDK and completed login.

  • The consumer and card are registered in D1.

End-user experience

The diagram below illustrates a representative Token Connect flow. The same pattern applies to any Token Connect-compliant token requestor.

End-user experience example for pushing a card to a token requestor using Token Connect.

Flow

Retrieve eligible token requestors

Retrieve the eligible token requestors for a card.

Push to a token requestor

Generate a push URL for the selected token requestor and redirect the End User.

Sequence diagrams

1

Get eligible token requestors

The issuer application uses the D1 SDK to retrieve the list of token requestors that support Token Connect for a given card.

Each token requestor includes:

  • A display name.

  • A brand logo.

  • One or more supported provisioning methods (for example, Android, iOS, or web).

Example issuer application UI for selecting an eligible token requestor.
2

Push a card to a token requestor

After the End User selects a token requestor, the issuer application requests a push URL by calling addDigitalCardToScheme().

The issuer application then redirects the End User to the token requestor using the returned push URL.

Example issuer application UI to start the Token Connect push flow.

What happens next

  • The D1 SDK returns a push URL.

  • The issuer application opens the push URL in the token requestor application or in a web view.

  • The token requestor performs the Tokenization flow.

  • When the flow completes, the token requestor redirects the End User back to the issuer application using the appURL.

  • To configure appURL, implement deep links in your issuer application: Android, iOS.

  • The token requestor returns the Tokenization result to the issuer application. For details, see the Mastercard guide: Receive response from token requestor.

For a full access to the D1 SDK, please check API reference.

Last updated

Was this helpful?