webhooks
Invoicedeleted webhook
A draft invoice was deleted
WEBHOOK
Body
application/json
User-defined custom property values, keyed by definition key.
Example:
"cus_7n42DGM5Tflk9n8mt7Fhc7"
Example:
"inv_7n42DGM5Tflk9n8mt7Fhc7"
Available options:
DRAFT, FINALIZED, UNCOLLECTIBLE, VOID, CLOSED Example:
"evt_7n42DGM5Tflk9n8mt7Fhc7"
Available options:
metric.created, customer.created, subscription.created, subscription.updated, subscription.cancelled, subscription.ended, invoice.created, invoice.finalized, invoice.paid, invoice.voided, invoice.closed, invoice.consolidated, invoice.deleted, quote.accepted, quote.converted, credit_note.created, credit_note.finalized, credit_note.voided, plan.created, plan.published, plan.archived, product.created, product.updated, product.archived, metric.updated, metric.archived, coupon.created, coupon.updated, coupon.archived, addon.created, addon.updated, addon.archived Set on invoice.consolidated: the parent invoice this one was merged into.
Example:
"inv_7n42DGM5Tflk9n8mt7Fhc7"
Absent while the invoice is a draft — the number is assigned at finalization.
Set on a corrective invoice: the cancelled invoice this one replaces ("cancels and replaces"). The original is credited in full by a credit note.
Example:
"inv_7n42DGM5Tflk9n8mt7Fhc7"
Response
200
Webhook received successfully