Skip to main content
Every webhook request includes an X-Payracle-Signature header — an HMAC-SHA256 signature of the raw JSON request body, signed with your secret key. Always verify this header before processing the event.
Compute the signature over the raw request body bytes, before any JSON parsing. Re-serializing a parsed object rarely produces byte-identical output (key order, whitespace), which will make a genuine webhook fail verification.