A Python SDK for the FlexPay API for Payments Aggregation
Project description
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
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
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyflexpay-0.2.linux-x86_64.tar.gz
.
File metadata
- Download URL: pyflexpay-0.2.linux-x86_64.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bfe57c5784619a42585919197f6ede7808c948d3872bb53ab73491e7b724894 |
|
MD5 | eda2031b3ebee15d3f4001b90246ec8a |
|
BLAKE2b-256 | a424785d9cb07c2720ddeada8ee8c04b1b3535d7147ca0ebc4339d222dbe530a |
File details
Details for the file pyflexpay-0.2-py3-none-any.whl
.
File metadata
- Download URL: pyflexpay-0.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef9f9c81b8471cf0fa2e68eea94bf9202631a6477307bb0a6ab2aa3df128e970 |
|
MD5 | 93c9a756eb59be4b004c8cd75e65a162 |
|
BLAKE2b-256 | 43bb9c2d84c666269381b2e1f3b734c3ab1ce0ab87dd32f186383e0768324cd3 |