{{ f.d }}
{{ code }}
{{ hook }}
Create a link in seconds and share it by WhatsApp, SMS, email or QR code. Coming soon.
A branded payment page that shows the right operators for each country. Coming soon.
Trigger the PIN, OTP, USSD or STK push prompt on your customer’s phone.
Send a request with an amount and a reference, paid from any wallet.
When an operator asks for a code, confirm it with one authorize call.
Follow every payment, with signed webhooks on each change.
// Request a mobile money payment
await fetch('https://api.monerails.com/v1/collections', {
method: 'POST',
headers: { Authorization: `Bearer ${MONERAIL_KEY}`,
'Content-Type': 'application/json' },
body: JSON.stringify({
amount: 25000, currency: 'XAF', operator: 'MTN',
phone: '237670000412', customer: { name: 'Awa Ndiaye' },
client_reference: 'ORDER-2291',
}),
}); // → 201 · status: 'pending'
// webhook → collection.succeeded
{
"id": "3b8f6c1e-2a47-4d1b-9e35-7c0a9d2f4e61",
"object": "event",
"type": "collection.succeeded",
"data": { "object": {
"id": "9d2f4e61-7c0a-4d1b-9e35-3b8f6c1e2a47",
"status": "succeeded",
"amount": 25000, "currency": "XAF",
"client_reference": "ORDER-2291"
} }
}