A history nobody can rewrite
Every stamp, point or reward is a line written once. The balance follows from it; a correction is added, nothing is erased.
UlamnaPass Technical details
What the server guarantees you, in plain words, then the life of a scan. The routes and the infrastructure are at the very bottom, for technical teams: none of it is needed to use UlamnaPass.
What you get
The customer isn't the problem. So everything is checked by the server, never by the card or the app.
Every stamp, point or reward is a line written once. The balance follows from it; a correction is added, nothing is erased.
Even on a shaky 4G line, a repeated scan is recognised as the same one: the card is credited once.
A maximum of points per scan, and 15 minutes between two stamps on the same card (adjustable). Only the owner can override them.
A card is only made by a real tap, with a limit per connection. The welcome bonus waits for the first scan at the till.
Google Wallet: the QR changes every few seconds, so a screenshot soon stops working. Apple Wallet: sharing the card is blocked, but its QR stays the same, so a screenshot can still be scanned. Either way, the delay between two stamps and the once-only reward limit what a copy can earn.
No name, phone or e-mail. The detail is written once, in the privacy notice.
The life of a scan
Cards and apps show it; they never compute it.
A fixed QR, printed once. An optional NFC stand opens the same page.
Apple Wallet, Google Wallet, or the web card without a Wallet. It is born at 0.
With the UlamnaPass app, on iPhone or Android. The server checks who is scanning, the limit and the delay.
The server writes the line, then tells the phone in the background: the till never waits for an outside service.
For developers
The customer page, the Wallet cards and the apps' API live under one domain, served by one Rust server (Axum) and a backed-up SQLite database. Calls to Apple and Google go out in the background: the till never waits on an outside service. Keys stay on the server, never in the apps.
GET /c/{shop} POST /c/{shop}/join POST /api/v1/shops/{shop}/cards/{card_id}/events BEGIN IMMEDIATE · INSERT ledgerAPNs · PATCH loyaltyObject/c/{shop} /c/{shop}/join /c/{shop}/card/{token} /c/{shop}/pass/{card_id}.pkpass /api/v1/shops/{shop}/cards/{card_id}/events /api/v1/apple/v1/*