Order.refunded
Emitted each time an Order is refunded.
Order.refund emits Order.refunded when it completes on an Order.
| Property | Value |
|---|---|
| Emitted by | Order.refund |
| Noun | Order |
| Moves | Order paid to refunded; Order fulfilled to refunded; Order closed to refunded |
| Wakes | None. |
Payload
Each delivery is an Event record. data holds what Order.refund returns, and previous holds the state it left.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Order.refunded. |
at | datetime | required | When it happened. |
seq | integer | Its position in the namespace, one more than the Event before; any seq is a cursor into the history. | |
data | json | required | The Thing as the Action left it. |
data.order | Order | required | The refunded Order. |
data.order.total | money | required | The amount charged. |
data.order.status | string | required | One of placed, paid, fulfilled, closed, canceled, or refunded. |
data.order.merchantOfRecord | Party | The Party that charges and books the revenue. | |
data.order.outside | boolean | Computed: true when its Customer shares no owner, Studio account, Agreement, or sibling chain with the Startup. | |
data.order.lines | json | Each Offer bought, its quantity, amount and the Party that charges for it; a Service line carries its own verdict. | |
data.order.fulfillment | string | Where a Service Order’s work stands between paid and fulfilled. | |
data.order.payment | string | authorized when the Quote is accepted; captured on the Event the Outcome Contract earns names. | |
data.order.revisionsUsed | integer | Revisions the Customer has asked for, counted against the Outcome Contract’s revisions. | |
data.order.risk | number | The payment’s fraud risk score from 0 to 99 at screening, as Stripe scored it. | |
data.order.tax | money | The sales tax, VAT or GST computed at placement for the buyer’s location and the Offer’s tax category. | |
data.order.taxJurisdiction | string | Where the tax is owed, such as US-CA or EU-DE, or none when no registration applies. | |
data.order.brief | json | The scope a Service Order bought, from its Quote request: sizes, inputs and turnaround. Intake checks the inputs against it. | |
data.order.dueAt | datetime | When a Service Order’s work is due; time waiting on the Customer moves it later. | |
data.order.taxExemption | Credential | The exemption or resale certificate that zeroed the tax, when one applies. | |
data.order.collectedBy | string | The id of the venue that charged the buyer and pays the Startup; unset when the Startup’s own checkout collected. | |
data.previous.status | string | required | The status before this Event: paid. |
Example
{
"$id": "https: //api.sb/ quietcopy.com/ events/ event_1",
"$type": "Event",
"name": "Order.refunded",
"at": "2026-10-22T12: 00: 00Z",
"data": {
"order": {
"$id": "https: //api.sb/ quietcopy.com/ orders/ order_1",
"$type": "Order",
"total": {
"amount": 39,
"currency": "USD"
},
"status": "refunded",
"merchantOfRecord": "party_1",
"outside": true,
"lines": {},
"fulfillment": "intake",
"payment": "authorized",
"revisionsUsed": 1,
"risk": 1,
"tax": {
"amount": 39,
"currency": "USD"
},
"taxJurisdiction": "US-CA",
"brief": {},
"dueAt": "2026-10-22T12: 00: 00Z",
"taxExemption": "credential_1",
"collectedBy": "aws-marketplace"
},
"previous": {
"status": "paid"
}
},
"seq": 1
}