Order paid
Sent once when the online payment for an order is confirmed. This is when an online order reaches the kitchen.
Headers
X-LettBestilt-Webhook-Id
The ID of the webhook subscription this delivery belongs to.
X-LettBestilt-Delivery-Id
Stable per event and subscription. Retries of the same event carry the same ID, so use it to skip events you have already handled.
X-LettBestilt-Webhook-Timestamp
Unix time in seconds when this attempt was signed. Reject old timestamps to stop replays.
X-LettBestilt-Webhook-Signature
sha256= followed by the hex HMAC-SHA256 of {timestamp}.{raw body}, keyed with the webhook’s signing secret (whsec_…).
Payload
The payload of this webhook request is an object.
event
Allowed values:
createdAt
When the event happened (ISO 8601, UTC).
data
The data of an ORDER_PAID event.
Response
200
Respond with any 2xx status within 5 seconds to acknowledge the event.

