Skip to content

A Go(golang) wrapper for seamless integration with Mpesa's Daraja API

License

Notifications You must be signed in to change notification settings

daraja-sdks/daraja.go

Repository files navigation

Daraja.go

A golang wrapper for seamless integration with Mpesa's Daraja API. This wrapper prioritizes simplifying the interface over best practices which includes preferring builder patterns to constructor patterns which are faster and recommended in most golang codebases.

The Daraja APIs implemented in the package include:

  • ✅ Mpesa Customer to Business (C2B)
  • ✅ Mpesa Express/Lipa na Mpesa Online/STK Push
  • ✅ Lipa na Mpesa Query
  • ✅ Mpesa Business to Customer (B2C)
  • ✅ Mpesa Transaction Status query
  • ✅ Mpesa Account Balance query
  • ✅ Mpesa Reversals

Documentation

The package contains a reasonable amount of documentation but for more in-depth docs and general functionality of the Mpesa APIs, click here. Also, full-blown examples on package usage can be found at the daraja-sdks github repos.

About

A Go(golang) wrapper for seamless integration with Mpesa's Daraja API

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published