Event reference
One event is one JSON document. A webhook body is exactly this document.
{
"id": "evt_…",
"object": "event",
"api_version": "2026-11-01",
"type": "payment.succeeded",
"livemode": true,
"created_at": "2026-11-08T10:00:00+00:00",
"data": { "object": { "id": "pay_…", "object": "payment" }, "related": {} }
}
data.object is the object as the API shows it at the moment of the event: public ids, money in minor units. data.related holds extras named below. Treat events as notifications: when you need the latest state, fetch the object.
| Event | When | related |
|---|---|---|
invoice.issued, quote.issued, credit_note.issued | A draft got its number. | |
invoice.sent, quote.sent, credit_note.sent | The document was emailed. | to |
invoice.viewed, quote.viewed, credit_note.viewed | The customer opened it. | |
invoice.voided, quote.voided, credit_note.voided | It was cancelled. | |
invoice.paid | The invoice is fully paid. | |
quote.accepted, quote.declined | The customer answered. | reason when declined |
receipt.issued | A receipt was made for a payment. | payment |
offer.sent, offer.viewed, offer.accepted, offer.paid | The offer moved on. | |
checkout.completed | A checkout session was paid. | payment |
checkout.expired | A checkout session ran out. | |
payment.succeeded, payment.pending, payment.disputed | A payment changed state. | |
payment.refunded | A payment was refunded. | refund |
payment.failed | A payment attempt failed. | reason |
plan.run | A plan made its invoice or pay link. | document or payment_request |
plan.failed | A plan run failed. | reason |
webhook.test | You pressed Test. Only sent to that endpoint. |
Which events to ask for
To learn when an invoice is paid use invoice.paid. To learn when a receipt is issued use receipt.issued. Use invoice.* for every invoice event, or * for everything.