This is the unoffocial documentation for the MPesa API. Most part of this documentation is a duplication of Safaricom's documentation which is in PDF.
The HTML version of the docs can be at beyondelabs.github.io/mpesa-api-docs
From Safaricom's website:
The new M-PESA platform dubbed G2 (for M-PESA 2nd generation platform) offers versatile integration capabilities that our development partners can take advantage of, to create excellent M-PESA journeys across the different industries they serve. This was a key factor in moving to the new platform. We have been consolidating the different interfaces our developers have expressed interest in to enable innovation around M-PESA. As expected, most of these are about the payment journeys, covering both disbursements (Business to Customers – B2C) and service payments (Customer to Business – C2B and Business to Business – B2B). These and other features are now available via secure Application Programming Interfaces (APIs) that allow for third party applications to easily plug into M-PESA.
You know, it takes a village.
- Fork this repo
- Make your additions/edits
- Do
git rebase
with ourdevelop
branch -- fix merge conflicts, if any. - Send a Pull Request(PR) against our
develop
branch
- More sample codes for that use the MPesa API, see issue #3
This project does not in any way wish to infringe Safaricom's intellectual property.
It's important to note here that all the copyright belongs to Safaricom
This is purely an unofficial documentation, so it will be always good to check out the original docs for any updates. We will however try our best to keep this docs as current and accurate as possible.
In case of any issues, please reach out to [email protected]