> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.lettbestilt.no/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.lettbestilt.no/_mcp/server.

# Order paid

POST 

Sent once when the online payment for an order is confirmed. This is when an online order reaches the kitchen.

Reference: https://docs.lettbestilt.no/api-reference/webhooks/order-paid

## Request

### Headers

- `X-LettBestilt-Webhook-Id` (string, required) — The ID of the webhook subscription this delivery belongs to.
- `X-LettBestilt-Delivery-Id` (string, required) — 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` (string, required) — Unix time in seconds when this attempt was signed. Reject old timestamps to stop replays.
- `X-LettBestilt-Webhook-Signature` (string, required) — `sha256=` followed by the hex HMAC-SHA256 of `{timestamp}.{raw body}`, keyed with the webhook's signing secret (`whsec_…`).

### Payload

- `event` (enum, required)
  - Allowed values: `ORDER_PAID`
- `createdAt` (datetime, required) — When the event happened (ISO 8601, UTC).
- `data` (OrderPaidData, required) — The `data` of an `ORDER_PAID` event.

## Types

### OrderPaidData

The `data` of an `ORDER_PAID` event.

- `orderId` (string, required)
- `orderNumber` (integer, required)
- `publicToken` (string, required)
- `status` (enum, required)
  - Allowed values: `PAID`
- `total` (integer, required) — The amount paid, in øre.