> 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="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2F9tmMzPxmz3H8bhlTqYb6%2Fimage.png?alt=media&amp;token=11be72f2-6702-4c53-8790-9c7ac12ce65c" 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="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FOjUFU4fiGKZtReOpkMLh%2Fimage.png?alt=media&amp;token=4e6f84e3-37ee-427a-b0c8-c7c1d75ba791" 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="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FLKJUy3aQ5i3E3e0GfU0g%2Fimage.png?alt=media&amp;token=bbd11174-ad90-40ab-9fef-1377bd4c57da" 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.
