Skip to content

A Python client for the MoneyUnify API to simplify mobile money payments.

Notifications You must be signed in to change notification settings

Lembani/moneyunify_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

A Python client for the MoneyUnify API to simplify mobile money payments.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages