The Data Duck

Live webinar, Saturday 14 November 2026

Set up Apple Wallet loyalty for your business.

A card that lives on your customer's phone, can appear on the lock screen when they walk near your store, and updates itself after every visit.

Ritu David
Founder, The Data Duck
Muhammad Aish
Chief Technology Officer

The next 45 minutes

Two things we will build, then how you launch it.

01

A pass that appears near your store.

What a pass is, what you need from Apple, the file itself, and the lines that put it on the lock screen.

About 16 minutes
02

A loyalty programme you run from your side.

Stamps and points that update on the customer's phone after every bill.

About 14 minutes
03

Rollout.

Getting it onto phones, Android, cost, and what to ask a vendor.

About 10 minutes

Questions at the end. This page becomes your guide: apple-webinar.thedataduck.com

The moment we are building towards

Ananya walks past Kaapi Lane.
Her phone already knows.

No app to download.No SMS, no ad spend.The card was already on her phone.

Simulated for the webinar. On a real iPhone you have to be standing near the store.

What just happened

Nobody sent Ananya anything.
Her iPhone decided.

The phone
does the work.

The pass carries your store's coordinates. iPhone compares them with where it is, on the device.

You are
not told.

Apple does not tell the brand that a customer walked past. No tracking, nothing to explain to your customers.

It is a suggestion,
not a guarantee.

Apple says the card "can" appear on the lock screen. The customer can switch it off for any card.

So we design for two moments: the one near the store, and the one where their balance changes. That is Flow 1 and Flow 2.

Source: Apple Developer documentation, "Showing a Pass on the Lock Screen"; iPhone User Guide (iOS 27).

Flow 1 of 2

Build a pass that appears near your store.

01

Get your Apple account.

02

Design the card.

03

Write the pass file.

04

Add your stores.

05

Sign it and share it.

First, what a pass actually is

A Wallet pass is a small signed folder. Nothing more.

Your pass folder
pass.json

The words, colours, barcode and your store locations.

icon.png logo.png strip.png

Your pictures.

manifest.json

A fingerprint of every file, so nothing can be altered.

signature

Your brand's digital seal, made with a certificate from Apple.

KaapiLane.pkpass

Zip the folder, rename it .pkpass. That file is the pass.

No app. No App Store review. A file you host on your own website.

Source: Apple Developer documentation, "Building a Pass".

Step 01. Before you start

Four things. Only the first one takes time.

01

An Apple Developer account, in your brand's name.

The same membership app makers use. You never publish an app.

Rs. 8,700 a year. From India you enrol in the Apple Developer app.

02

A Pass Type ID and its certificate.

Your brand's digital seal. Every pass is signed with it so iPhones trust it came from you.

Made in the developer portal. No Mac needed. It expires: check the date and renew in time.

03

Your store coordinates.

Latitude and longitude of each entrance.

Copy them from Google Maps.

04

Somewhere to run it.

A small server of your own, or a wallet platform.

We compare both later.

Start the account today. A company account needs a D-U-N-S number; Apple says to allow up to 7 business days for that alone, then it verifies the company. A sole proprietor enrols as an individual and needs no D-U-N-S number.

It must be your own account. Apple's rules do not let an agency sign your passes with its certificate.

Source: Apple Developer Program enrolment and licence agreement; India App Store price, checked 13 Nov 2026.

Step 02. Design the card

Six places to put information. Use them well.

Design rulesEssentials at the top.Strong contrast.Never put text inside an image: it cannot be read aloud or updated.

Source: Apple Human Interface Guidelines, Wallet.

Step 03. Write the pass file

The whole card is one text file. Here it is.

{
  "formatVersion": 1,
  "passTypeIdentifier": "pass.com.kaapilane.loyalty",
  "teamIdentifier": "A1B2C3D4E5",
  "serialNumber": "KL-004218",
  "organizationName": "Kaapi Lane",
  "description": "Kaapi Lane stamp card",

  "backgroundColor": "rgb(14, 77, 58)",
  "foregroundColor": "rgb(255, 255, 255)",
  "labelColor": "rgb(191, 227, 208)",
  "logoText": "Kaapi Lane",

  "storeCard": {
    "headerFields": [{ "key": "stamps", "label": "STAMPS", "value": "7 of 10" }],
    "secondaryFields": [{ "key": "member", "label": "MEMBER", "value": "Ananya Rao" }],
    "auxiliaryFields": [{ "key": "next", "label": "NEXT REWARD", "value": "Free coffee at 10" }],
    "backFields": [{ "key": "terms", "label": "How it works", "value": "..." }]
  },

  "barcodes": [{ "format": "PKBarcodeFormatQR", "message": "KL-004218",
                 "messageEncoding": "iso-8859-1" }],

  "locations": [{ "latitude": 19.0607, "longitude": 72.8302,
                  "relevantText": "3 more stamps to a free coffee." }],

  "webServiceURL": "https://passes.kaapilane.example/",
  "authenticationToken": "vxwxd7J8AlNNFPS8k0a0FfUFtq0ewzFd"
}

