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
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

Release history Release notifications | RSS feed

This release

0.9 This release

1 release file

0.8

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

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