Header format
Every webhook delivery includes a signature header:Verification steps
1
Extract the timestamp and signature
Parse the
t (timestamp) and v1 (signature) values from the header.2
Compute the expected signature
3
Compare signatures
Use a constant-time comparison to check that your computed signature matches
v1.Replay protection
Optionally check thatt is within an acceptable window (e.g. 5 minutes) to prevent replay attacks.