One file, six groups of lines

Each group does one job.Choose a number to see each one.

Who issued it

Six required lines. Your Pass Type ID and Team ID come from your Apple account. The serial number is this one customer's card.

How it looks

Your brand colours, written as rgb values.

What it says

Each field has a label and a value. These are the six places from the last slide.

What the till scans

A QR code containing the member number.

Where it should appear

Your stores. This is the next slide.

How it stays up to date

Two lines that let your system update the card later. That is Flow 2.

Source: Apple Developer documentation, Wallet Passes, "Pass" reference.

Step 04. Add your stores

These lines put your card
on the lock screen.

"locations": [ { "latitude": 19.0607, "longitude": 72.8302, "relevantText": "3 more stamps to a free coffee." }, { "latitude": 18.9220, "longitude": 72.8320, "relevantText": "3 more stamps to a free coffee." }, { "latitude": 19.1176, "longitude": 72.9060, "relevantText": "3 more stamps to a free coffee." } ], "maxDistance": 100
Ananya is near

latitude, longitude: your store entrance, not the middle of the mall. Check each one on a map before you launch.

relevantText: the line the customer reads. One per store, so each outlet can say something different.

Ten locations at most in one pass. We deal with bigger chains shortly.

Roughly 100 metres, and Apple decides. Apple's guide calls the store-card radius small, "on the order of a hundred meters", and says it may change. maxDistance can make it smaller, never larger.

Simulated for the webinar.

Source: Apple Developer documentation, "Pass.Locations"; Wallet Developer Guide (archived).

The line on the lock screen

You get one short line.
Make it worth a detour.

Lines that earn a visit

Lines that get you switched off

Say why now.Use their own balance.Under about 60 characters.

The text is stored in the pass: update the pass and the line changes. Apple sets no length limit, long lines get cut; 60 characters is our rule of thumb. Anyone nearby can read a lock screen, so keep health and money lines discreet.

Simulated for the webinar.

Source: Apple Wallet Developer Guide (archived): relevantText should say why the pass is relevant at that place.

And the time part?

Place is automatic. Time is
something you schedule.

A loyalty card appears by place, at any hour. Apple's store-card style has no setting for opening hours or campaign dates.

So you change the card when the moment changes. Your system updates the pass at the start of a campaign and again at the end.

The line on Ananya's lock screen, across one weekChoose a day

3 more stamps to a free coffee. Diwali weekend: double stamps till Sunday.

Friday, 6 pm Your system updates the pass

Sunday night and changes it back

Need date and place together, like an event? Other pass styles, such as event tickets and generic passes, support relevant dates. There, the date and the place must both match.

Simulated for the webinar.

Source: Apple Developer documentation, "Showing a Pass on the Lock Screen".

More than ten stores

Sixty stores, ten slots.
Give each customer their own ten.

Ananya lives in Bandra.

She buys a coffee in Bengaluru on a work trip.

Kaapi Lane store In Ananya's pass

Rule used here: the ten stores nearest to her home and her latest purchase.

