Apple Wallet pass API: issue passes from your app
An Apple Wallet pass API lets your app create, update and expire wallet passes with HTTP calls, so you never sign pass files yourself. With the EpassCard API, one call issues a pass for Apple Wallet and Google Wallet and returns an install link. Webhooks then tell your system when the pass is installed or removed.
Key points:
- You need no Apple Developer account. EpassCard signs Apple passes with its own pass type identifier.
- One install link opens the right wallet: Add to Apple Wallet on iPhone, Add to Google Wallet on Android.
- API access is included on every plan, including the Free plan with 20 live passes.
- Webhooks report created, installed, removed, expired and topped-up passes to your own endpoint.
Updated October 2026. Every endpoint below is in the live EpassCard API reference.
What does an Apple Wallet pass API do for you?
A pass API hides the hard parts of Apple Wallet and Google Wallet behind a few calls. You send the data for one customer. The service builds, signs and hosts the pass, then keeps it up to date on the phone.
Doing it yourself takes more steps than most teams expect. Apple lists five steps to build a pass (Apple, Building a Pass, checked Oct 2026). You make the source files and a pass type identifier. Then you make a signing certificate, a digital signature and a signed bundle. The identifier lives in an Apple Developer account. To change a pass later, you also run a web service for updates.
Google Wallet is a second project. It needs a Google Wallet API issuer account and a Google Cloud account. New issuer accounts start in demo mode until Google grants publishing access (Google, Request publishing access, as of Oct 2026).
| Job | Build it yourself | EpassCard API |
|---|---|---|
| Apple signing | Your own pass type ID and certificate | Platform default, or upload your own |
| Google Wallet | Your own issuer and Cloud setup | EpassCard's Google account by default, or upload your own under Certificates |
| Install page | You build it | pass_link in the response |
| Updates on the phone | Your own web service | One API call |
How do you get an EpassCard API key?
Sign up for the Free plan at app.epasscard.com. It needs no payment card. In the sidebar, open Integrations, then Api keys, and click Create key. Give it a name, an expiry date (or tick Lifetime access) and the Allowed Domains it may be used from.
The allowed domains setting matters. A key bound to a list of domains only accepts requests that come from those sites. Calls from your own server carry no browser origin, so a server key should be set to all. Keep that key on the server, never in browser code. A key limited to your own site gets 403 in the API Console. Add the console's address to the key, or set it to all.
Send the key in the x-api-key header on every call:
x-api-key: YOUR_API_KEY
Do not send the key as Authorization: Bearer. On most calls that header is read as a dashboard login token, so an API key sent that way is refused with 400.
There are two base URLs. Most calls use https://api.epasscard.com/api/public/v1. The simpler template, pass and stamp card calls use https://api.epasscard.com/api/public/v2. Your organization comes from the key, so never send an org_id.
Which endpoints does a pass integration need?
Most integrations use the same eight jobs. The table lists the real paths from the live API reference, checked 22 Oct 2026.
| Job | Method and path | Base |
|---|---|---|
| Create a template | POST /create-pass-template | v2 |
| Issue a pass | POST /create-wallet-passes/{templateUid} | v2 |
| Change field values | PUT /update-single-pass | v1 |
| Send a message | POST /send-pass-notification/{passUid} | v1 |
| Expire or set a new expiry | POST /pass-expire/{passUid} | v1 |
| Deactivate or reactivate | PATCH /pass-status/{passUid} | v1 |
| Check if it is installed | GET /pass-installed-info/{passUid} | v1 |
| List issued passes | GET /get-passes | v1 |
Stamp cards have their own v2 calls, such as POST /stamp-passes/{pass}/stamp and /redeem. Gift and balance cards use POST /topup on v1.
How do you issue a pass with one API call?
First you need a pass template. You can design one in the dashboard, or create it with POST /create-pass-template. Any text in curly braces, such as {Name} or {Member No}, becomes a field you fill per customer.
Each template has an Apple Wallet version and a Google Wallet version. In the dashboard you see both side by side, as in this coupon preset.

