Webhook signature verification
To ensure the authenticity and integrity of incoming webhook data, every request we send includes a signature header. This signature is a cryptographic hash generated using the webhook payload and a shared secret known only to you and our system. Verifying this signature on your end helps confirm that the payload:- Was not tampered with during transmission.
- Was genuinely sent from our system.
- Is safe to trust and process.
View sample code
The tab below contains sample code demonstrating how to calculate the HMAC signature and compare it with the signature sent via the webhook.
To compare and calculate examples are presented side-by-side for better comparison and understanding.