Webhook events · orders
order.refunded/1
Order refunded. A refund was recorded for the order. Carries the amount, currency, reason and whether it covered the whole order.
Payload
We POST this JSON to your endpoint. Answer any 2xx within 30 seconds. The same id arrives again on a retry — skip ones you have handled.
| Field | Type | What it is |
|---|---|---|
| idrequired | string | Event id. The same on every retry: use it to skip duplicates.pattern ^evt_[0-9A-HJKMNP-TV-Z]{26}$ |
| typerequired | string | Event type.always order.refunded |
| versionrequired | string | Payload version.always 1 |
| api_versionrequired | string | The endpoint's API version. |
| occurred_atrequired | string | When it happened.date-time |
| company_idrequired | integer | Your workspace id. |
| datarequired | object | |
| order_idrequired | string | Order id.1–∞ characters |
| order_numberrequired | string | The order number shown to the customer.1–∞ characters |
| external_order_id | string or null | The order's id in your store platform (e.g. Shopify), once it is there. |
| statusrequired | string | Always refunded: what this event reports.always refunded |
| order_status | string or null | The order status after the change: PENDING, IN_PROGRESS, CANCELLED, TIMEOUT or COMPLETED.one of: PENDING, IN_PROGRESS, CANCELLED, TIMEOUT, COMPLETED |
| payment_status | string or null | PENDING, PAID_ONLINE or PAID_COD.one of: PENDING, PAID_ONLINE, PAID_COD |
| payment_method | string or null | online or cod (cash on delivery); null until paid or chosen.one of: online, cod |
| storerequired | object | |
| catalog_idrequired | integer | Catalog id.1–∞ |
| meta_catalog_id | string or null | WhatsApp (Meta) catalog id. |
| name | string or null | Store name. |
| platform | string or null | The store platform, e.g. SHOPIFY or WOOCOMMERCE; null when none is connected. |
| phone_number_id | string or null | WhatsApp phone number id the order came in on. |
| customerrequired | object | |
| namerequired | string or null | Name. |
| phonerequired | string or null | Phone number in E.164.pattern ^\+[1-9][0-9]{7,14}$ |
| emailrequired | string or null | Email address. |
| contact_idrequired | integer or null | Contact id; null when the order is not linked to a contact (today, always null). |
| currency | string or null | Currency, ISO 4217. |
| total | number or null | Order total. |
| items_countrequired | integer | How many product lines the order has.0–∞ |
| itemsrequired | array of object | The product lines (the first 20).0–20 items |
| retailer_idrequired | string | Your product id (retailer id) in the catalog. |
| name | string or null | Product name. |
| quantityrequired | number | Quantity.0–∞ |
| unit_price | number or null | Unit price. |
| currency | string or null | Currency, ISO 4217. |
| line_total | number or null | Unit price times quantity. |
| items_truncatedrequired | boolean | True when there were more than 20 lines. |
| created_atrequired | string | ISO 8601. |
| updated_atrequired | string | ISO 8601. |
| refunded_atrequired | string | ISO 8601. |
| refundrequired | object | |
| amountrequired | number | Amount refunded.0–∞ |
| currencyrequired | string or null | Currency, ISO 4217. |
| reason | string or null | Why, when given. |
| fullrequired | boolean | True when the refund covered the whole order total. |
Example
{
"id": "evt_01J8Z7BZQ4F6G8J2K5N7Q9S1VC",
"type": "order.refunded",
"version": "1",
"api_version": "2026-10-01",
"occurred_at": "2026-09-24T09:20:00Z",
"company_id": 1001,
"data": {
"order_id": "AB12CD34EF",
"order_number": "AB12CD34EF",
"external_order_id": "5551234",
"status": "refunded",
"order_status": "CANCELLED",
"payment_status": "PAID_ONLINE",
"payment_method": "online",
"store": {
"catalog_id": 7,
"meta_catalog_id": "1234567890123456",
"name": "Main store",
"platform": "SHOPIFY",
"phone_number_id": "100000000000001"
},
"customer": {
"name": "Ann Lee",
"phone": "+15550100142",
"email": "ann.lee@example.com",
"contact_id": null
},
"currency": "AED",
"total": 149.5,
"items_count": 2,
"items": [
{
"retailer_id": "TEA-001",
"name": "Green tea 250 g",
"quantity": 2,
"unit_price": 49.75,
"currency": "AED",
"line_total": 99.5
},
{
"retailer_id": "CUP-002",
"name": "Tea cup",
"quantity": 1,
"unit_price": 50,
"currency": "AED",
"line_total": 50
}
],
"items_truncated": false,
"created_at": "2026-09-25T09:00:00.000Z",
"updated_at": "2026-09-26T09:30:00.000Z",
"refunded_at": "2026-09-26T09:30:00.000Z",
"refund": {
"amount": 149.5,
"currency": "AED",
"reason": "Out of stock",
"full": true
}
}
}Headers
Webhook-Signature:t=…,v1=…— how to check itWebhook-Id(alsoWebhook-Event-Id): the event id, the same on every retry — skip ones you have handledWebhook-Delivery-Id: this delivery attempt, new on every try