Create a payment passkey
Overview
User experience
Visa
Mastercard

Flow
1. Initialize and get payment passkeys (Visa only)

2. Create the payment passkey

Last updated
Was this helpful?
After the end user signs in to the issuer application and selects a card, they can create a payment passkey.
The payment passkey is linked to the selected card and device.
The flow differs by payment network.
Visa requires a short initialization step in an issuer-hosted web page.
This step gets the payment passkeys so the issuer application can display them on the next screen.
Run this step once every 8 minutes for each device.
The selected card does not affect this timer.

You cannot check whether a payment passkey already exists on the device before the flow starts.
Let the end user start the creation flow each time.
If a payment passkey already exists, Mastercard shows a different page during the flow.

This step is required for Visa only.
The D1 SDK redirects the end user to an issuer-hosted web page, such as a loading page.
That page loads the D1 JavaScript SDK.
The D1 JavaScript SDK then starts the Visa SDK in a hidden iframe.
If the same device completed this step in the last 8 minutes, the D1 SDK skips it automatically.

When the creation flow starts, the D1 SDK redirects the end user to the Visa or Mastercard page.
The payment network authenticates the end user and creates the payment passkey on the device.
After the flow succeeds, a notification is sent to the issuer backend.
Last updated
Was this helpful?
Was this helpful?