A Python SDK for the FlexPay API used by Corporate Merchants to connect to FlexPay to perform mobile money transactions.
The FlexPay API provides access to two interfaces, the interface for sending the request (Payment Service) and that for verifying the transaction (Check transaction).
- Payment Service
- Check Transaction
- Merchant Payout Service
- QuickStart
- Documentation/Usage
- Contributing
- Credits
This service is used to send a payment request to FlexPay
- URL: https://ip:port/api/rest/v1/paymentService
- Method: POST
- Format: JSON
This service is used to check the status of a payment request previously sent to FlexPay.
- URL: http://ip:port/api/rest/v1/check/orderNumber
- Method: GET
This service allows a merchant to send money to a user’s phone number, from the merchant mobile money account.
- URL: https://ip:port/api/rest/v1/merchantPayOutService
- Method: POST
- Format: JSON
pip install pyflexpay
git clone https://github.com/TralahM/pyflexpay
cd pyflexpay
python setup.py bdist_wheel
pip install -e .