generated-at + : + the raw body with HMAC-SHA-256 using your partner secret. Compare the hex digest to X-API-Key with a constant-time compare.
This cookbook assumes you already have your webhook secret key from partner onboarding and a HTTPS callback URL.
- Python
- TypeScript
Common mistakes
- Auto-parsing JSON before you read the raw body breaks verification.
- Do not trim, pretty-print, or re-serialize the body before you sign it.