X-Ake-Signature header signed with your endpoint’s Webhook Signing Secret (whsec_...):
Verification Steps
- Parse the timestamp
t(Unix seconds) and signaturev1(lowercase hex) fromX-Ake-Signature. - Verify
tis within an acceptable tolerance window (recommended: 300 seconds) of your server’s current UTC time to prevent replay attacks. - Construct the signed payload string:
${t}.${rawRequestBody}(UTF-8, using the exact raw bytes before JSON parsing). - Compute
HMAC-SHA256using your signing secret and compare againstv1using a constant-time comparison.