Skip to main content

Webhooks

MabiPay sends an HTTP POST notification to your notifyUrl on every status change.

Payload format

{
"event": "payment.success",
"reference": "TXN-20240615-ABCD1234",
"merchantRef": "ORDER-12345",
"status": "success",
"amount": 5000,
"currency": "XOF",
"customerPhone": "+2250700000000",
"timestamp": "2024-06-15T10:30:00Z"
}

Events

EventDescription
payment.successPayment successful
payment.failedPayment failed
payment.expiredPayment expired
payment.cancelledPayment cancelled by client
payout.successPayout successful
payout.failedPayout failed

BPay notification endpoint

POST /api/v1/webhooks/bpay
info

Your endpoint must respond with HTTP 200. On failure, MabiPay retries up to 3 times with exponential backoff.