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 rejected
2

Security Best Practices

3

Supported Algorithms

SHA-1

Fast, legacy support

SHA-256

Recommended, secure

SHA-512

Maximum security

Last updated