Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Stamp card

Configure a stamp card template for Apple Wallet and Google Wallet: stamp goal, behavior when full, one image per stamp count and a reward benefit.

A stamp card is the digital version of the paper loyalty card stamped at each visit: "buy nine coffees, the tenth is on us". The pass shows how many stamps have been collected, the picture on the card changes with every stamp, and when the goal is reached The Wallet Crew can grant a reward automatically.

A stamp card is its own type of pass template in The Wallet Crew. It looks and behaves like a loyalty card in Apple Wallet and Google Wallet. Because the count lives on the pass itself, a stamp card works without any external loyalty system.

Real-world examples
  • Coffee shop: ten stamps for a free drink of the customer's choice. The card shows a cup filling up, and the reward appears on the pass when the tenth stamp lands.

  • Car wash: five washes, the sixth is free. The card stays full until the free wash is taken, then starts a new round.

  • Bakery or pizzeria: one stamp per purchase, with a seasonal design applied through a theme.

  • Barber, pet grooming, juice bar or gym: one stamp per visit or class, with a reward benefit used at the counter in Pass Scanner.

  • Event series: one stamp per attended match or concert, with a collector reward at the end of the season.

How a stamp card works

Each stamp card pass carries a stamp board: the count, the goal and the list of every stamp added or corrected. Adding a stamp pushes the update to the holder's wallet.

On Apple Wallet

On Apple Wallet, a stamp card uses the store card layout, like a loyalty card. The strip image behind the primary field is replaced by the image of the current stamp count, so the holder sees the stamps fill up.

When Use new poster layout is enabled on the Apple tab, iPhones running iOS 27 or later display the card with the poster layout, and the poster artwork of the current count is used instead of the strip. Older iPhones keep the classic layout with the strip, which is why the strip images stay required. See Pass style and layout for the poster layout and the other Apple Wallet fields, and the loyalty card guide for poster image tips.

On Google Wallet

On Google Wallet, a stamp card is a loyalty pass. The hero image is replaced by the image of the current stamp count. The count is not written automatically into Google's points field: to display it as text, reference the stamp variables in a field (see Show the count in pass fields).

Create a stamp card template

A stamp card template is created like any other pass template, then completed with its stamp settings and images. To grant a reward when the card is full, create the benefit template of the reward first.

Benefit templates are in beta. Switch on Beta features in the profile menu, at the top right of the admin console, to see Engagement → Benefit templates.

1

Create the template

Open Wallet → Templates, click Add new, and choose Stamp card. Ready-made stamp card starters are available for a bakery, a coffee shop, a pizzeria, a car wash, pet grooming, a juice bar, a barber and a gym. They come with a stamp count, a goal behavior and artwork for each stamp count, and are a good base to adapt.

2

Set the goal

On the General tab, fill the Stamps card: the number of stamps to reach the goal, what happens when it is reached, and the optional reward benefit template.

3

Add one image per stamp count

On the Apple tab, open Images → Stamp images and add a strip image for each count, plus a poster artwork for each count when the poster layout is enabled. On the Google tab, add a hero image for each count.

4

Check the preview and save

Use the preview on the right to check the card at different counts, then click Save. The template is validated on save: every required image must be present.

To turn an existing loyalty card into a stamp card, create a new stamp card template and move the passes to it, for example with an automation using Change the pass template.

Stamp settings

The Stamps card on the General tab defines how many stamps reach the goal, and what the pass does when it gets there.

The Stamps card sets the goal, the behavior when the card is full, and the reward benefit template.
The Stamps card sets the goal, the behavior when the card is full, and the reward benefit template.
Setting
Description

Stamps to reach the goal

Required. Between 1 and 100.

When the goal is reached

What the card does once full. See the options below.

Reward benefit template

Optional. A benefit template granted once the goal is reached, for example "Free drink of your choice". Choose No reward to manage the reward elsewhere.

When the goal is reached
What the holder sees
Best for

Stay full, clear on the next stamp (default)

The full board stays visible. The next stamp clears the board and counts as the first stamp of a new round.

Most programs: the holder enjoys a full card until the next visit.

Clear straight away

The board empties the moment the goal is reached, so a full board is never shown.

Programs where the reward is the only signal the holder needs.

Stay full

The card refuses further stamps once full.

One-off collections, such as a season of matches, where a new card is issued for the next round.

The reward benefit is granted once per round. When the goal is reached again while the previous reward is still on the pass, the existing reward is refreshed rather than duplicated, so a holder carries one live reward at a time.

Stamp images

Stamp images make progress visible: there is one image for each count the card can display, from Empty (0 stamps) to the goal. A card with a goal of 10 therefore needs 11 images per image slot. With Clear straight away, the full card is never displayed, so the image of the goal count is not needed.

Stamp images lists one row per stamp count, from Empty to the goal, each with its own image.
Stamp images lists one row per stamp count, from Empty to the goal, each with its own image.
Slot
Where
Size
Required

Apple strip

Apple tab → Images → Stamp images

1200 × 462 px

For every count.

Apple poster

Apple tab → Images → Stamp images

1236 × 1680 px

For every count, when Use new poster layout is enabled.

Google hero

Google tab → Stamp images

1032 × 336 px

For every count.

Wallet apps crop images that do not match these proportions, so keep the stamps away from the edges. Changing the goal adds or removes rows in the editor; filled rows keep their images.

A simple way to produce the images is to design the empty card once, then export one version per count with one more stamp filled each time. Name the files by count, for example stamp-0.png to stamp-10.png, to upload them in order.