For the Apple side, set certificate to pass.com.epasscard.public. That is the platform default, which is why you need no Apple Developer account. The card_type can be StoreCard, Coupon, Event, BoardingPass or Generic.
The create call answers with the template uid and a uid for each field. For a template made in the dashboard, call GET /pass-fields/{uid} on the v1 base to get the same field uids. A uid from another template is refused with 403. Then issue the pass:
curl -X POST "https://api.epasscard.com/api/public/v2/create-wallet-passes/YOUR_TEMPLATE_UID" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"fields": [
{ "uid": "NAME_FIELD_UID", "value": "Sam Rivera" },
{ "uid": "MEMBER_NO_FIELD_UID", "value": "100241" }
]
}'
A successful call answers 201 Created:
{
"status": 201,
"message": "Pass created",
"data": {
"pass_uid": "PASS_UID",
"template_uid": "YOUR_TEMPLATE_UID",
"pass_link": "https://app.epasscard.com/pass/PASS_UID",
"short_url": "https://epc.to/SHORT_CODE",
"is_stamp_card": 0,
"stamp_card": null
}
}
Passes issued through the API use the same templates as passes made in the dashboard. Store pass_uid next to the customer in your database. Every later call uses it. Send pass_link to the customer by email, text or a button in your app. On an iPhone it opens Add to Apple Wallet. On Android it opens Add to Google Wallet.
A bad body answers 400 with an errors list that names every problem at once. A full plan or template limit also answers 400, so check the message before you retry.
| Status | What it means |
|---|---|
400 | Bad body, an empty required field, a repeated unique value, an invalid certificate or a pass limit reached |
401 | Missing, invalid or inactive API key |
403 | An expired API key, a request from a site that is not in the key's Allowed Domains, a template uid that is not in your organization (template calls answer 403 even when the uid does not exist), a field uid from another template, or (on PUT /update-single-pass) a pass uid that is not in your organization, or an expiry field set in the past |
404 | A pass uid that is not in your organization, on PATCH /pass-status, POST /pass-expire, GET /pass-installed-info and POST /send-pass-notification. The message call also answers 404 for a deactivated pass |
422 | POST /send-pass-notification only: no phone holds the pass yet, so there is no one to message, or recipientAudience is OWNER or UNIVERSAL on a pass without owner protection |
500 | Unexpected failure |
One call is different. PUT /update-single-pass sends some errors as plain text, not JSON. These are the 403 for an expiry field set in the past and the general 500. A rare 404 comes when the pass cannot be read during the update. A wrong pass uid on this call, whether it is from another organization or does not exist, gets a JSON 403. Check the content type before you parse the body.
How do you update, message and expire a pass?
You change a pass with one call per action. The new values go to every phone that holds the pass. A wallet update can take up to a minute, so do not build a flow that expects it on screen the same second.
To change a field, send the pass uid and only the fields that changed:
curl -X PUT "https://api.epasscard.com/api/public/v1/update-single-pass" \
-H "x-api-key: YOUR_API_KEY" -H "Content-Type: application/json" \
-d '{ "passUid": "PASS_UID", "fields": [ { "uid": "POINTS_FIELD_UID", "fieldValue": "120" } ] }'
Only active passes can be edited. A deactivated pass answers 400 until you send { "status": 1 } to PATCH /pass-status/PASS_UID. Do not add stamps through this call. Use POST /stamp-passes/{pass}/stamp on v2, which keeps the history and redraws the card.
To send a lock screen message, post to /send-pass-notification/PASS_UID with a body such as { "message": "Hi {Name}, your card was renewed." }. The {Name} part is filled from the pass. This call needs an API key; a dashboard login token is refused. The message is plain text, up to 300 characters. If no phone holds the pass yet, the call answers 422. Check GET /pass-installed-info/{passUid} first if you message passes right after you issue them. For staff ID cards with owner protection, also send recipientAudience: OWNER, UNIVERSAL or ALL.
To end a pass, post { "expire_date": "2027-12-30 12:00:00" } to /pass-expire/PASS_UID. A date in the past marks the pass expired in EpassCard right away. Phones that hold it can take up to a minute to show the change. To pause a pass without ending it, send { "status": 0 } to PATCH /pass-status/PASS_UID, and 1 to turn it back on.
Which webhooks tell your app what happened?
Webhooks are the other half of an Apple Wallet pass API. EpassCard calls a URL you choose when something happens to a pass. Your app then learns that a customer saved the card or removed it, without polling.
| Event name in EpassCard | When it fires |
|---|---|
| Pass created | A pass is issued from the dashboard or the API |
| Pass installed | The pass is added to Apple Wallet, Google Wallet or the EpassCard app |
| Pass uninstalled | The customer removes the pass from a wallet |
| Pass expired | The pass reaches its expiry date, or you expire it with POST /pass-expire and a date in the past |
| Pass top up | Value is added to a gift or balance card |
There are more events too: Pass updated, Pass deleted, Pass status changed, App scan created and three template events. Each webhook can watch all templates or one template.
Set them up in the dashboard under Integrations, then Webhooks. The form has four steps: Event, Endpoint, Payload and Review. You pick the method and URL, can add request headers, and choose the default body or map your own fields. By default, pass events send the pass data with this customer's values filled in, plus pass_uid. After saving, open the webhook and click Test webhook to send a sample. Every delivery and its status code show under Logger, then Webhook logs.
What are the limits to plan for?
A good API page tells you where the edges are. These are the ones to plan around, as of October 2026.
- No SDK. EpassCard has a REST API with an OpenAPI reference, not an official SDK. Any HTTP client works.
- No ready-made app connectors. Other systems connect through the API and webhooks. The other two routes are website embeds and the WordPress plugin.
- Secure your webhook. EpassCard does not sign webhook requests today. Add a secret request header in the wizard and check it in your endpoint.
- Plan for missed calls. A failed delivery is logged, not resent. Run
GET /get-passesnow and then to catch anything your endpoint missed. Each pass comes back withapple_count,google_countandepass_app_count. Pages hold 10 passes by default. Add?limit=100for the maximum, and followpagination.nextPage. - Google demo mode on your own account. You can upload your own Google Wallet credentials. A new Google issuer starts in demo mode until Google grants publishing access. To ask for it, you need a business profile with a payments profile. In demo mode, only your admin, developer and test accounts can save the pass. It also carries a
TEST ONLYlabel (Google, Request publishing access, as of Oct 2026). Do not launch to Android customers before Google approves you. Apple Wallet needs nothing from you. - Pass limits. Each plan has a total of live passes. Deleting a pass frees its slot, but the card stays on the customer's phone, so expire or deactivate it first.
- Messages need consent. A customer only gets your messages while the pass is saved, and can remove it any time. Privacy and marketing rules still apply.
Start building on the Free plan
You can test the whole flow at no cost. The Free plan includes API access, push messages and 20 live passes, with no payment card. Team members are free on every plan, so your whole team can work in one account. Paid plans start at $10 a month (less when billed yearly) on the pricing page, as of November 2026.
Start with a membership card or a loyalty card template, then wire it up with the steps above. To try calls in a form instead of code, use the API Console.
Create your free EpassCard account and issue your first pass from your own app today.
Frequently asked questions
Does Apple have its own API for creating Wallet passes?
Not a hosted one. Apple gives you a pass format and signing rules. You create a pass type identifier and certificate in an Apple Developer account, sign each pass, and run your own update service. A pass API such as EpassCard does those steps for you.
Do I need an Apple Developer account to use the EpassCard API?
No. Set the template's certificate to pass.com.epasscard.public, the platform default, and EpassCard signs the Apple pass. If you already have your own pass type certificate, you can upload it and use that instead.
Can the same API call create a Google Wallet pass?
Yes. The pass you issue gets one install link. On Android it offers Add to Google Wallet, and on iPhone Add to Apple Wallet. By default the Google pass runs on EpassCard's Google account. If you upload your own Google credentials and that issuer is new, Google keeps it in demo mode, for your test accounts only, until it grants publishing access.
Is there an EpassCard SDK for Node, PHP or Python?
No official SDK today. The API is plain REST with JSON and an OpenAPI reference, so any HTTP client works, from curl to fetch or Guzzle. The API Console lets you try each call in a form first.
How do I know when a customer removes a pass?
Add a webhook for the Pass uninstalled event under Integrations, then Webhooks. EpassCard calls your URL with the pass_uid. You can also check one pass any time with GET /pass-installed-info/{passUid}.