> ## Documentation Index
> Fetch the complete documentation index at: https://integration.wpay.com.au/llms.txt
> Use this file to discover all available pages before exploring further.

# Anti-fraud

> Managing risk in your transaction flow

As part of Flow the system allows you to build rules
which use decisions and scores from anti-fraud services.

<Info>
  For detailed information on setting up and configuring specific anti-fraud providers, visit the [Anti-fraud connectors](/connections/anti-fraud) in the Connections section. Cybersource, Forter, Riskified, Sardine, and Sift are supported.
</Info>

<img src="https://mintcdn.com/wpay/c50rx3S48hHhNNxb/assets/images/anti-fraud/flow-rule.png?fit=max&auto=format&n=c50rx3S48hHhNNxb&q=85&s=9ba05f355e106533d0e8c3db37f3ed34" alt="Flow rule with an anti fraud decision" width="3144" height="2166" data-path="assets/images/anti-fraud/flow-rule.png" />

You can use these scores and decisions for card transactions
to evaluate the risk of a transaction and take
appropriate actions to, for example, force 3-D Secure, decline a transaction, or route to
a specific payment service.

## How does it work

For every transaction, your [**Primary**](#connection-mode) anti-fraud service is only called **once**.

When a request is made for a transaction, your active anti-fraud provider is only called
once, assuming a rule is triggered for which an anti-fraud score or decision is the condition.
This feature prevents incurring any extra cost by calling your anti-fraud service multiple times,
or calling your service unnecessarily if the rule is not triggered.

## Connection mode

Each of your configured anti fraud services can be set to a **Primary**, [**Silent**](/guides/features/anti-fraud/silent-mode) or **Inactive** mode.

| Mode                        | Description                                                                                                                                                                                                  |
| :-------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Primary**                 | Traffic is processed through this connector's fraud checks. It returns an approval or decline, which determines whether the transaction continues. Only one primary connector can be configured at any time. |
| [**Silent**](./silent-mode) | Traffic is processed through this connector, but its decision is not enforced. Results are logged for learning/analysis only.                                                                                |
| **Inactive**                | No traffic is processed through this connector, but it is available to be re-activated at any time.                                                                                                          |
