Build on KwaWingu
KwaWingu publishes open-source libraries and APIs so developers across East Africa can build payment-enabled applications without re-implementing mobile money integrations from scratch.
Mobile Payments SDK
Our mobile-payments-library is a Java SDK for integrating M-Pesa (Tanzania, Kenya), Airtel Money, and TigoPesa into backend applications and Android apps. It handles USSD push requests, STK push flows, callback verification, and transaction status polling — so you can focus on your business logic rather than mobile money operator quirks.
The library is designed for real-world East African connectivity: it supports retry logic with exponential backoff, idempotency keys to prevent duplicate charges, and structured error responses that map operator error codes to actionable messages. It has been battle-tested across KwaWingu Rentals (M-Pesa rent collection) and KwaWingu Tours (booking payments).
Getting Started
Add the library to your project via Maven or Gradle, initialize with your operator credentials, and start processing payments in minutes. Full documentation, examples, and integration guides are available on GitHub.
Open source on GitHub
All of our public projects live on the KwaWingu GitHub organisation.
mobile-payments-library
Java SDK for M-Pesa, Airtel Money and TigoPesa integrations.
View on GitHubkw-wp-plugin
WordPress plugin to bring KwaWingu into your WordPress site.
View on GitHubFull API reference documentation is coming soon. In the meantime, the GitHub repository README covers all supported providers, request/response schemas, and example integrations.