Webhooks
Webhooks
Receive signed HTTPS callbacks for account money events.
Register an HTTPS callback on your Developer app. OuiPay POSTs JSON events when money status changes on the owning account.
Rendering diagram...
Configure
- Dashboard → Developer → your app → Webhooks
- Create a subscription with an HTTPS URL and the events you need
- Store the signing secret shown on the subscription
- Verify every delivery (see Verification)
Delivery headers
| Header | Purpose |
|---|---|
X-OuiPay-Signature | Hex HMAC-SHA256 of {timestamp}.{body} |
X-OuiPay-Timestamp | Unix timestamp used in the signature |
X-OuiPay-Delivery-Id | Stable delivery id for deduplication |
Respond with 2xx to acknowledge. Non-2xx responses are retried per the
retry policy.
Confirm state after a delivery
curl https://api.ouipay.africa/api/v1/external/transactions/01M2S18... \
-H "Authorization: Bearer sk_test_..."