Invoices
Cancel Invoice
Cancel a pending invoice
POST
Cancel Invoice
Cancels a pending invoice. Only invoices inpending status can be cancelled. Once cancelled, the invoice status is set to expired and no further payments can be made against it.
Path Parameters
UUID of the invoice to cancel.
Response
Returns the updated invoice object withstatus: "expired".
Updated invoice object. Same shape as Get Invoice response (without
addresses).You can only cancel invoices with status
pending. Attempting to cancel a confirmed, settled, or already expired invoice will return a 400 error.