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.

Onboard Payment Passkeys

Before you begin

  • Configure deep links in your issuer application for the callback URL (Android/iOS)

  • Use HTTPS links whenever possible. They provide stronger security than custom schemes.

  • For Mastercard on iOS versions earlier than 17.4, use a custom scheme.

    • Mastercard only support ASWebAuthenticationSession with shared cookie, if https is used in issuer callback and device is below 17.4, SDK would return error.

Android

  1. Configure a callback:

  • A custom-scheme callback, such as myapp://, needs no additional configuration.

  • A Universal Link callback, such as https://, requires an associated domain and an assetlinks.json file.

    • Host assetlinks.json at:

      https://<your-domain>/.well-known/assetlinks.json

assetlinks.json
 [
  {
    "relation": [
      "delegate_permission/common.handle_all_urls",
      "delegate_permission/common.get_login_creds"
    ],
    "target": {
      "namespace": "android_app",
      "package_name": "com.example.mybank",
      "sha256_cert_fingerprints": [
        "A4:D8:8F:E6:22:B2:43:C2:70:80:63:9A:28:0D:73:18:F5:0F:24:84:BE:D0:7D:71:28:24:1C:7C:8A:06:2D:C9"
      ]
    }
  }
]
  1. Add App Link and custom-scheme intent filters to your Android manifest:

iOS

  1. Configure a callback:

  • A custom-scheme callback, such as myapp://, needs no additional configuration.

  • A Universal Link callback, such as https://, requires an associated domain and an apple-app-site-association file.

    • Host apple-app-site-association at:

      https://<your-domain>/.well-known/apple-app-site-association

  1. Configure the associated domain

In Xcode, add the associated domain to your app target's Signing & Capabilities settings.

Use the following entitlement:

Last updated

Was this helpful?