pyflexpay
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).
Table of Contents
- Payment Service
- Check Transaction
- Merchant Payout Service
- QuickStart
- Documentation/Usage
- Contributing
- Credits
Payment Service
This service is used to send a payment request to FlexPay
- URL: https://ip:port/api/rest/v1/paymentService
- Method: POST
- Format: JSON
Request
Response
Result
Example
Check transaction
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
Request
Response
Example
Merchant Payout Service
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
Request
Response
Result
QuickStart
Installation
pip install pyflexpay
From Source
git clone https://github.com/TralahM/pyflexpay
cd pyflexpay
python setup.py bdist_wheel
pip install -e .
Documentation
API Reference
Contributing
Credits
Metadata
Release files for pyflexpay 0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyflexpay-0.9-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pyflexpay-0.9-py3-none-any.whl
| Download URL | pyflexpay-0.9-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
054db89c7f00eaaae0b09b8a0da6380441c828f73e2e4774c06b21632e79f88e
|
|
BLAKE2b-256 checksum How to use checksums |
bbd308cb03e4ba6b5551f0bdc0fb1aa8acee48a8775ab228b0b051ba5810c91e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.1
|