Idempotency Supported
Try in API ExplorerThis API is used to stop dunning for "Payment Due" invoices that have been enabled for Auto Collection. When dunning is stopped, the status of the invoice will be changed to "Not Paid".
Sample Request
URL Format
POST https://[site].chargebee.com/api/v2/invoices/{invoice-id}/stop_dunning
Input Parameters
optional, string, max chars=300
An internal comment to be added for this operation, to the invoice. This comment is displayed on the Chargebee UI. It is not displayed on any customer-facing Hosted Page or any document such as the Invoice PDF .
Returns
invoiceInvoice object
Resource object representing invoice