This is a Go SDK for common Kenyan payment apis, which includes payment processors, and digital wallets.
DISCLAIMER: This project is currently under heavy development. Features may be incomplete, unstable, or subject to significant changes without notice. Use at your own risk.
Last updated: Aug 16, 2025
- Daraja
- C2B Stk
- B2C
- B2B
- Transaction Status
- Account Balance
- Reversal
- Org Name check
- Quikk
- C2B Stk
- B2C
- B2B
- Transaction Status
- Account Balance
- Refund
- Tanda
- Payment Requests
- Transaction Status
- JamboPay
- Airtel Money
- Pesalink
The sdk is a Go wrapper around the listed payments apis, which provides a simple interface to interact with them.
It has the following unique features:
- Request Hooks: powerful request hook design which unlocks the ability to extend the sdk with custom hooks that that meet unique business cases. Build custom hooks to intercept and modify requests before they are sent as well as hooks to intercept and modify responses.
- Request Retrier: ready to use retrier with exponential backoff and jitter.
Use go get.
go get github.com/SirWaithaka/paymentsThen import the payments sdk package into your code
import "github.com/SirWaithaka/payments"Please see examples for usage.