Loyalty Programme Development: Bonuses, Cashback, Cards and an App
A loyalty programme is a set of rules under which a customer gets a benefit for repeat purchases: a discount, bonus points, cashback, a tier with privileges or gifts. Technically it means accounting for the customer's points and status, rules for earning and redeeming, a way to recognise the customer at the till, on the website or in the app, plus messaging and reports. Off-the-shelf services suit a standard bonus scheme, while custom development is needed when the programme is tied to your sales channels, CRM and accounting or requires non-standard mechanics. The key is to think through the rules and economics first and only then choose the technology.
Open the software development page
Why a business needs its own loyalty programme
Attracting a new customer is usually harder than bringing back someone who has already bought. A loyalty programme gives the customer a reason to return and gives the business data about who buys what and how often. Without that data, messages go to everyone and discounts go to people who would have bought anyway.
A good programme solves several tasks at once: it increases purchase frequency, helps recognise regular customers, turns anonymous sales into named ones and creates reasons to communicate, such as points earned, a new tier or a birthday gift. A poorly designed programme, on the other hand, turns into a permanent discount that eats margin and changes nothing in customer behaviour.
- retail and online shops: bonuses and cashback on purchases;
- cafes, restaurants and delivery: stamp cards and gifts for visits;
- salons and clinics: tiers for regular customers and bonuses for referrals;
- subscription services: perks for tenure and renewal;
- chains with branches and partners: one programme across several locations and brands.
Loyalty programme mechanics
Mechanics are chosen to fit customer behaviour and the economics of the business, not to copy competitors. They are often combined: basic cashback plus tiers plus separate promotions.
| Mechanic | How it works | When it fits |
|---|---|---|
| Discount card | A permanent discount on all or some purchases | A simple start with little margin to spare |
| Bonus points | Points are earned on purchases and redeemed as part of payment | You need a repeat purchase to spend the benefit |
| Cashback | A percentage of the purchase returns to a bonus account | A benefit customers understand, frequent purchases |
| Tiers | The more a customer buys, the higher the status and perks | There is a core of regulars with different spending |
| Gifts and stamps | Every Nth visit or purchase earns a gift | Coffee shops, car washes, services with frequent visits |
| Referral programme | A bonus for both sides when a friend is brought in | Customers willingly recommend the product |
| Partner coalition | Points are earned and spent across several partners | A network of brands or partners with a shared audience |
Every mechanic is a commitment to the customer. Points that have been earned will eventually have to be accepted as payment, so before launch you work out how much benefit the business is ready to give away, how long points live and what share of a purchase they can cover.
What a loyalty system consists of
From the outside the programme looks like a card or a screen with points, but inside it is a full accounting system that every point of sale connects to.
- Customer identification. A phone number, a card, a QR code in the app or a signed-in account: a fast way to recognise the customer in any channel.
- Bonus account. The points balance, status and the history of every operation.
- Rules engine. How much to award, when redemption is allowed, which products and promotions take part, when points expire.
- Points of sale. The till, website, app and bot: everywhere the customer earns or spends the benefit.
- Customer account area. Balance, tier, history, programme terms and personal offers.
- Control panel. Setting up rules and promotions, manual adjustments with a stated reason, customer search.
- Communications. Notifications about points earned, points expiring and new tiers, and messages by segment.
- Reports. How many points were issued and spent, which customers come back, how the programme affects repeat purchases.
The customer card with purchase history usually lives in the CRM; how to build it and connect it to the programme is covered in the guide on CRM development.
Where the loyalty card lives: app, bot or phone wallet
Plastic cards are giving way to digital ones: the customer carries nothing extra, and the business can reach them directly. The channel is chosen based on how customers already interact with the company.
- Mobile app. The fullest option: balance, a QR code for the till, catalogue, orders and push notifications. It makes sense when customers buy often and need the app for more than points.
- Telegram bot or Mini App. Sign-up in a couple of taps, the card and balance in the messenger, and notifications where the customer already chats. More about mini apps is in the guide on Telegram Mini App development.
- A card in the phone's digital wallet. The card can be issued in Apple Wallet and Google Wallet formats: it sits on the phone next to bank cards and updates the balance without a separate app.
- Phone number at the till. A minimal option with no card: the cashier finds the customer by number, and the customer sees the terms and balance in a bot or on the website.
What matters is that every channel works with the same bonus account. Then a customer can earn points in a store and spend them on the website without any mismatch anywhere.
Points accounting: rules, expiry and returns
Points are almost money and should be accounted for just as carefully. The balance is not stored as a single number that is overwritten on every purchase: each award, redemption, expiry and adjustment is recorded as a separate operation with a reason, a time and an author. From those operations the balance can always be recalculated and verified.
- Delayed award. Points become available not immediately but after the return period has passed; otherwise a customer could buy, collect points and return the item.
- Returns. When an item is returned, the points earned on it are deducted and the points spent on it go back to the account.
- Expiry. Points expire after a set time, and the customer gets a reminder in advance.
- Redemption limit. What share of a purchase can be paid with points and which products are excluded.
- Rounding and currencies. Rules for fractional values and, if needed, for different countries and currencies.
Calculations are done only on the server, not in the app or at the till. Payments work the same way; details on verifying payments and refunds are in the guide on online payment integration.
Protecting a loyalty programme from abuse
Wherever there is a benefit, there are attempts to get it dishonestly. Protection is built into the rules and the system design from the start, not after the first losses.
- Mass sign-ups for welcome bonuses: phone number verification and limits on new accounts.
- Referral fraud: the bonus for a friend is awarded only after that friend's real purchase.
- Staff crediting their own cards: access rights, an activity log and a report on unusual operations.
- Resubmitting the same purchase: server-side duplicate protection based on the receipt or order number.
- Account takeover: sign-in with a one-time code and confirmation for redeeming large amounts of points.
General principles for protecting web services, such as server-side permission checks, logging and rate limiting, are described in the guide on web application security. Personal data also needs attention: the customer must consent to its processing and, separately, to marketing messages.
Integrations and measuring the effect
A loyalty programme is useful only when it is connected to the company's other systems:
- tills and the online shop: earning and redeeming at the moment of purchase;
- CRM: the customer card, segments and interaction history;
- the accounting system: products, prices, receipts and returns;
- messengers, email and push notifications: communication with customers;
- analytics: how programme members buy compared with everyone else.
The programme should be judged by changes in customer behaviour: repeat purchase frequency, members' share of revenue, average order value and the cost of the points issued. To see which ad channels bring customers who later become regulars, the programme is connected to end-to-end analytics.
How we approach loyalty programme development
JEEKSSHIRE 24 runs the project from analysing the task to launch and support. We start with the rules: which mechanics, what economics, where the customer will earn and spend points and which systems are involved. Then we build the first working loop, for example a bonus account with a bot or a mobile app connected to one point of sale, and extend it to the other channels.
A small automation or a bot usually takes from one to several weeks, and a separate app from several months; we name the exact timeline and cost after analysing the task. We build operation accounting the same way as in our Wallet: amounts are calculated on the server, and every operation has a status and a history. The client receives the source code and the rights to it. Other areas of work are gathered on the page about custom software development, and the web part of the programme, the account area and the control panel, falls under web application development.
Frequently asked questions
Which should I choose: a discount, bonuses or cashback?
A discount is the simplest, but the benefit is used up at once. Bonuses and cashback bring the customer back for the next purchase. The choice depends on purchase frequency and margin.
Do I need a separate app for a loyalty programme?
Not necessarily. The card can be issued in a Telegram bot, a mini app or the phone's digital wallet, and an app is worth building when customers need it for other tasks too.
Why are points not awarded immediately?
So that a customer cannot collect points and then return the purchase. Points become available once the return period has ended.
Can one programme cover several branches or brands?
Yes. All locations work with the customer's shared bonus account, and rules can be set separately for each branch or brand.
How can I tell that a loyalty programme is working?
Compare members with other customers: repeat purchase frequency, average order value and share of revenue, taking into account the cost of the points issued.