Skip to content

Apple Wallet page

An issued card can include issuer.wallet_url. The current flow opens a hosted page from which the customer can add the card to Apple Wallet. This is a link-based handoff, not a native SDK provisioning method.

For an issued chain card, POST /v1/cards/{card_id}/wallet-links with the cards:reveal scope returns a fresh url and expires_at. Request the link after verifying customer ownership. Use its explicit expiry rather than the standard-card lifetime below.

The current wallet link works for 72 hours after the underlying card’s initial issuance. After that, the hosted page reports that its session expired.

A later order for the same email and restaurant loads the existing issuer card and returns wallet_url: null; the first order’s link keeps its original 72-hour lifetime. Do not calculate expiry from the latest Zwipe order’s created_at, and do not assume a non-null URL is usable.

Offer the action during the eligible first-card flow. Retain non-sensitive issuer identity and your eligibility records so a later load is not mistaken for a new card. If you cannot establish eligibility, provide an unavailable/help state rather than a permanent wallet button.

During its lifetime, anyone holding the URL can add the card to a wallet and view sensitive card details, including the full number, expiry, and CVV. Hand it only to the authorized cardholder for the immediate flow.

  • Retrieve it through your authenticated backend after an ownership check.
  • Validate HTTPS and an exact origin allowlist agreed with Zwipe. Do not reconstruct the URL or infer a permanent provider host from a sample.
  • Return it with Cache-Control: no-store; exclude it from application logs, analytics, crash reports, and persistent storage.
  • Do not email, text, or put it into your own page’s query string. For browser links, use rel="noopener noreferrer" and referrerPolicy="no-referrer".
  1. Customer chooses the wallet action in your application.
  2. Your backend verifies ownership, reads the card, and checks link availability and first-card eligibility.
  3. Your backend returns the approved link for immediate use.
  4. Your website shows a direct continuation link, or your native app opens the system browser.
  5. On return, keep displaying the card and refresh the balance only if needed.

Opening or returning from the page is not proof that a card was added to a wallet. No completion callback or supported deep-link return parameter is documented in the API.

Situation Application response
wallet_url absent or null Hide the action or explain it is unavailable; keep status/balance accessible.
Hosted page reports expiration Explain that the link expired and offer your established support path.
Link cannot open on this device Preserve the card screen and show a clear device/browser message.

Standard-card accounts cannot refresh the original issuer link through this API. Chain accounts use the Wallet-links endpoint above. There is no Google Wallet provisioning endpoint or card-details iframe API. issuer.collect_url is a different issuer flow; it is not a replacement wallet-link refresh mechanism.