Skip to content

Projects / 2026

Tokenpap

Prepaid utility token vending with M-Pesa and NCBA Bank.

Tokenpap

Overview

A smart metering and vending platform for prepaid electricity and water tokens. Admins onboard vendors and landlords and assign them STS meters; customers pay with M-Pesa (STK Push or Paybill) and receive a 20-digit token by SMS, issued through the PrismToken STS vending API.

Payments also arrive through NCBA Bank and Safaricom C2B notifications and are vended the same way, and staff can issue credit or control tokens manually. Every attempt is recorded as a transaction and pushed live to admins and meter owners. The system was rebuilt from a legacy Laravel and MongoDB stack onto Fastify, PostgreSQL and React, with role-based access for admins, vendors, landlords and customers.