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
- 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file pyflexpay-0.5-py3-none-any.whl
.
File metadata
- Download URL: pyflexpay-0.5-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa46c1aa06c4fd42dbe69b177856281cda6070cd7b80e8e8474d812c8484779b |
|
MD5 | 6b4e558c459dd25c46cbec8077e4da67 |
|
BLAKE2b-256 | 64da0460e930d947ee28ce04aab8de00bc60562f0107d06113d42301ff7fd3fc |