blessedjasonmwanza/MoneyUnify
MoneyUnify - A Simplified USSD Mobile Money Payments API that allows you to collect and disburse money from and to your customers using various mobile money network providers, in one place. Used in Africa and around the world for online Payments. Supports MTN Mobile Money, AirtelMobile Money, and Zamtel Mobile Money.
MoneyUnify Payments API Library - Documentation
The MoneyUnify is a developer-friendly API Library plugin to accept payments, instant transfers, split payments, send payouts, and manage your startup business easily. MoneyUnify allows you to easily Validate your ideas with confidence and supports mobile money payments for all network operators ๐
- Documentation for all programming languages can be accessed HERE
Setup
-
Create an account on MoneyUnify
-
Login and create your startup business from the businesses section.
-
Grab your Auth key and follow the documentation to begin collecting repayments using any programming language of your choice.
-
No need for bulk KYC. ๐ซ๐
-
Customer support is available via - ๐ WhatsApp ๐ค๐พ
-
install Settlements and withdraws through the API Dashboard to all mobile networks ๐
-
Collect Money from All 3 networks;
MTN,Airtel, andZamtelinstantly. ๐
๐ธ Example: Request a Payment
fetch("https://api.moneyunify.one/payments/request", {
method: "POST",
headers: {
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json"
},
body: new URLSearchParams({
from_payer: "09xxxxxxxx",
amount: "1",
auth_id: "pub_69b9y3n0h0ydbq"
})
})
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));Example Response
{
"message": "Transaction Initiated Successfully",
"data": {
"status": "initiated",
"amount": 1,
"transaction_id": "sPX215101815432505",
"charges": 0.035,
"from_payer": "260971xxxxxxx"
},
"isError": false
}๐ Example: Verify a Payment
fetch("https://api.moneyunify.one/payments/verify", {
method: "POST",
headers: {
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json"
},
body: new URLSearchParams({
transaction_id: "rp_vd89gdn10d1",
auth_id: "pub_69b9y3n0h0ydbq"
})
})
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));Example Response
{
"message": "Transaction processed Successfully",
"data": {
"status": "successful",
"amount": "1.00",
"transaction_id": "LP101815411535505",
"charges": "0.04",
"from_payer": "26097xxxxxxx"
},
"isError": false
}Other examples
Find more examples for different programming languages here
๐ Tip:
Use your auth_id from your MoneyUnify Businesses Dashboard to authenticate all API calls.
Conclusion
The MoneyUnify library simplifies the process of integrating with the Money Unify API. By following the steps outlined in this documentation, you can easily set up and make payment requests, verify transactions, and settle funds. For further assistance, feel free to reach out or check the official documentation for more advanced features.
>> Built with a lot of โค by />
๐ค Blessed Jason Mwanza - show support ๐๐ Buy him a Coffee
- LinkedIn: Connect with Blessed on LinkedIn
- Github: @blessedjasonmwanza
- X (Twitter): Follow Blessed Jason @mwanzabj
- Youtube: Youtube
- Portfolio: Portfolio
๐ค Contributing
Feel free to contribute to this project by submitting a pull request. Your contributions help improve the library and enhance the experience for all users!
Feature requests are welcome! Check the issues page or request a feature by creating a new issue.
Show your Support
If you find this library helpful, consider supporting it by sharing it with others or donating. Your support is greatly appreciated!