> For the complete documentation index, see [llms.txt](https://help.checkoutchamp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.checkoutchamp.com/crm/plugins/chargeback-management/optimal-alerts.md).

# Optimal Alerts

Go to **Admin > Plugins > Chargeback Management**. Click on the **Optimal Alerts** tile. Click **+ Activate**.

<figure><img src="/files/JBcRni5vwqXLPpHWjYYD" alt="" width="288"><figcaption></figcaption></figure>

Enter the **apiKey** from Optimal Alerts.

Choose to automatically **refund** and/or **blacklist** when an alert is received. The automatic refund is a full refund. The automatic blacklist will blacklist email, phone, IP address, and billing address. It will also cancel all active subscriptions for the customer.

<figure><img src="/files/goGT0wA8LMNEixIiGFqq" alt=""><figcaption></figcaption></figure>

Edit the plugin. Copy the **Event URL**. Enter that value at Optimal Alerts for the prevention.match event.

<figure><img src="/files/wW9H2RMlCSRH39zf6W2g" alt=""><figcaption></figcaption></figure>

Alerts are received and a proper attempt is made to match the alert to a successful transaction. The evaluation is not perfect. Matching is done with card bin, card last 4 digits, arn (if provided from the gateway at the time of the transaction), date, and amount.

Refunds are automatically sent back to Optimal Alerts with the refund status.
