> ## Documentation Index
> Fetch the complete documentation index at: https://docs.y.uno/llms.txt
> Use this file to discover all available pages before exploring further.

# Fraud prevention

Yuno integrates with external fraud detection services to help prevent fraud in your payment process. You can configure both **pre-authorization** and **post-authorization** fraud screening through your preferred **fraud detection provider**.

### Fraud prevention with Yuno

When using Yuno's SDK, no additional development is required. Simply add the fraud detection provider to the payment route, and Yuno will handle the rest.

<Frame>
  <img src="https://mintcdn.com/yuno-3979e326/MTlogjS0_SlxtlJG/images/reference/fraud/image1.png?fit=max&auto=format&n=MTlogjS0_SlxtlJG&q=85&s=fd69278085a072e978eb4cde3558d50e" alt="" width="2550" height="1302" data-path="images/reference/fraud/image1.png" />
</Frame>

When a payment is created, Yuno generates different transactions based on the payment method route. If fraud verification is enabled in the route, Yuno creates a `FRAUD_SCREENING` transaction and associates it with the payment. This transaction contains details about the fraud verification outcome, which you can also view in the [payment details](/docs/transactions#transaction-types-and-statuses) on your Yuno dashboard.

### Forter Session Token Capture

If you are using **Forter** for fraud detection, the Yuno SDK provides a reliable way to capture the session token.

To ensure the token is correctly captured and associated with the transaction, you should listen for the `ftr:tokenReady` event. This event is triggered when the Forter session token is generated and ready to be used.

```javascript theme={"theme":{"light":"github-dark","dark":"github-dark"}}
window.addEventListener('ftr:tokenReady', (event) => {
  const forterToken = event.detail;
  console.log('Forter Session Token ready:', forterToken);
});
```

Using this listener prevents issues with stale or missing tokens by ensuring you always capture the token at the right moment during the initialization or unmounting of the Forter component.
