This is not an endpoint of the Fodimi API. Fodimi sends this request to the URL you configure
in the panel under Integracje → Webhooki. Every delivery, with its payload and your response,
is listed in Logi wysyłek.
The bill was closed (fiscalized or not). Re-opening and closing the order again sends the event again, with a new delivery id.
GET /orders/{uid} or GET /clients/{uid}.| Header | Meaning |
|---|---|
X-Fodimi-Event | event name |
X-Fodimi-Delivery | delivery id, identical across retries — use it to skip duplicates |
X-Fodimi-Timestamp | unix time used in the signature |
X-Fodimi-Signature | t=<timestamp>,v1=<hex>, where v1 = HMAC_SHA256(secret, t + "." + rawBody) |
00000000-0000-4000-.curl --location 'https://fodimi.pl/api_public/order.closed' \
--header 'Content-Type: application/json' \
--data '{
"event": "order.closed",
"id": "94ed75f8-7286-43e8-b30b-5a65d9e16d9a",
"created_at": "2026-09-12T09:15:45+02:00",
"company_uid": "1623978b-9ac9-400a-b6a0-2b7b8f97bb64",
"data": {
"order": {
"uid": "3f1b1f0c-2c2e-4c42-9f1a-6b5a4d2e8a11",
"number": "#1024",
"restaurant_uid": "b06a191d-8e22-4707-8c1e-9b5119cf4461"
},
"occurred_at": "2026-09-12T09:15:45+02:00",
"status": "DELIVERED",
"previous_status": "IN_PROGRESS",
"closed_at": "2026-09-12T09:15:40+02:00"
}
}'