Added

Stop payment retries on a past-due invoice

POST /api/v2/orders/invoices/:id/abandon stops the autopay retry cycle on a past-due invoice, the same action the "Abandon invoice" button performs in the app. It returns 200 with the refreshed invoice, or 422 carrying the processor's own message when the invoice is not in an abandonable state (Invoice cannot be abandoned in status 'paid'). Until now this was the one step in a dunning-grace workflow that a human had to click.

Reach for this instead of PUT /api/v2/orders/invoices/:id, which only handles externally managed orders and answers 404 No such external order for anything the payment processor manages. An invoice's status is a mirror of the processor's, so halting retries has to travel through the processor, and abandon is the call that does it.

Agent examples: hold retries for a few days on a funds-timing decline instead of cancelling the subscription · stop a card being retried while support works the ticket.

Resources: Orders::Invoice · Order
Building with an AI agent? Point it at the Orders skill.