Webhooks
Each business has its own webhook URL and signing secret: set them on the business's page under Businesses. Events for that business go only there, and business_id in each event names it. The URL must be https:// on that business's domain (localhost works in test). We POST JSON to it:
{
"id": "evt_6f1c2e...",
"type": "payment.successful",
"created_at": "2026-12-04T15:02:11Z",
"mode": "live",
"business_id": "qp_biz_live_...",
"data": { "id": "qp_ch_8c1f...", "object": "charge", "reference": "order-1001", "amount": "50000.00", "currency": "UGX", "status": "successful", ... }
}
| Event | When |
|---|---|
payment.successful | A payment is confirmed. data is the charge. |
payment.failed | A payment failed. |
withdrawal.paid | Money reached your bank or mobile money. |
withdrawal.failed | A payout failed; the money is back in the wallet. |
dispute.created | A customer disputed a payment. |
dispute.closed | A dispute was won or lost. |
test.ping | You pressed Send test event. |
Answering
Answer with any 2xx within 10 seconds. Anything else is retried with growing gaps for about 21 hours. Every attempt is listed in Developers, where you can also resend.
The same event can arrive more than once: use id to ignore repeats. Events can arrive out of order: use the charge's status, not the order of events.
Always verify the signature.