callback_url whenever a payment changes state.
Payload
Webhook Events
Verifying the Signature
Every webhook delivery includes anX-Webhook-Signature header — an HMAC-SHA256 hex digest of the raw request body, signed with your counter’s webhook_secret.
Always use constant-time comparison (Python:hmac.compare_digest/timingSafeEqual) to prevent timing attacks. Never use a simple string equality check.
