This webhook is triggered when a significant event occurs within the system that a partner might be interested in. The payload contains details about the event type and the associated data.
The webhook will be sent as an HTTP POST request to the URL configured
for the webhook. The body of the request will be a JSON payload
(application/json) containing an ApiWebhookContainer.
The following headers will be included in the request, adhering to the Standard Webhooks specification:
content-type: application/json: Indicates the payload format.webhook-id: A unique UUID (version 4) identifying this specific
delivery attempt. This can be used for idempotency and logging.webhook-timestamp: A string representing the Unix timestamp (seconds since epoch)
of when the webhook notification was sent.webhook-signature: A signature to verify the authenticity and integrity
of the payload. The format is v1=<signature>, where <signature> is
an HMAC-SHA256 hash.To verify the signature:
webhook-timestamp from the header.webhook-signature from the header and remove the v1= prefix.webhook-timestamp string and the raw request body.It is crucial to use a constant-time comparison function when comparing signatures to prevent timing attacks. (See the examples for more details)
Webhook Container
Top-level container for webhook notifications