Webhooks
Payments are asynchronous. When a collection settles, a payout completes, or a
card payment finishes 3-D Secure, Swahilies notifies your server with a
webhook — an HTTP POST to an endpoint you configure.
See the Webhooks guide for the full payload shape, signature verification, and retry behaviour.
In short
- Configure your endpoint URL and signing secret in the dashboard.
- Swahilies
POSTs a JSON event to it, signed with HMAC-SHA256. - Verify the signature, then act on the event.
- Return
2xxquickly to acknowledge. Non-2xx(or a timeout) is retried.
⚠️
Always verify the signature before trusting a webhook, and treat delivery as at-least-once — the same event may arrive more than once, so make your handler idempotent (key off the event id).