In Ananya's pass now0 of 60

    Her pass holds the ten stores nearest to her home. All in Mumbai.

    Your system rewrote her list and updated her pass. She did nothing.

    The other way: a small Bluetooth beacon in every store, all sharing one ID. One line in the pass then covers every store, but you buy and maintain the hardware.

    Source: Apple Developer documentation: a pass holds up to 10 locations; update the pass to change the list.

    Step 05. Sign it and share it

    Seal it with your certificate,
    then it is just a link.

    You do not do this by hand

    A code library does all five steps in one call (for example passkit-generator for Node.js).

    Apple's own new tools: Pass Designer for Mac and Pass Builder for servers (released 2026, early preview).

    A wallet platform does it behind a dashboard.

    Source: Apple Developer documentation, "Building a Pass"; WWDC 2026 "What's new in Wallet".

    Before you promise this to your team

    What Apple does not promise.

    It does

    • Appear near any of the ten stores in the pass, at any hour.
    • Show the line you wrote for that store.
    • Open the card in one tap.
    • Work with no app and no ad spend.

    It does not

    • Guarantee that it shows every time. Apple's wording is that it "can" appear.
    • Show a live number unless you update the card: the line is stored in the pass.
    • Work if the customer turned off Location Services or "Suggest on Lock Screen" for the card.
    • Tell you who walked past.
    • Work in the simulator: test on a real iPhone, standing near the store.

    Promise your team a helpful nudge, not a megaphone. The megaphone, used gently, is Flow 2.

    Flow 1, done

    You now have a card that shows up where you are.

    • Apple Developer account in your brand's name
    • Pass Type ID and certificate
    • Card designed: six places used well
    • pass.json written
    • Up to ten stores, each with its own line
    • Signed, zipped, shared as a link

    Flow 2 of 2

    Run the loyalty programme from your side.

    01

    Choose the shape of your programme.

    02

    Keep three small lists.

    03

    Change a balance, and watch the phone.

    04

    Connect it to your billing.

    05

    Set your house rules.

    The idea in one picture

    Loyalty is a loop. The pass closes it.

    Customer buys
    You record it
    Their balance changes
    The card on their phone updates
    Their lock screen tells them

    Paper cards and most apps break here. Nobody sees their balance, so nobody comes back for it.

    Step 01. Choose the shape

    Four shapes fit on a card. Pick one.

    Stamps

    Good for cafes, salons, car washes; frequent, similar bills.

    Buy 9, the 10th is free.

    Points

    Good for varied bills.

    1 point per Rs. 100. 500 points = Rs. 500 off.

    Tiers

    Good for jewellery, fashion, hotels; rare, large purchases.

    Spend unlocks status and services, not discounts.

    Store credit

    Good for fashion and retail.

    5% of every bill comes back as credit.

    Three numbers to decide before you build

    How fast they earn.What a reward costs you.When it expires.

    Illustration: nine coffees at Rs. 250 is Rs. 2,250 of spend. The free tenth costs you about Rs. 60 to make: under 3% of that spend. A reward of Rs. 250 off would cost you the full Rs. 250. Know which one you are giving.

    Step 02. What your side remembers

    Three small lists. That is the whole system.

    Customers

    NameMobileCard number
    Ananya Rao98••• ••210KL-004218
    Priya Nair99••• ••874KL-004102
    Rohan Mehta97••• ••036KL-003871

    Balances

    Card numberStampsLast visit
    KL-004218712 Nov
    KL-00410299 Nov
    KL-00387132 Nov

    Phones

    Card numberPhone IDPush address
    KL-0042184f9a…b71c…
    KL-004102a03e…9d42…
    KL-003871c7b1…5e0f…

    Filled in automatically when the card is added to a phone.

    The card's serial number ties it together.

    A spreadsheet is enough to start. A wallet platform keeps these lists for you.

    Step 03. Change a balance

    One tap at the till. Watch her phone.

    Kaapi Lane loyalty console1,240 cards
    CustomerCard numberStamps
    Rohan MehtaKL-0038713 of 10
    Priya NairKL-0041029 of 10
    Ananya RaoKL-0042187 of 10
    Farhan SheikhKL-0043052 of 10
    Meera IyerKL-0043775 of 10

    Ananya Rao's card

    All 1,240 cards

    Line shown near a store3 more stamps to a free coffee.

    What is happening

    Try it: Start again, then Add a stamp.

    Simulated for the webinar.

    Behind that button

    Four conversations, all automatic.

    Your till or console
    Your system
    Apple
    Ananya's iPhone

    One time, when she added the card

    “Hello, I hold card KL-004218. Here is my push address.”

    Because the pass file contains your web address and a secret key.

    “Bill paid. One stamp for KL-004218.”

    “Something changed.”

    An empty signal. No message inside.

    “What changed?”

    “Here is the new card.”

    The phone downloads a freshly signed pass.

    Wallet compares old and new, and shows your change message.

    K
    Kaapi LanenowYou now have 8 of 10 stamps.

    Your system needs a secure (https) web address.

    The same certificate signs the card and authorises the signal.

    Delivery is best-effort: a phone that is offline catches up later.

    Source: Apple Developer documentation, “Adding a Web Service to Update Passes”.

    The one line that makes the phone speak

    No change message, no notification.

    "headerFields": [{ "key": "stamps", "label": "STAMPS", "value": "8 of 10", "changeMessage": "You now have %@%@ is replaced with the new value. stamps." }]
    When does the customer see something?What happens
    The value of a field changes, and that field has a change messageA notification on the lock screen.
    Anything else changes (colours, store list, the lock‑screen line, a field with no change message)The card updates silently.

    You cannot send free text. The words come from the field. So platforms keep one field called “Offer” or “Message” and change its value.

    Simulated for the webinar.

    Source: Apple Developer documentation, “PassFieldContent: changeMessage”.

    Step 04. Connect it to your billing

    Start with a scan. Automate later.

    01

    A staff page on any phone.

    Staff scan the card's QR and tap “Add a stamp”.

    Day one. No billing integration.

    02

    Your billing software tells your system.

    When a bill closes with the customer's mobile number, the balance updates by itself.

    Needs your billing software to offer an API or webhook, its way of telling other software about a bill.Shopify, Restroworks and Zoho POS document one. With others, such as Petpooja, ask the vendor for partner access.

    03

    Online orders too.

    Your website or store platform reports each paid order the same way.

    Same mechanism.

    Kaapi Lane StaffSigned in
    Scan the customer's card
    Ananya RaoKL-004218
    7 of 10stamps
    Add a stamp

    The staff page needs a staff login, so customers cannot stamp their own card.

    Source: vendor developer documentation (Shopify, Restroworks, Zoho, Petpooja), checked 13 Nov 2026.

    Step 05. House rules

    You are on their lock screen. Behave like a guest.

    Apple's position

    Change messages are for timely updates the customer needs, never for marketing.

    Apple's design guidelines

    Promotions are allowed when they relate directly to the pass, for example a coupon for that store. Excessive pushes are not.

    Apple's developer agreement

    The customer can switch off notifications or updates for any card, or delete it.

    On the customer's iPhone

    A policy that keeps the card installed

    • Notify when their balance changes.
    • Notify when a reward is ready or about to expire.
    • One offer in a while, tied to their card, with an end date in the text.
    • No daily promotions.
    • No messages that are not about their card.

    Source: Apple Human Interface Guidelines (Wallet), updated June 2026; Apple Developer Program License Agreement.

    Flow 2, done

    A programme you can run with one tap.

    • A shape: stamps, points, tiers or credit
    • Three lists: customers, balances, phones
    • Two extra lines in the pass so it can update
    • A change message on the field that matters
    • A scan page at the till today, billing integration later
    • House rules for notifications

    Getting it onto phones

    One link. Scan, fill, add.

    Simulated for the webinar.

    01

    Scan

    K Kaapi Lane Join Kaapi Lane rewards. Scan with your camera. kaapilane.example/join
    02

    Fill

    03

    Add

    In Wallet: 2 stamps to start

    The page makes a card just for them, with their own number.

    Android visitors see an Add to Google Wallet button instead.

    Apps with their own built-in browser, such as Instagram, may not add the card. The page should say: open in Safari.

    Source: Apple Developer documentation, "Distributing and Updating a Pass".

    Where the link goes

    Put it where the customer already is.

    At the till

    Staff say one sentence: scan this, tap Add.

    KAAPI LANE

    On the bill

    A QR at the bottom of every receipt.

    K Kaapi Lane Your loyalty card is one tap away: kaapilane.example/join 11:07

    WhatsApp

    Send the link, not the file. Test it on an iPhone first.

    K kaapilane kaapilane.example/join To add: open in Safari

    Instagram

    Link in bio, with the open-in-Safari hint.

    Add to Apple Wallet badge goes here

    Your website

    Use Apple's official Add to Apple Wallet badge, unaltered.

    K Kaapi Lane Your order is confirmed Add your loyalty card

    Email

    After any online order.

    Apple's badge may not be redrawn or recoloured. Download it from Apple's badge guidelines page.

    Why people keep it

    A card stays if it is worth something on day one.

    Start them ahead.

    In a well-known study, a 10-stamp card with 2 stamps already filled was completed more often than a blank 8-stamp card, though both needed 8 purchases. Call the two stamps a welcome bonus.

    Keep the number true.

    If the balance on the card is ever wrong, trust is gone.

    Be quiet.

    Balance changes and real rewards only.

    Make staff the channel.

    One sentence at the counter: "Scan this, tap Add." A card nobody mentions does not get added.

    Source: Nunes and Dreze, "The Endowed Progress Effect", Journal of Consumer Research, 2006.

    What you can count

    You will know who has the card.
    Not who walked past.

    You can see

    • Cards issued.
    • Cards added to a phone. The phone registers with your system.
    • Cards removed.
    • Scans at the till.
    • Rewards earned and redeemed.
    • Repeat visits per member.

    You cannot see

    • Who saw the lock-screen suggestion.
    • Who walked past a store.
    • The customer's name or number, unless your own form collected it.

    Treat "cards on phones" as an estimate. Measure what matters: visits and bills from members.

    The question everyone asks

    What about Android? Build both.

    Share of web usageSource: StatCounter

    All phones browsing the web in India, October 2026
    94.8%Android5.1%iPhone

    Share of premium phone shipmentsSource: IDC

    Phones shipped at US$800 and above in India, 2025
    63%AppleAll other brands

    The question is not how many Indians have an iPhone. It is how many of your customers do.

    Apple WalletGoogle Wallet
    In IndiaYesYes, for passes, since May 2024
    Card updatesYour system serves the new cardYou call Google's service
    Near-store alertUp to 10 places, you write the lineUp to 10 places, Google writes the line (we have not tested it in India)
    Getting startedApple Developer account, Rs. 8,700 a yearGoogle issuer account, approval before going public

    Same customer list, same balances, two card formats. Plan for both from the start.

    Source: StatCounter (Oct 2026); IDC (Feb 2026); Google Wallet developer documentation.

    What it takes

    The costs are small. The decisions are yours.

    CostsApple Developer accountRs. 8,700 a year.
    Per card or per updateWe found no Apple fee documented.
    The membership is the only one.
    Google Wallet issuer accountGoogle lists no fee.
    DecisionsA place to run itA small serverora platform subscription
    Someone to build itYour developerora partner
    UpkeepEvery yearRenew the Apple membership and the certificate.
    If the certificate lapses, cards keep working
    but new cards and updates stop.

    Source: India App Store price, checked 13 Nov 2026.

    Three ways to get there

    Build it, rent it, or have it built.

    Build it yourself.

    Your developer, an open-source library, your server. Most control, most work.

    Our estimate: about two working weeks for a first Apple-only version.

    Rent a wallet platform.

    A dashboard that designs, signs and updates cards. Fast to start, monthly fee in dollars, check how it connects to your billing.

    Examples: Loopy Loyalty from US$25 a month, PassKit from US$39.50 a month. Some still need your own Apple account.

    Have it built for you.

    A partner sets it up in your Apple account and connects it to your billing.

    You own it.

    Whichever you choose, ask these seven questions

    • Is it signed in my own Apple Developer account?
    • Does every customer get their own card and number?
    • Can I change the lock-screen line per store myself?
    • What happens when I have more than ten stores?
    • How does a bill at my till reach the card?
    • Do I get a Google Wallet card as well?
    • Can I export my customer list and leave?

    Source: prices as published on each company's website, 13 Nov 2026.

    Take this with you

    Your first card, in seven steps.

    01

    Enrol your brand in the Apple Developer Program today.

    02

    Decide the shape: stamps, points, tiers or credit, and its three numbers.

    03

    Design the card: six places, essentials at the top.

    04

    List your store coordinates and write one line per store.

    05

    Choose: build, rent, or have it built.

    06

    Launch at the till first: one QR, one sentence from staff.

    07

    Add Google Wallet for your Android customers.

    QR code for apple-webinar.thedataduck.com

    This guide

    apple-webinar.thedataduck.com

    If you would rather not do this alone

    We can build this for your brand.

    The Data Duck sets it up in your own Apple account, designs the card, connects it to your billing, and hands you the keys.

    QR code for thedataduck.com/#brief
    Talk to us

    thedataduck.com/#brief

    Ritu DavidFounder, The Data Duck
    Muhammad AishChief Technology Officer

    Your turn

    Questions.

    Ask anything. The common ones already have answers on this page.

    Press Q for all prepared answers.

    Tap a question to jump to its answer further down this page.

    Questions people ask