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
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview and configuration requirements for Waffo Webhook asynchronous event notifications.
notifyUrl.
| 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 body | {"message": "success"} / {"message": "failed"} / {"message": "unknown"} |
{
"header": {
"Content-Type": "application/json",
"X-SIGNATURE": "..."
},
"body": {
"eventType": "PAYMENT_NOTIFICATION",
"result": { ... }
}
}
{
"header": {
"Content-Type": "application/json"
},
"body": {
"message": "success"
}
}
| Response | Description |
|---|---|
success | Successfully received and processed |
failed | Processing failed; Waffo will retry |
unknown | Status unknown; Waffo will retry |
# cloudflared
cloudflared tunnel --url http://localhost:3000
# ngrok
ngrok http 3000
Was this page helpful?