Case 03 Live-event payments
A wallet built for everyone paying at once
Digital money-spraying for live events. Guests top up wallets and spray money or send gifts in real time, even remotely, and celebrants withdraw to their bank accounts.
- Company
- DigiSpray
- Live site
- digispray.app (opens in a new tab)
- Role
- Senior Full-Stack Engineer (Contract), leading the platform rebuild
- Period
- 2025 – 2026
- Location
- Lagos, Nigeria
- Stack
- Node.js, Express.js, Redis, Firebase, Flutter, Vue.js

What DigiSpray does
At Nigerian celebrations, guests “spray” cash on the celebrants. DigiSpray does it digitally: guests top up a wallet and spray money or send gifts in real time, including guests who can’t be there in person. Celebrants withdraw what they receive to their bank accounts.
It runs on web and mobile. I joined as a senior full-stack engineer on contract and led the rebuild of the platform.
Why bursts are hard
Spraying comes in bursts. At a live event many guests send money at the same moment, and every balance has to stay exact through it.
Taps get repeated and networks retry, so the same spray can arrive twice. Payment providers confirm asynchronously, and withdrawals to banks have to be paid out reliably and match the provider’s records.
My role
- The wallet engine: top-ups, sprays, gifting and withdrawals.
- Protection against duplicate sprays, verified payment webhooks, reconciliation and KYC.
- Leading the rebuild of the web and mobile platform and its core business logic.
The wallet engine
Balances are kept as a ledger. Every top-up, spray, gift and withdrawal is recorded as an entry, and a balance is calculated from those entries. When many transfers land at once, each adds an entry; none of them races to overwrite a single number.
Each spray carries an idempotency key, so a repeated tap or a network retry is recognised and applied only once.
Webhooks from payment providers are verified before the system acts on them, and wallet activity is reconciled against the providers’ records. KYC checks cover withdrawals to bank accounts.
Alongside this, I led an architectural refactor of the web and mobile platform and its core business logic.
Decisions
Ledger entries for every movement of money
Under concurrent load, a single stored balance is where updates collide. Recording each movement as an entry avoids that, and the balance is calculated from the entries.
An idempotency key on every spray
Duplicates are caught at the point where they would do damage: when the spray is applied.
Verify webhooks, then reconcile
Callbacks are verified and records are reconciled against the provider, so a forged or missing callback can’t quietly change a balance.
Trade-offs
Balances take more work to read
Calculating a balance from entries costs more than reading one number, especially during a burst. In return the balance is exact and comes with a full history.
Clients must send keys consistently
Idempotency only works if the web and mobile apps generate and resend keys the same way every time.
Rebuilding a live system
Refactoring the core while it handles live events means making changes in steps that keep the money paths working the whole time.
Where it landed
- Balances stay accurate through bursts of simultaneous transactions at live events.
- Duplicate sprays are rejected by their idempotency keys, and provider callbacks are verified and reconciled.
- The rebuild reduced technical debt and sped up delivery of new payment features.