Skip to main content

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

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

Documentation

API Reference


Contributing


Credits

TralahTek TralahM TralahM

TralahM TralahM

Blog

TralahTek

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)

Table of built distributions (wheels) for pyflexpay 0.9
File Interpreter ABI Platform Actions
pyflexpay-0.9-py3-none-any.whl Python 3 none any Details for pyflexpay-0.9-py3-none-any.whl

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

Security for pyflexpay 0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page