Webhook Delivery
In a nutshell
Merchant webhooks are queued as delivery records, serialized with a common envelope, sent to the tenant webhook URL, and tracked with delivery attempts.Envelope
The queue serializes webhook payloads as:id is the webhook delivery ID and is also stored as the webhook_deliveries.id primary key.
Headers
The sender attaches:Signature input
Outgoing signatures hash this string:Delivery records
webhook_deliveries stores:
webhook_delivery_attempts stores each HTTP attempt with status code, response body, and attempt count.
