Security & HMAC
Learn about HMAC signature verification and security best practices for webhook integration.
1
HMAC Signature Verification
HMAC (Hash-based Message Authentication Code) ensures that webhooks are authentic and haven't been tampered with. Every webhook request includes a signature that we verify using your secret key.
How it works:
1. Your store creates a signature using HMAC-SHA256 and your secret key
2. The signature is sent in the webhook header (e.g., X-Signature)
3. Our system recalculates the signature using the same secret
4. If signatures match, the webhook is processed
5. If they don't match, the request is rejected2
Security Best Practices
3
Supported Algorithms
Security Warning: Never share your HMAC secret publicly or commit it to version control. Use environment variables or secure secret management systems.
Last updated