Loyaltree logo

Case study · Designed, built and operated by MintRadix

Engineering a connected loyalty platform.

Loyaltree is a SaaS product our team designed, built and runs in production. It connects a merchant web dashboard, a native staff app, Apple and Google Wallet passes and the backend services behind them into one system that businesses use every day.

A Loyaltree pass in a phone wallet showing points, the next reward and a QR code
Our role
Product, design, engineering, operations
Built
Web app, native app, wallet passes, backend services
Platforms
Web, iOS, Android, Apple Wallet, Google Wallet
Status
Live in production, in use by businesses

The challenge

Simple at the counter, complex underneath.

Small hospitality businesses wanted loyalty customers would actually use, and a way to see who comes back. That meant solving several problems at once.

  • No app to install

    Customers join and collect rewards without downloading anything, so the card had to live in Apple Wallet and Google Wallet.

  • Two wallet ecosystems

    Signed pass files and device push on Apple, an API and signed callbacks on Google. Both had to behave as one product.

  • Seconds at the counter

    Staff scan during service, often with a queue. Adding points or redeeming had to be fast and hard to get wrong.

  • Many businesses, one platform

    Every business, location and employee needed isolated data, roles and permissions, and everything had to stay in sync.

What we built

Three products on one backend.

The Loyaltree merchant dashboard with users, transactions, revenue and activity

For owners

Merchant dashboard

Programmes, card design, locations, staff, messaging and customer activity in one multi-tenant web app.

  • React
  • TypeScript
  • EN · NL · EL
A Loyaltree wallet pass with points, next reward and QR code A Loyaltree reward reminder on an iPhone lock screen

For customers

Wallet experience

A branded pass saved from a QR code. Balances update on the pass and messages arrive as wallet notifications.

  • Apple Wallet
  • Google Wallet
The scanner app ready to scan a pass The scanner app confirming a redeemed reward

For employees

Scanner app

A native app built for the counter: open, scan, confirm, with clear success and error states.

  • React Native
  • Expo
  • Passkeys

Behind the apps

  • Core API

    Spring Boot REST API for companies, customers, rewards, staff and billing. Every request is checked against its company and role.

  • Wallet pass service

    Signs Apple passes, manages Google Wallet objects, registers devices and pushes updates when a balance changes.

  • Authentication

    Managed identity with short-lived tokens, secure refresh and passkey sign-in on the native app.

  • Integrations

    Apple PassKit, Google Wallet, payments and invoicing, email and commerce, each behind its own boundary.

Engineering behind it

Built to be changed, and to keep running.

Architecture
Four codebases with clear ownership. Wallet logic lives in its own service, so the platform evolves without touching pass signing or device registration.
Communication & reliability
Clients talk to one API, and the API calls the pass service over authenticated requests. Work that depends on Apple or Google is queued and retried, so a scan never waits on them.
Security
Tenant isolation and role checks on every request, verified wallet callbacks with replay protection, and no secrets in the codebase.
Data & infrastructure
PostgreSQL with versioned migrations, Redis for caching and jobs, containerised services and separate development and production environments.

From development to production

One scan, every system.

The components only matter if they work together. This is what happens in the few seconds after an employee scans a customer’s pass.

  1. Scan

    An employee scans the customer’s pass in the mobile app.

  2. Verify

    The API checks the employee’s role and the business the pass belongs to.

  3. Record

    Points or a redemption are stored as a transaction.

  4. Update

    The pass service rebuilds the pass and notifies Apple or Google.

  5. Deliver

    The new balance appears on the customer’s phone.

  6. Report

    The visit shows up in the merchant dashboard.

  • Checked on every change. Lint, tests and builds run before anything can be merged.
  • Tested before release. Separate development and production environments and app builds.
  • Monitored and improved. Errors are reported as they happen, failed jobs are retried, and new features join the same services.

Need a platform like this?

Two members of the MintRadix team on the sofa
Chat with Jurian on WhatsApp (opens in a new tab)