Case Study
public-sectorintegrationscloud-devops

Autohub eTraffic: Online License Disc Renewal & Vehicle Registration

Paperless citizen platform for Lesotho vehicle license disc renewal and registration—National ID & OTP verification, multi-vehicle quotations, secure payments (M-Pesa, EcoCash, EFT), and optional courier delivery across all eight districts.

Client: Autohub (Lesotho)Published May 26, 2026
Autohub eTraffic: Online License Disc Renewal & Vehicle Registration –  Autohub (Lesotho)

Context

The challenge

Traditional vehicle license disc renewal and registration in Lesotho requires citizens to physically visit licensing offices, endure long queues, and complete repetitive paperwork—causing inefficiency, lost productivity, and poor service experiences. Manual systems struggle with high transaction volumes, inconsistent record management, limited fee transparency, and delayed processing visibility. Citizens needed a secure online channel to verify identity, view vehicles due for renewal, receive transparent quotations, and complete payments digitally with optional document delivery—while government authorities required reliable integration with cashier systems, payment gateways, and citizen verification services.

How we worked

Our approach

We delivered Serumula Autohub as an end-to-end paperless licensing platform with a guided multi-step workflow: National ID & Traffic Register Number validation, OTP-based challenge-response verification, vehicle selection, real-time quotation, delivery preference, and secure payment. The platform abstracts complex regulatory orchestration behind clean APIs and a mobile-first UI, integrating the Lesotho Cashier (X4009/X4010) APIs, identity verification, and multiple payment gateways into a single citizen experience.

Delivery

The solution

Built on a scalable React + TypeScript frontend with resilient JWT authentication, automatic session expiry handling, and Bearer token management. The multi-vehicle quotation engine integrates with the X4009 cashier API to dynamically calculate license fees, transaction costs, convenience charges, courier fees, and outstanding offences with real-time recalculation. Payment orchestration over the X4010 APIs supports M-Pesa, EcoCash, and EFT with renewal reference generation and optional courier delivery to district collection points. Multi-channel OTP delivery (WhatsApp, Email, SMS) with 5-minute expiry, resend cooldown, and challenge-based sessions secures sensitive operations. SessionStorage/LocalStorage persistence, request deduplication, debounced validation, and stale-response prevention keep workflows safe across refreshes and concurrent renewals.

Results

Key metrics

80–90% reduction
Administrative Workload
All 8 districts of Lesotho
Coverage
M-Pesa, EcoCash, EFT
Payments
WhatsApp, Email, SMS
OTP Channels

Impact

Results & outcomes

  • 80–90% reduction in administrative workload by eliminating physical office visits and manual counter operations
  • Nationwide accessibility across all eight districts of Lesotho with 24/7 mobile-first self-service
  • Transparent, real-time fee breakdowns covering license, transaction, courier, and outstanding offences
  • Multi-channel OTP support (WhatsApp, Email, SMS) improving accessibility across urban and rural regions
  • Reliable, secure citizen experience with JWT auth, request deduplication, and resilient error handling at scale
  • Production-ready CI/CD foundation for future expansion across additional government services and districts

Tech used

Technology stack

Tools and patterns from this engagement—your stack may differ.

React 18TypeScriptViteTailwind CSSReact Router DOM v6Context APIAxiosJWT AuthenticationSessionStorage / LocalStoragereact-phone-input-2react-iconsX4009 / X4010 Cashier APIsM-PesaEcoCashEFTBitbucket Pipelines CI/CD

Case study PDF

Download this case study

Share your name and work email to receive the PDF for Autohub eTraffic: Online License Disc Renewal & Vehicle Registration.