How webhooks work
You choose events
Subscribe to exact events like
kyc.completed, or event families like kyc.* and transaction.*.Zquence sends HTTPS POST requests
Each delivery includes event headers, a JSON body, and a
zquence-signature header.Example delivery
Handler pattern
Your webhook handler should be intentionally small:- Read the raw request body.
- Verify
zquence-signature. - Store or enqueue the event.
- Return
200 OK. - Process the event asynchronously.
Retries and duplicates
If your URL returns a non-2xx response or times out, Zquence retries with backoff for about 24 hours.
Because retries can create duplicate deliveries, store event IDs and process each event.id once.
Node.js
Local development
Use a tunnel to receive webhooks locally:Next steps
Verify webhooks
Copy framework-specific verification handlers.
Event catalog
See every event type and payload.
Retries
Learn retry timing and replay behavior.
Best practices
Make handlers reliable in production.