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 |