Show the count in pass fields

The stamp board is available to every field of the template through Liquid, which is useful for a text such as "7 / 10 stamps" or "3 more for a free drink".

Variable
Value

{{ stamps.count }}

Stamps collected. 0 on a card never stamped.

{{ stamps.target }}

Stamps needed to reach the goal.

{{ stamps.remaining }}

Stamps still needed, never below 0.

For example, a secondary field with the value {{ stamps.remaining }} more for a free drink keeps the holder informed on both wallets. See Liquid templating for the syntax.

Add stamps

Stamps are added at the counter with Pass Scanner, or by a system such as a POS or an e-commerce platform through the API. Every movement is recorded with its date, its value, who applied it and an optional remark.

From the admin console

The pass page shows the count of a stamp card next to its type, for example 7 / 10 stamps, and the preview draws the board as the holder sees it.

The pass overview shows the stamp count next to the pass type, and the preview shows the board with five stamps out of eight.
The pass overview shows the stamp count, and the preview shows the board with five stamps out of eight.

The Stamps tab of the pass holds the Stamp board: the count against the goal, the state of the card (Collecting or goal reached), what happens after the goal, and the reward. Below it, a grid lists every movement with its Date, the Stamps added or removed, who applied it (Applied by) and the Remarks.

The Stamps tab shows the stamp board with 5 of 8 stamps and every movement, with who applied it and the remarks.
The stamp board shows 5 of 8 stamps and every movement, with who applied it and the remarks.

Apply stamps records a movement by hand, for example for a purchase made without the card or to correct a mistake.

1

Open the dialog

On the pass page, open the Stamps tab and click Apply stamps. The dialog shows the current count and the count after the movement, for example "Currently 5 of 10 → 7".

2

Set the stamps to apply

Set Stamps to apply: a positive number to stamp the card, a negative number to correct it. The dialog shows the Room left before the goal and never lets the count go above the goal or below zero.

3

Add a remark and confirm

Add Remarks (optional), such as the receipt number, then click Apply stamps. The pass is updated in the holder's wallet.

Applying two stamps with the receipt number as a remark takes the card from 5 to 7 stamps.
Applying two stamps with the receipt number as a remark takes the card from 5 to 7 stamps.

With Pass Scanner

Staff can stamp a card when the Pass Scanner profile running on the device has Staff can add stamps switched on. Each tap of Add a stamp applies one stamp. See Stamp cards in Pass Scanner.

With the API

Integrations add stamps with the stamp card endpoint of the pass.

Operation
Endpoint

Read the stamp board

GET /api/{tenantId}/passes/{passId}/stamps

Add or correct stamps

POST /api/{tenantId}/passes/{passId}/stamps

The request body carries:

Field
Description

value

Required. Stamps to add (positive) or to remove as a correction (negative), between -100 and 100, never 0.

oldValue

Required. The count the caller last read. When the board has changed in between, the request is refused and nothing is applied, so a retried request can never stamp twice.

remarks

Optional. A free comment, up to 500 characters, for example the receipt number.

The response returns the new count, the goal, the state of the card (collecting or goalReached) and whether this movement reached the goal.

The request is refused, and nothing is applied, in these cases:

Error
Cause
Fix

Stamp count changed (409)

oldValue no longer matches the count.

Read the board again, then retry with the current count.

Stamp target exceeded (400)

The stamps sent do not fit in the room left before the goal.

Send at most the number of stamps left.

Stamp count below zero (400)

A correction would take the count below zero.

Correct by the current count at most.

Stamp goal reached (400)

The card is full and set to Stay full.

Issue a new card for the next round.

Not a stamp card (404)

The pass does not use a stamp card template.

Check the pass template.

See the Stamp Card API reference for permissions and full payloads.

Track stamp cards

Each stamp movement produces events that can be queried with the Insights API or sent to other tools with webhooks.

Event
When

Pass:StampApplied

A stamp, or a correction, is recorded.

Pass:GoalReached

A movement reaches the goal, once per round.

Pass:StampsReset

The board is cleared after the goal, with Stay full, clear on the next stamp or Clear straight away.

Events carry the count, the goal, the behavior and, for the goal, the reward benefit template, which makes it easy to measure how many holders complete a card and how long it takes.

Common configuration errors

The template is checked on save and by the tenant configuration test. The most common messages are:

Message
Fix

A stamp card pass must declare its 'stamps' configuration.

Fill the Stamps card on the General tab.

Stamp target must be at least 1, but is N.

Set Stamps to reach the goal between 1 and 100.

Apple stamp image for count N is missing its strip image.

Add the Apple strip for that count.

Apple stamp image for count N is missing its poster artwork.

Add the poster artwork for that count, or switch off Use new poster layout.

Google stamp image for count N is missing its hero image.

Add the Google hero for that count.

Apple (or Google) stamp image declares count N, which the card never displays.

Remove the extra image, often left after lowering the goal or choosing Clear straight away.

FAQ

Does the holder receive a notification when a stamp is added?

Each stamp updates the pass in the wallet. To send a message, for example when the goal is reached, use an automation or a notification on the pass. The reward benefit itself appears on the pass and on the benefits page.

Can a theme change the look of a stamp card?

Yes. A theme can change the colors and images of a stamp card, for example for a seasonal design. Which positions apply to which pass shows which positions apply to stamp cards. Themes are in beta: switch on Beta features in the profile menu to see Wallet → Themes.