> For the complete documentation index, see [llms.txt](https://docs.loopit.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.loopit.co/billing/payments/payment-retry-dunning.md).

# Payment retry - Dunning

When an invoice that is eligible for [auto pay](/billing/payments/auto-pay.md) fails to process it enters a dunning process.  By default the platform attempts to take payment 3 times automatically, every 48 hours, for invoices that fall under the dunning process, deposit and ad hoc invoices are not included.  If the payment fails for a 3rd time we will cease attempting to automatically take payment and you will need to process the payment manually via "Pay invoice".

{% hint style="danger" %}
Attempting too many times can cause your account to get flagged by payment processing networks like Visa and Mastercard.  Loopit takes a cautious approach whilst minimising risk of overdue balances.
{% endhint %}

If you are using our API the field `payment_attempts` will show the number of *automated* attempts made.

### How often attempts are scheduled

If a payment fails then a re-attempt, up the maximum retries configured, will be scheduled for 24 hours later.  This gives an adequate opportunity for the booking applicant to resolve the issue.

If you are using our API the field `payment_charge_at` is the UTC time the next attempt will be made.

### How to stop automatic attempts

To prevent the platform from automatically attempting an invoice again you can disable the automatic attempt.

#### From the overdue invoices report

Click on the action menu and select "Disable next retry".  Confirm you wish to disable.

#### From the invoice overview page

From the overview section click "Disable automated payment retry" and confirm you wish to disable.

<figure><img src="/files/EsRcM46MYaVqcrxpqLt5" alt=""><figcaption><p>Disabling the next attempt from the invoice overview</p></figcaption></figure>
