Designing a Loyalty Rewards Program for Offline Brands: An Event Driven Approach
Most loyalty software is built for ecommerce, where you already know the customer, the order and the basket. Offline brands have a harder problem. A tube of adhesive or a pack of tea passes through a distributor, a wholesaler and a corner shop before anyone buys it, and the brand never learns who that buyer was.
This post walks through how to design a loyalty rewards program for that world, using product level QR codes as the entry point and events as the backbone.
The core idea
Every unit carries a unique code. A scan is the moment an anonymous buyer becomes a known customer. Everything else in the program reacts to that one event.
ProductScanned -> CodeValidated -> RewardCredited -> WalletUpdated | +-> CodeRejected -> CounterfeitSignal Domain model
Keep it small:
- Brand: owns campaigns and funds rewards.
- Campaign: product set, reward rule, budget, start and end date, regions.
- Code: hashed secret, batch, product, status.
- Member: verified phone number, wallet.
- LedgerEntry: append only credits and debits.
The wallet balance is never stored as a single editable number. It is the sum of ledger entries. That makes audits, refunds and disputes straightforward.
Reward rules as data, not code
Marketing teams change rules every few weeks. Hard coding them means a deploy every time. Store rules as configuration:
{ "campaign": "monsoon-2026", "base_reward": 10, "multipliers": [ { "when": "member.scans_this_month >= 5", "times": 2 }, { "when": "product.sku in ['TEA-500G']", "add": 5 } ], "budget_cap": 500000 } A small rules engine evaluates the scan event against these rules and emits a single RewardCredited event.
Budget control
Brands care about one number above all: how much has the campaign cost so far. Decrement the campaign budget in the same transaction that credits the wallet, and stop issuing rewards the moment the cap is hit. Show the live burn rate on the brand dashboard.
Redemption
A loyalty rewards program fails if rewards are hard to use. Give members simple options:
- Withdraw the wallet balance to a bank account through UPI.
- Redeem on gift cards.
- Spend in a rewards store.
Payouts should run through a queue with idempotency keys so a retry never pays twice.
Analytics the brand actually wants
- Scans by city, outlet and day, which shows real sell through rather than primary sales.
- Repeat scan rate per member, the true loyalty metric.
- Rejected scans by region, an early warning for counterfeits.
Closing thoughts
The interesting part of offline loyalty is not the points maths. It is turning a physical product into a reliable, secure event source. Get that right and the rest of the program is ordinary software. For a live example of the consumer side, see Assured Rewards, which runs QR based cashback, genuine product checks and UPI withdrawals for partner brands.