order.refunded
An order was refunded, in full or in part.
- Type
- Store event
- Requires
-
orders.read+webhooks.read - Attempts
- 6 in all, 1 min, 5 min, 30 min, 2 h, 6 h apart
When it is sent
When an order is refunded, in full or in part. One notification per refund; read the amounts with GET /orders/{id}/refunds.
Sent once for each order or movement and event, after the store's change is saved.
Payload
The body carries the notification id, the event name, the store id (tenant_uuid), the event time, and the event's data in data.
| Field | Type |
|---|---|
id | string |
event | string |
tenant_uuid | string |
occurred_at | string |
data | object |
data.order_id | integer |
data.order_number | string |
data.status | string |
data.payment_status | string |
data.payment_method | string |
data.currency | string |
data.total | string |
data.items | array |
data.items[].product_id | integer |
data.items[].sku | string |
data.items[].quantity | integer |
data.items[].unit_price | string |
data.shipping | object |
data.shipping.city | string |
data.created_at | string |
data.paid_at | string |
{
"id": "6d1f0b2a-7e4c-4a9b-8f3d-2c5e1a9b7d40",
"event": "order.refunded",
"tenant_uuid": "9b2f6c1e-4d3a-4f7b-a1c2-5e8d0f9a7b31",
"occurred_at": "2026-11-04T09:15:41+03:00",
"data": {
"order_id": 5521,
"order_number": "NQ-10482",
"status": "processing",
"payment_status": "paid",
"payment_method": "card",
"currency": "SAR",
"total": "489.00",
"items": [
{
"product_id": 318,
"sku": "TS-BLK-M",
"quantity": 2,
"unit_price": "89.00"
}
],
"shipping": {
"city": "الرياض"
},
"created_at": "2026-11-04T09:14:02+03:00",
"paid_at": "2026-11-04T09:15:40+03:00"
}
}
Sample data. New fields may be added; ignore the ones you do not know.
Headers
| Header | Description |
|---|---|
X-TGR-Signature-V2 | The signature to verify: t=<send time>,v1=<HMAC-SHA256 of t, a dot and the body>, made at each attempt. Refuse a t more than 5 minutes from your clock. |
X-TGR-Signature | The older signature: sha256= followed by the HMAC-SHA256 of the body alone, with the webhook secret. Kept for integrations built before the timestamped one. |
X-TGR-Event | The event name. |
X-TGR-Delivery | The notification id, the same value as id in the body. |
X-TGR-Attempt | The attempt number, starting at 1. |
Content-Type | application/json |
Handling it
- Verify the signature in
X-TGR-Signature-V2before anything else: Verifying signatures. - Skip it if you already processed this
id. - Answer 2xx within 5 seconds, then do the work in the background.
- Read the current state from the API before acting, since a later change may already have happened.
Version v1.0.0 Changelog Service status openapi-v1.json Support