# 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&#x26;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&#x26;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&#x26;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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.checkoutchamp.com/crm/plugins/chargeback-management/optimal-alerts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
