Skip to content

order.created

order.created is sent when an order enters the pending_payment status. Two sources: the shopper finished the widget checkout and the draft became an order (source: "widget"), or Neocarts opened a renewal order for a subscription just before charging it (source: "subscription"). A draft the shopper never finishes is not announced; a retried payment of the same order does not repeat the event.

There are no extra fields: data is the order snapshot.

A first order from the widget: one subscription line, delivery to a branch.

{
"id": "019a0b7c-1f3e-7c1a-9c6e-0b9b1c2d3e4f",
"event": "order.created",
"created_at": "2026-10-04T09:12:30+00:00",
"shop_id": "7f3c2b1a-0d9e-4f8a-b7c6-d5e4f3a2b1c0",
"data": {
"id": "0199a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b",
"number": "261004-48213",
"status": "pending_payment",
"source": "widget",
"locale": "uk",
"items": [
{
"external_id": "SKU-1",
"title": "Brit Care Adult Large Breed",
"variant": "12 кг",
"image_url": "https://shop.example.com/i/brit.jpg",
"product_url": "https://shop.example.com/p/brit",
"price": 249000,
"quantity": 1,
"mode": "subscription",
"interval_value": 4,
"interval_unit": "week",
"discounted_price": 231570,
"subtotal": 249000,
"total": 231570
}
],
"discount_percent": 7,
"contact": {
"first_name": "Олена",
"last_name": "Коваль",
"email": "[email protected]",
"phone": "+380671234567"
},
"delivery": {
"provider": "nova-poshta",
"type": "branch",
"data": {
"city": { "id": "…", "external_id": "8d5a980d-391c-11dd-90d9-001a92567626", "name": "Київ" },
"branch": { "id": "…", "external_id": "1ec09d88-e1c2-11e3-8c4a-0050568002cf", "name": "Відділення №1: вул. Пирогівський шлях, 135" }
},
"recipient": { "first_name": "Олена", "last_name": "Коваль", "phone": "+380671234567" }
},
"totals": { "items_total": 249000, "discount_total": 17430, "total": 231570 },
"subscription_ids": [],
"created_at": "2026-10-04T09:12:30+00:00"
}
}

231570 reads as 2 315,70 ₴.

  • Record data.id and data.number as «awaiting payment» — that is how you recognise the order when order.paid arrives, and how support can find it for the shopper.
  • For source: "subscription" the charge follows this event at once; the result arrives as order.paid or payment.failed.
  • If you reserve stock on this event, release it on order.cancelled.
  • Answer 2xx right away even if you do not use the event.
  • order.paid — the order was paid — the moment to create it in your system
  • order.cancelled — an unpaid order was closed for good

Request headers, signature and retries are in the overview; the order of events is in the event flow.