Skip to content

Developers

Wallet pass API

A single wallet pass API to create, update, and revoke Apple Wallet and Google Wallet passes, with webhooks for install, update, and redemption events.

  • REST API and webhooks
  • Apple Wallet + Google Wallet
  • Templates, batch, and sandbox
Works on:
Apple WalletApple WalletGoogle WalletGoogle Wallet

Passinstance REST API Explorer

Illustrative example

Sample requests and responses. No API call is sent.

POST/api/v1/passes
Issue a personalized Apple Wallet and Google Wallet pass with direct download links.
curl -X POST https://api.passinstance.com/api/v1/passes \
  -H "X-API-Key: $PASSINSTANCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "templateId": "tpl_gold_vip_001",
    "serialNumber": "MEM-2026-8819",
    "customFields": {
      "customerName": { "label": "MEMBER", "value": "Jane Doe" },
      "pointsBalance": { "label": "POINTS", "value": "1,450 pts" },
      "tier": { "label": "TIER", "value": "Gold VIP" }
    },
    "barcodeMessage": "PASS-MEM-2026-8819"
  }'
Example response
201 Created
{
  "ok": true,
  "data": {
    "id": "pass_9842011a",
    "templateId": "tpl_gold_vip_001",
    "serialNumber": "MEM-2026-8819",
    "status": "active",
    "downloadUrl": "https://api.passinstance.com/api/v1/passes/pass_9842011a/download",
    "googleWalletUrl": "https://pay.google.com/gp/v/save/eyJhbGciOiJSUzI1...",
    "applePassUrl": "https://passinstance.com/p/pass_9842011a.pkpass",
    "createdAt": "2026-08-16T15:25:00Z"
  }
}

Overview

Passinstance exposes a wallet pass API so engineering teams can automate the full pass lifecycle: create passes from templates, update fields and barcodes, push notifications, and revoke passes — for both Apple Wallet and Google Wallet through one integration.

Webhooks notify your systems on install, update, and redemption, so wallet passes can stay in sync with your backend, CRM, or POS without polling.

Capabilities

What you launch with in production

01

Pass lifecycle endpoints

Create, read, update, and revoke passes and templates with predictable REST endpoints and idempotent requests.

02

Webhooks for pass events

Receive install, update, and redemption events to keep your CRM, POS, or backend in sync in real time.

03

Wallet pass API

Create, update, and revoke passes programmatically with a REST API and webhooks for install, update, and redemption events.

04

QR codes and download links

Distribute passes through hosted Add to Wallet pages, QR codes, email, SMS, or POS — customers install in one tap, no app required.

05

Wallet-specific pass updates

Update pass data through the API. Apple Wallet may show configured field change messages; Google Wallet controls its built-in notifications.

06

Location relevance

Configure relevant locations for supported wallet features. Availability, display timing, and required permissions depend on the wallet and customer settings.

07

Dates, expiry, and lifecycle

Set relevant dates and expiration, extend validity on scan, and manage the full pass lifecycle from issue to revoke.

FAQ

Frequently asked questions

What can the wallet pass API do?

Create, update and revoke Apple Wallet and Google Wallet passes programmatically. Apple Wallet updates use APNs; Google Wallet controls its built-in notifications. The API also provides templates and webhooks for pass events.

Is there one API for both Apple and Google Wallet?

Yes. You integrate once and issue to both Apple Wallet and Google Wallet, rather than maintaining two separate integrations.

Does the API support webhooks?

Yes. Webhooks deliver pass events such as install, update, and redemption so your systems can react without polling.

Is there a sandbox for testing?

Yes. You can develop against sandbox environments and use the no-code editor to verify templates before issuing passes in production.

TEST PRODUCTION PASSES ON YOUR DEVICE

Scan Real Passes Directly into Apple Wallet & Google Wallet

Hold your smartphone camera up to any QR code below to install a live demo pass. Experience Wallet pass updates, barcode rendering, and native installation with zero consumer app downloads.

Apple WalletGoogle WalletApple Wallet & Google Wallet
Private Banking
Aurelia Private Bank - Private Client Cashback & Concierge
Live Experience

Test the Live Aurelia Private Bank Pass

Show live cashback and 24/7 concierge status at branch or POS without a separate banking app.

ClientAlexander Wright
Cashback€428.50
Account•••• 9104
Open Pass on Phone

Interactive Apple and Google Wallet demo passes

Create this Wallet experience in your workspace

Start free with this demo context preserved so onboarding can offer the matching template.

Build on the wallet pass API

Start free, grab your API keys, and automate Apple Wallet and Google Wallet passes with webhooks and templates.

Grand Palazzo
Elite
BALANCE1,200 pts
MEMBER NO.GP-84920
HOLDER
VALID UNTIL12/2027
GP-2026-84920