RespireSoft InvoicingAPI docsReferenceWebhooks

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.

EventWhenrelated
invoice.issued, quote.issued, credit_note.issuedA draft got its number.
invoice.sent, quote.sent, credit_note.sentThe document was emailed.to
invoice.viewed, quote.viewed, credit_note.viewedThe customer opened it.
invoice.voided, quote.voided, credit_note.voidedIt was cancelled.
invoice.paidThe invoice is fully paid.
quote.accepted, quote.declinedThe customer answered.reason when declined
receipt.issuedA receipt was made for a payment.payment
offer.sent, offer.viewed, offer.accepted, offer.paidThe offer moved on.
checkout.completedA checkout session was paid.payment
checkout.expiredA checkout session ran out.
payment.succeeded, payment.pending, payment.disputedA payment changed state.
payment.refundedA payment was refunded.refund
payment.failedA payment attempt failed.reason
plan.runA plan made its invoice or pay link.document or payment_request
plan.failedA plan run failed.reason
webhook.testYou 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.