Event webhooks
Subscribe an HTTPS endpoint to a store's order, checkout and subscription events, with signed requests and automatic retries.
An event webhook tells your server that something happened in a store, such as an order being paid. Add an endpoint under Settings → Developers, choose its events, and copy its signing secret.
Events
| Event | Dashboard label | Sent when |
|---|---|---|
OrderPaid | Order paid | An order's payment is confirmed. |
OrderFulfilled | Order completed | The seller completes an order, or its deliveries all succeed. |
CheckoutSessionCompleted | Checkout completed | A headless checkout session is paid. |
CheckoutSessionExpired | Checkout expired | A headless checkout session ends unpaid. |
SubscriptionStarted | Subscription started | A subscription's first payment is confirmed. |
SubscriptionRenewed | Subscription renewed | A subscription's renewal is paid, and its next period starts. |
SubscriptionPastDue | Subscription past due | A subscription's period ends unpaid, and its grace starts. |
SubscriptionEnded | Subscription ended | A subscription is cancelled by its buyer or the seller, or expires unpaid after grace. |
WebhookTest | Test event | You press Send test event on an endpoint. You cannot subscribe to it. |
Checkout session events come from the headless checkout plugin, so a store only sends them while that plugin is installed.
Order and subscription events reach your endpoint within about a minute of the change.
Request
POST /your/endpoint HTTP/1.1
Content-Type: application/json
User-Agent: Novinzo-Webhooks/1.0
Novinzo-Signature: t=1790000000,v1=<64 lowercase hex characters>
{
"id": "6f1c2d4e-8a3b-4c5d-9e7f-0a1b2c3d4e5f",
"type": "OrderPaid",
"storeId": "20000000-0000-4000-8000-000000000001",
"createdAt": "2026-10-14T15:04:05.000Z",
"data": { "orderId": "9e2d7b14-5c3a-4b6f-8d01-7a9c2e4f6b85", "status": "paid" }
}| Field | Meaning |
|---|---|
id | The event's id. It is the same on every endpoint and every retry, so use it to skip an event you already handled. |
type | One of the events above. |
storeId | The store the event belongs to. |
createdAt | When the event happened, as an ISO 8601 string. |
data | What the event says, by type. See below. |
The request also carries the custom headers you set on the endpoint. Verify the signature before you trust the body.
Event data
OrderPaid:
{ "orderId": "9e2d7b14-5c3a-4b6f-8d01-7a9c2e4f6b85", "status": "paid" }OrderFulfilled. completedBy is seller when the seller marked the order complete, and system when every item's delivery succeeded:
{
"orderId": "9e2d7b14-5c3a-4b6f-8d01-7a9c2e4f6b85",
"status": "completed",
"completedBy": "system"
}CheckoutSessionCompleted and CheckoutSessionExpired:
{
"sessionId": "…",
"status": "completed",
"orderId": "9e2d7b14-5c3a-4b6f-8d01-7a9c2e4f6b85",
"items": [{ "…": "…" }],
"totals": { "…": "…" },
"metadata": { "…": "…" }
}An expired session has "status": "expired" and "orderId": null. items and totals follow the headless checkout plugin's session shape, and the plugin may add fields. The whole data object is at most 32,768 characters of JSON.
SubscriptionStarted names the sign-up order whose payment started the subscription, and the period it paid:
{
"subscriptionId": "3b8f2c61-7d4e-4a9b-8c05-2e6f1a7d9b40",
"status": "active",
"orderId": "9e2d7b14-5c3a-4b6f-8d01-7a9c2e4f6b85",
"currentPeriodStart": "2026-10-14T15:04:05.000Z",
"currentPeriodEnd": "2026-11-14T15:04:05.000Z"
}SubscriptionRenewed has the same fields for the renewal order, plus periodIndex: 1 for the first renewal, since the sign-up order paid period 0. A renewal paid during grace makes the subscription active again.
SubscriptionPastDue. The subscription expires at graceEndsAt unless its renewal is paid by then:
{
"subscriptionId": "3b8f2c61-7d4e-4a9b-8c05-2e6f1a7d9b40",
"status": "past_due",
"periodEnd": "2026-11-14T15:04:05.000Z",
"graceEndsAt": "2026-11-21T15:04:05.000Z"
}SubscriptionEnded. status is cancelled, with cancelledBy buyer or seller, or expired when grace ran out unpaid, with cancelledBy null. A subscription cancelled at period end sends it when the period ends:
{
"subscriptionId": "3b8f2c61-7d4e-4a9b-8c05-2e6f1a7d9b40",
"status": "cancelled",
"endedAt": "2026-11-14T15:04:05.000Z",
"cancelledBy": "buyer"
}Each subscription event is sent once per change: once when the subscription starts, once per renewed period, once per period that ends unpaid, and once when it ends.
WebhookTest carries an empty data object.
The order and subscription events name the order or subscription and its new status. Read the rest from the dashboard, the RPC reference or your own records.
Verify the signature
Each endpoint has its own whsec_… secret. The dashboard shows it once, when you add the endpoint or rotate its secret. If you lose it, rotate it.
Check Novinzo-Signature as described in Signatures. Rotation replaces the secret at once, and retries of older events are signed with the new one.
Answer and retries
Answer with any 2xx status within the endpoint's timeout. Novinzo ignores the response body.
Any other status, a redirect, a timeout or a connection error counts as a failed attempt. Novinzo tries again after these waits:
| After attempt | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| Wait | 1 min | 5 min | 30 min | 2 h | 5 h | 10 h | 10 h | 10 h |
The endpoint's retry count, 0 to 8, sets how many retries an event gets. With the default of 5, the last attempt comes about seven and a half hours after the first. The waits are minimums, so a retry can arrive up to a minute later.
A test event is tried once, without retries.
Events can arrive out of order, and an event can arrive more than once. Use id to drop duplicates and createdAt to order them.
The Event deliveries card on the webhooks page shows the latest 50 events, each with its status and your endpoint's last status code or error. Novinzo does not keep response bodies.
Endpoint settings
| Setting | Range | Default |
|---|---|---|
| Events | At least one | |
| Retries | 0 to 8 | 5 |
| Timeout | 1 to 15 seconds | 5 seconds |
| Custom headers | Up to 10 | None |
| Paused | Yes or no | No |
A store has at most 16 endpoints.
Custom header names use letters, digits and -, up to 64 characters. Values are up to 1,024 characters with no control characters. You cannot set Novinzo-Signature, Content-Type, Content-Length, Host or User-Agent.
Pausing an endpoint stops its pending retries, and a paused endpoint receives no new events. Send test event still works on a paused endpoint. Deleting an endpoint stops everything owed to it.
The URL follows the endpoint URL rules. Novinzo also refuses a host that resolves to a private or reserved IP address, and checks this again before each attempt.
