Digital Wallets

Learn how to add cards to digital wallets.

Provision Card - Digital Wallet (Enterprise)

API reference: Provision Card - Digital Wallet

Allow your cardholders to directly add payment cards to the device's digital wallet (e.g. Apple Pay) with one touch from your app.

This requires some additional setup and configuration. Please reach out to [email protected] or your account rep for more information.


Sample Request

curl \
  -X POST \
  -H "Authorization: api-key YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"card_token":"f5f905f5-8a8e-49bf-a9b4-c0adaa401456","digital_wallet":"SAMSUNG_PAY"}'

Sample Response

    "data": {
        "provisioning_payload": "{\"activationData\":..."
card_tokenThe unique token of the card to add to the device's digital wallet
digital_walletCurrently APPLE_PAY and SAMSUNG_PAY are supported, GOOGLE_PAY coming soon
nonce (optional)Required for APPLE_PAY. Base64 cryptographic nonce provided by the device's wallet
nonce_signature (optional)Required for APPLE_PAY. Base64 nonce signature provided by the device's wallet
certificate (optional)Required for APPLE_PAY. Apple's public leaf certificate. Base64 encoded in PEM format with headers(-----BEGIN CERTIFICATE-----) and trailers omitted. Provided by the device's wallet
account_token (multi-account users only)Token identifying the account the card will be associated with. Only applicable if using account enrollment. See Managing Accounts for more information.

Returns provisioning_payload, a cryptographic payload representing a payment card that can be passed to a device's digital wallet. Each digital wallet has a different API; consult the wallet's documentation for more info.

Did this page help you?