Skip to content

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.

License

Notifications You must be signed in to change notification settings

blessedjasonmwanza/MoneyUnify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 

Repository files navigation

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 🚀

image

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, and Zamtel instantly. 🚀

💸 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

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published