Digital wallets
Stored-Value Wallet Service
Wallet service with fiat balances, point conversion, versioned exchange rates, fees, refunds and chargebacks, plus an operator portal.
The problem
Balances, conversions and fees must be exact and auditable, even when requests are retried or arrive at the same moment.
What I built
- A Go service for balances, top-ups, conversion between fiat and app-specific points, fee policies, refunds and chargebacks.
- Versioned exchange rates, so every conversion can be traced to the rate in force at the time.
- Payment-gateway and partner integrations.
- An operator portal with an admin audit trail.
Technical highlights
- Money is held as integer cents with decimal maths, never floating point.
- An append-only ledger with idempotency keys.
- Optimistic and row-level locking keep concurrent updates safe.