Cards
Push-provision card
https://api.firstleeward.com/v0/cards/:id/push-provisioningGenerates the credentials needed to add a card to a digital wallet directly from your app, without the cardholder entering card details. Pass the result to the wallet SDK to complete provisioning. Each call returns fresh, single-use credentials.
Authorizations
Authorizationstring · headerrequiredAPI key as Bearer token, e.g. Bearer YOUR_API_KEY
Headers
Leeward-Versionenum<string>requiredAPI version (YYYY-MM-DD). Available option: 2026-09-18
Idempotency-KeystringUnique key for safely retrying this request. Up to 255 characters; we recommend a UUIDv4. The first request executes and its response is cached; subsequent requests with the same key replay the cached response (24h retention).
Path Parameters
idstring<uuid>requiredBody
application/json
providerstringrequiredDigital wallet the card is being added to
walletAccountIdstringrequiredWallet account identifier obtained from the Google TapAndPay client on the device
deviceIdstringrequiredStable device hardware identifier obtained from the Google TapAndPay client
Response
200Push provisioning credentials. The shape is determined by `provider`.
providerstringrequiredopcstringrequiredOpaque payment credential to pass to the Google TapAndPay push tokenization request
last4stringrequiredLast 4 digits of the card number
404Card not found
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired502Failed to generate push provisioning credentials
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired