addtowallet.co
Create PassFeaturesFree ToolsPricingAPIBlog
Sign InGet Started Free
All guides▾
  • Guide10 reasons why incorporating Mobile Wallet Passes into your mobile strategy is essential
  • Guide5 Reasons why your store needs a wallet pass
  • GuideAdvantages of using Google and Apple wallet pass in businesses
  • GuideBest practices to design an amazing wallet pass
  • GuideBoost Engagement with Interactive Wallet Passes in Magazines
  • GuideConvert Pdf To Pass Using AddToWallet
  • GuideCreate Apple wallet pass for free
  • GuideCreate Apple Wallet passes for Your Business
  • GuideCreate Google wallet pass for free
  • GuideCreating Apple and Google Wallet Passes
  • GuideCreate Wallet Passes with the AddToWallet Zapier Integration
  • GuideDifferences between Apple and Google wallet
  • GuideEnhance audience interaction with wallet passes in Newspapers
  • GuideHidden Form Fields: Dynamic Expiry for Wallet Passes
  • GuideHow Google and Apple Wallet Pass Works
  • How-toHow to Add Amelia Booking Passes to Apple Wallet & Google Wallet
  • How-toHow to Add an Add to Wallet Button to Your Website
  • How-toHow to Add an Apple Wallet Button Easily
  • How-toHow to Add Bookly Booking Passes to Apple Wallet & Google Wallet
  • How-toHow to Add Location to Wallet Passes
  • How-toHow to Add Team Members to Your Account
  • How-toHow to Add Simply Schedule Appointments Bookings to Apple Wallet & Google Wallet
  • How-toHow to Add The Events Calendar Tickets to Apple Wallet & Google Wallet
  • How-toHow to Add LatePoint Appointments to Apple Wallet & Google Wallet
  • How-toHow to Add Sugar Calendar Tickets to Apple Wallet & Google Wallet
  • How-toHow to configure notifications for Apple & Google wallet passes
  • How-toHow to create a business pass for Apple and Google wallet
  • How-toHow to Create a wallet pass?
  • How-toHow to create a wallet pass using Zapier Integration?
  • How-toHow to create digital Concert Tickets with AddToWallet.co
  • How-toHow to create dynamic passes and manage users in AddToWallet
  • How-toHow To Create Gift Cards in Bulk
  • How-toHow to Create Hair Salon Gift Cards in Minutes
  • How-toCreate Loyalty Wallet Pass Using AddToWallet
  • How-toHow to Create Mobile Wallet Passes Using Google Sheets
  • How-toHow to Create & Scan Dynamic Wallet Passes Using AddToWallet
  • How-toHow To Distribute Google or Apple Wallet Pass
  • How-toHow to duplicate a wallet pass?
  • How-toHow to embed Google Wallet or Apple Wallet button on Shopify
  • How-toHow to embed Google wallet or Apple wallet button on Squarespace
  • How-toHow to embed Google Wallet or Apple Wallet button on Weebly
  • How-toHow to embed Google Wallet or Apple wallet button on Wix
  • How-toHow to embed Google Wallet or Apple Wallet button on WordPress
  • How-toHow to Generate JSON for Apple & Google Wallet Passes
  • How-toHow to generate leads with a Google or Apple Wallet coupon
  • How-toHow to Use AddToWallet Node on N8N
  • How-toHow to integrate make.com with AddToWallet.co?
  • How-toHow to Secure Wallet Passes with Access Code Protection
  • How-toHow to Send Notifications Using Wallet Pass
  • How-toHow to Set Up Custom Domains with AddToWallet
  • How-toHow to Share Wallet Passes Using Flyers
  • How-toHow to test Apple Wallet beacons
  • How-toAddToWallet Order Pass App on Shopify
  • How-toHow to create dynamic wallet pass
  • How-toHow to Use Webhooks with AddToWallet
  • GuideOur Audience Asked for Wallet Tickets AddToWallet.co Delivered
  • GuideCreate Wallet Passes from Form Responses
  • GuideWallet Pass Generator for Google Sheets
  • GuideWallet Passes for Wedding Invitations

How-to

How to Use Webhooks with AddToWallet

By AddToWallet Team·Published June 13, 2026·Updated November 25, 2026·3 min read

What the webhook sends

A webhook is your HTTPS endpoint. AddToWallet sends one HTTP POST when a pass is saved and one when a pass is removed. You do not subscribe to each event separately. Every webhook you create receives both.

  • pass-saved when someone adds a pass to a wallet.
  • pass-removed when someone removes a pass from a wallet.

API keys for your own calls to AddToWallet are documented in API authentication. A webhook is the opposite direction: AddToWallet calls you. To create passes from another app, start with the Zapier guide.

Create a webhook

  • Open Settings, then Webhooks, and create a webhook.
  • Enter the URL AddToWallet should call.
  • Optionally set a password. Store that password in your server environment. Do not put the live password in source code, tickets, or logs.

Example URL: https://example.com/webhooks/atw

Create a webhook in Settings

Payload fields

The body is JSON. A password, if you set one, is sent in the Authorization header so you can compare it. The body itself has no signature, and the password does not encrypt the body.

Synthetic payload:

{
  "eventType": "pass-saved",
  "passid": "example-pass-alex"
}
Field Description
eventType pass-saved or pass-removed.
passid The pass id for that event. The sample value above is not a real pass.

Delivery, retry, and order

Each event is one POST with a 10 second timeout. A response from 200 to 299 is success. Any other status, a timeout, or a connection error is stored as a failed delivery and is not retried. If your endpoint is down at that moment, that event is not sent again. Two events close together are separate requests. Do not assume they arrive in order.

Check the password without logging it

When you set a password, AddToWallet sends it in the Authorization header. Compare the header to the value in your environment. Reject anything else with HTTP 401. Do not write the header, the password, or the raw request to logs.

const expected = process.env.ATW_WEBHOOK_PASSWORD || "";
const header = req.headers.authorization || "";
const passwordMatches = expected.length > 0 && header === expected;
if (!passwordMatches) {
  res.statusCode = 401;
  res.end("unauthorized");
  return;
}
const eventType = req.body && req.body.eventType;
const passid = req.body && req.body.passid;
if (eventType === "pass-saved" || eventType === "pass-removed") {
  // Store eventType and passid. Do not store the Authorization header.
}
res.statusCode = 200;
res.end("ok");

Point the webhook at a local tunnel only while you are developing. Send the synthetic body above, expect HTTP 200 when the password matches, and expect HTTP 401 when it does not. A successful live delivery is a 2xx response from your URL at the moment AddToWallet calls it.

Create Wallet Pass Now

All guides

  • Guide10 reasons why incorporating Mobile Wallet Passes into your mobile strategy is essential
  • Guide5 Reasons why your store needs a wallet pass
  • GuideAdvantages of using Google and Apple wallet pass in businesses
  • GuideBest practices to design an amazing wallet pass
  • GuideBoost Engagement with Interactive Wallet Passes in Magazines
  • GuideConvert Pdf To Pass Using AddToWallet
  • GuideCreate Apple wallet pass for free
  • GuideCreate Apple Wallet passes for Your Business
  • GuideCreate Google wallet pass for free
  • GuideCreating Apple and Google Wallet Passes
  • GuideCreate Wallet Passes with the AddToWallet Zapier Integration
  • GuideDifferences between Apple and Google wallet
  • GuideEnhance audience interaction with wallet passes in Newspapers
  • GuideHidden Form Fields: Dynamic Expiry for Wallet Passes
  • GuideHow Google and Apple Wallet Pass Works
  • How-toHow to Add Amelia Booking Passes to Apple Wallet & Google Wallet
  • How-toHow to Add an Add to Wallet Button to Your Website
  • How-toHow to Add an Apple Wallet Button Easily
  • How-toHow to Add Bookly Booking Passes to Apple Wallet & Google Wallet
  • How-toHow to Add Location to Wallet Passes
  • How-toHow to Add Team Members to Your Account
  • How-toHow to Add Simply Schedule Appointments Bookings to Apple Wallet & Google Wallet
  • How-toHow to Add The Events Calendar Tickets to Apple Wallet & Google Wallet
  • How-toHow to Add LatePoint Appointments to Apple Wallet & Google Wallet
  • How-toHow to Add Sugar Calendar Tickets to Apple Wallet & Google Wallet
  • How-toHow to configure notifications for Apple & Google wallet passes
  • How-toHow to create a business pass for Apple and Google wallet
  • How-toHow to Create a wallet pass?
  • How-toHow to create a wallet pass using Zapier Integration?
  • How-toHow to create digital Concert Tickets with AddToWallet.co
  • How-toHow to create dynamic passes and manage users in AddToWallet
  • How-toHow To Create Gift Cards in Bulk
  • How-toHow to Create Hair Salon Gift Cards in Minutes
  • How-toCreate Loyalty Wallet Pass Using AddToWallet
  • How-toHow to Create Mobile Wallet Passes Using Google Sheets
  • How-toHow to Create & Scan Dynamic Wallet Passes Using AddToWallet
  • How-toHow To Distribute Google or Apple Wallet Pass
  • How-toHow to duplicate a wallet pass?
  • How-toHow to embed Google Wallet or Apple Wallet button on Shopify
  • How-toHow to embed Google wallet or Apple wallet button on Squarespace
  • How-toHow to embed Google Wallet or Apple Wallet button on Weebly
  • How-toHow to embed Google Wallet or Apple wallet button on Wix
  • How-toHow to embed Google Wallet or Apple Wallet button on WordPress
  • How-toHow to Generate JSON for Apple & Google Wallet Passes
  • How-toHow to generate leads with a Google or Apple Wallet coupon
  • How-toHow to Use AddToWallet Node on N8N
  • How-toHow to integrate make.com with AddToWallet.co?
  • How-toHow to Secure Wallet Passes with Access Code Protection
  • How-toHow to Send Notifications Using Wallet Pass
  • How-toHow to Set Up Custom Domains with AddToWallet
  • How-toHow to Share Wallet Passes Using Flyers
  • How-toHow to test Apple Wallet beacons
  • How-toAddToWallet Order Pass App on Shopify
  • How-toHow to create dynamic wallet pass
  • How-toHow to Use Webhooks with AddToWallet
  • GuideOur Audience Asked for Wallet Tickets AddToWallet.co Delivered
  • GuideCreate Wallet Passes from Form Responses
  • GuideWallet Pass Generator for Google Sheets
  • GuideWallet Passes for Wedding Invitations
addtowallet.co

AddToWallet is a Mobile Wallet Pass creator to design custom Apple & Google Wallet passes for coupons, deals, gift cards, and loyalty cards.

Use Cases

  • Insurance
  • Fund raising
  • Fan-clubs
  • Restaurant
  • Higher Education

Solutions

  • Loyalty Pass
  • Coupons
  • Gift Cards
  • Event Tickets
  • Google Wallet
  • WalletPassBuilder

Company

  • FAQs
  • Blog
  • Product Updates
  • Privacy policy
  • Terms & conditions
  • Code of conduct
  • ESG statement
  • Trust Center

Free Tools

  • All free tools
  • CSV to Pass Preflight
  • Image to Pass
  • PDF to Pass
  • QR Code Generator
  • Barcode Generator
  • PK Pass Viewer
  • Free membership pass
  • Event check-in rehearsal
© 2026 Hazelnut Ventures LLC