Webhook verification
Treat callback signatures separately from request authentication.
A different signing contract
The source describes optional X-ZytePe-Signature when a webhook secret is configured: HMAC-SHA256 of sorted compact JSON. The reviewed local producer uses a hexadecimal digest and Python json.dumps with sorted keys and compact separators.
Confirm canonicalization end to end
Do not assume JSON.stringify in another language reproduces Python serialization for Unicode, numeric values and nested objects. Confirm the deployed producer and agreed canonicalization with a representative callback fixture before accepting signed events.
Handle missing signatures deliberately
The local producer can send a callback without the signature when no secret is configured. Arrange signing before using callbacks to drive sensitive business actions; do not silently treat an unsigned body as verified.
Deployment questions
Confirm secret provisioning, replay defenses, signature requirements, acknowledgement response and failure handling with support. This page does not publish an untested verification snippet or claim a guaranteed retry window.
Explore the business workflow: Payment gateway overview.
