A Python client for the MoneyUnify API to simplify mobile money payments
Project description
MoneyUnify Python Client
The MoneyUnify Python Client is a package designed to simplify mobile money (MTN, Airtel, Zamtel) payments for businesses. It allows you to request payments, verify transaction statuses, and disburse funds using the MoneyUnify API.
Installation
Install the package using pip:
pip install moneyunify
Usage
Initialize the Client
from moneyunify import MoneyUnifyClient
client = MoneyUnifyClient(muid='your_moneyunify_id')
Request Payment
response = client.request_payment('0765655244', 5)
print(response)
Verify Transaction
response = client.verify_transaction('transaction_reference')
print(response)
Send Money
response = client.send_money('yourname@email.com', 'Iza', 'Sakir', '096xxxxxxx', 'Settle All funds from MoneyUnify')
print(response)
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file moneyunify-0.1.tar.gz.
File metadata
- Download URL: moneyunify-0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3a36d776f850ca59c15a68d19a32647de489085d66593668de16d3c46e671b7
|
|
| MD5 |
7828452828f58cea608130d162a6208c
|
|
| BLAKE2b-256 |
1de377ea0a9f13155fcc9115b8399778af34edf56904c32116682155435ff7f3
|
File details
Details for the file moneyunify-0.1-py3-none-any.whl.
File metadata
- Download URL: moneyunify-0.1-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aefc21b720d669dffd3fe59ef19a438bd91eabd166d5f56286f42b3c64bf00cc
|
|
| MD5 |
9b47dee6cded71e2d75468afe67905f8
|
|
| BLAKE2b-256 |
88d1c72781925264bdab091a000896e07ff117ae5b717df8c01c02183897b346
|