Why USSD Still Dominates Mobile Money
While smartphones are everywhere, USSD (*232#) remains the most reliable channel for digital wallets and mobile money across emerging markets. It requires no mobile data, works on any basic phone, and connects directly over telecom signaling channels.
The Technical Challenges
When building my USSD mobile money platform, I solved two core engineering problems:
- 1. Telecom Screen Pagination: USSD screens are strictly limited to ~182 characters. If a user requests a mini-statement, you cannot dump the full transaction history. We built an automatic chunking engine with
98. Moreand0. Backnavigation controls. - 2. Session State Management: USSD is inherently stateless over HTTP. We used Redis with a 120-second sliding TTL to track the user's active menu position without touching the disk database on every keypress.
- 3. Concurrency Protection: What if a user dials *232# twice at the same moment? We implemented row-level locks in PostgreSQL (
SELECT ... FOR UPDATE) to guarantee that money cannot be transferred twice during race conditions.
Key Takeaway
Building for telecom requires designing for strict character limits, volatile sessions, and zero tolerance for balance errors. Simplicity at the user interface demands robustness in the backend.
