MPESA REST SDK
Pure python sdk for MPESA API.
Features
- Generate Token
- C2B Register Url
- C2B Simulate Transaction
- C2B Simulate Transaction
- B2B Payment Request
- B2C Payment Request
- Transaction Status
- Account Balance
- Reversal Request
Installation
$ pip install mpesa-sdk
Running tests
Create .env file from example then run
$ pip install pytest
$ pytest
To test for different python environments use
$ pip install tox
$ tox
Read more on wiki.