An invoice status has changed
Webhook
This event occurs when an invoice changes status (for example, when an invoice becomes overdue).
Note these fields:
context_str = invoicecontext_id = ...(this will be theinvoice_idvalue of the invoice that changed)event = status
Your script should examine these attributes to determine the new status of the invoice:
invoice.invoice_status_strinvoice.invoice_status_state
Your script may also wish to observe the invoice.invoice_status_name attribute, which provides a human-friendly status value.
Request
Responses
- 200
Return a 200 status to indicate that the data was received successfully