Moneyhash
Moneyhash is a leading payment infrastructure software in Africa and the Middle East.
This integration is community-maintained, and therefore Lago provides only limited support.
About Moneyhash
Moneyhash is a leading payment infrastructure software in Africa and the Middle East. They help businesses across Emerging Markets to optimize payment performance, scale operations, cut costs, and grow revenue through their all-in-one orchestration platform.
Connect Moneyhash to Lago
To connect Moneyhash to Lago, navigate to your Lago UI, then go to Integrations > Built by community, and add a new Moneyhash Payments connection:
- Click Add a connection;
- Type a connection name;
- Type a unique connection code;
- Paste your Moneyhash API key; and
- Paste your Moneyhash Flow Id.
Connect your Moneyhash account from Lago UI
Create a webhook endpoint
To complete this process, you will need:
- Your Lago organization ID, available in the “API keys & ID” tab of the “Developers” section;
- The connection code you created during the Moneyhash setup process.
If you want Lago to automatically retrieve the status of the payments processed via Moneyhash, you must create a webhook endpoint in Moneyhash. To do so:
- Log in to your Moneyhash account;
- Add the following Webhook URL in the Webhooks section of the Moneyhash dashboard;
- Enter the following URL:
https://api.getlago.com/webhooks/moneyhash/{{__YOUR_ORG_ID__}}?code={{__YOUR_CONNECTION_CODE}}
(you must replaceorganization_id
with your Lago organization ID, and theconnection_code
by the targeted Lago connection); and - Save the creation of this webhook endpoint.
Collect payments via Moneyhash
Connect a Lago Customer to Moneyhash
To begin collecting payments for your Lago invoices via Moneyhash, you need to link a Lago customer to a Moneyhash connection. When creating or editing a customer in Lago, simply select the relevant Moneyhash connection under external apps to enable invoice payments.
Generate a checkout link
Note that payments through Moneyhash does not automatically proceed when Lago generates an invoice. You need to programmatically generate a checkout link by calling the following endpoint:
By generating this checkout link, you can forward it to your customer to complete payment using their preferred method from India. Once the payment is processed, Lago automatically retrieves the invoice status from Moneyhash.
Moneyhash payment errors
If an error occurs during the Moneyhash payment process for a Lago invoice, Lago sends a payment_request.payment_failure
webhook containing the error details.
Was this page helpful?