Webhook is Waffo’s mechanism for pushing asynchronous event notifications to merchants. When the payment status changes, Waffo sends an HTTPS POST request to the merchant’sDocumentation Index
Fetch the complete documentation index at: https://waffo.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
notifyUrl.
Why use Webhook
- The authoritative source of payment results (higher priority than redirects and polling)
- Asynchronous notifications that do not block the user flow
- Covers all status change events
Configuration requirements
| Requirement | Description |
|---|---|
| Protocol | HTTPS (TLS 1.2+) |
| Reachability | Accessible via the public internet |
| Signature | Waffo signs the request body using the Waffo private key; the merchant must verify X-SIGNATURE using the Waffo public key |
| Response signature | The merchant response must also be signed using the merchant private key |
| Response body | {"message": "success"} / {"message": "failed"} / {"message": "unknown"} |
Webhook request structure
Merchant response
| Response | Description |
|---|---|
success | Successfully received and processed |
failed | Processing failed; Waffo will retry |
unknown | Status unknown; Waffo will retry |