order.paid
An order was paid: the charge captured and the order is yours to fulfil.
Sent as POST to each of your endpoints subscribed to order.paid. Verify X-Webhook-Signature before trusting the body; X-Webhook-Delivery is the same across retries of one event, so use it to deduplicate.
Headers
| Header | Value |
|---|---|
X-Webhook-Signature |
t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" with the endpoint secret>. Recompute over the raw body, compare in constant time and reject when |now - t| is above 300 seconds. |
X-Webhook-Event |
The event type, the same as type in the body. |
X-Webhook-Delivery |
The event id (evt_…), stable across retries and replays of the same event. |
Payload
The body is the delivery envelope: id, type (order.paid), version, occurred_at, merchant_id and data.
| Field | Type | Required | Description |
|---|---|---|---|
data.order_id |
string | yes | |
data.order_number |
string or null | no | The short number a buyer reads out for the order (7KQ4-X2M9P), unique within your account; null on older orders that have none |
data.merchant_id |
string | yes | |
data.buyer_id |
string or null | no | |
data.buyer_email |
string | yes | |
data.customer_id |
string or null | no | the customer's cus_ id; null when the row has no customer |
data.customer_ref |
string or null | no | |
data.reference |
string or null | no | |
data.session_id |
string or null | no | |
data.subscription_id |
string or null | no | |
data.period_id |
string or null | no | |
data.charge_id |
string | yes | |
data.captured_at |
string (date-time) | yes | |
data.subtotal_cents |
integer | yes | |
data.tax_cents |
integer | yes | |
data.total_cents |
integer | yes | |
data.currency |
string | yes | |
data.fee_bps |
integer | yes | |
data.fee_fixed_cents |
integer | no | |
data.fee_cents |
integer | yes | |
data.expected_cost_cents |
integer | no | The cost card's estimate of the platform's processing cost at capture (Reporting's expected margin); optional, additive |
data.reserve_cents |
integer | no | The reserve held from the sale; optional, additive |
data.fee_card_id |
string or null | no | The fee card the merchant pricing resolved at capture (public id); optional, additive; null when nothing was priced |
data.fee_rule |
string or null | no | <fee card name> · <base rule name or "base">, the rule the fee came from; optional, additive; null when nothing was priced |
data.tax_quote |
object or null | no | |
data.tax_fallback |
boolean | no | |
data.lines |
array of object | yes | |
data.billing_address |
object | no | |
data.card |
object | no | |
data.acceptance_ids |
array of string | no | |
data.cof_intent |
string | no | |
data.source |
string (hosted, server, renewal, console) |
yes | |
data.metadata |
object | no | the order's metadata object, {} when none |
data.price_currency |
string or null | no | The currency the merchant set the price in; equal to currency unless the buyer paid in another one |
data.price_amount_cents |
integer or null | no | The amount in the price currency, in its smallest unit |
data.rate_id |
string or null | no | The exchange rate the price was converted with (fxr_); null for equal currencies or a fixed amount in the buyer's currency |
data.fx_bearer |
string or null (merchant, platform, ``) |
no | Who bears the exchange difference if the processor settles in another currency than the charged one, fixed at the sale. |
Example
{
"id": "evt_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
"type": "order.paid",
"version": 1,
"occurred_at": "2026-10-21T14:05:00.000Z",
"merchant_id": "mer_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
"data": {
"order_id": "ord_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
"merchant_id": "mer_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
"buyer_id": "buy_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
"buyer_email": "buyer@example.test",
"session_id": "cks_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
"subscription_id": null,
"period_id": null,
"charge_id": "chg_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
"captured_at": "2026-10-08T12:00:00.000Z",
"subtotal_cents": 2900,
"tax_cents": 239,
"total_cents": 3139,
"currency": "USD",
"fee_bps": 500,
"fee_fixed_cents": 0,
"fee_cents": 145,
"tax_quote": {
"anrok_quote_id": "q_123",
"jurisdictions": [
{
"name": "TX",
"cents": 239
}
],
"provider_quote_id": "q_123",
"provider": "anrok",
"rate_source": "provider",
"rate_source_version": "anrok:v1"
},
"tax_fallback": false,
"lines": [
{
"price_id": "prc_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
"price_version": 2,
"product_id": "prd_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
"name": "Starter pack",
"quantity": 1,
"unit_price_cents": 2900,
"tax_cents": 239
}
],
"billing_address": {
"line1": "1 Main St",
"city": "Austin",
"state": "TX",
"postal_code": "78701",
"country": "US"
},
"card": {
"brand": "visa",
"last4": "1111",
"payment_method_id": "pm_01HZX5Y3V8N2K7QJ4R9T6B3M1C"
},
"acceptance_ids": [
"acc_1"
],
"cof_intent": "cit_hosted",
"source": "hosted",
"metadata": {
"campaign": "spring"
},
"expected_cost_cents": 210,
"reserve_cents": 314,
"fee_card_id": "crd_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
"fee_rule": "Standard \u00b7 base",
"price_currency": "USD",
"price_amount_cents": 3139,
"rate_id": null
}
}
Verify the signature before trusting the body and deduplicate on X-Webhook-Delivery: see Webhooks.