novinzodevelopers
Store webhooks

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

EventDashboard labelSent when
OrderPaidOrder paidAn order's payment is confirmed.
OrderFulfilledOrder completedThe seller completes an order, or its deliveries all succeed.
CheckoutSessionCompletedCheckout completedA headless checkout session is paid.
CheckoutSessionExpiredCheckout expiredA headless checkout session ends unpaid.
SubscriptionStartedSubscription startedA subscription's first payment is confirmed.
SubscriptionRenewedSubscription renewedA subscription's renewal is paid, and its next period starts.
SubscriptionPastDueSubscription past dueA subscription's period ends unpaid, and its grace starts.
SubscriptionEndedSubscription endedA subscription is cancelled by its buyer or the seller, or expires unpaid after grace.
WebhookTestTest eventYou 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" }
}
FieldMeaning
idThe event's id. It is the same on every endpoint and every retry, so use it to skip an event you already handled.
typeOne of the events above.
storeIdThe store the event belongs to.
createdAtWhen the event happened, as an ISO 8601 string.
dataWhat 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 attempt12345678
Wait1 min5 min30 min2 h5 h10 h10 h10 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

SettingRangeDefault
EventsAt least one
Retries0 to 85
Timeout1 to 15 seconds5 seconds
Custom headersUp to 10None
PausedYes or noNo

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.

On this page