{"section":"tutorials","requestedLocale":"en","requestedSlug":"configuring-clearsale-v4-antifraud","locale":"en","slug":"configuring-clearsale-v4-antifraud","path":"docs/en/tutorials/payments/payment-settings/configuring-clearsale-v4-antifraud.md","branch":"main","content":"At VTEX, it is possible to integrate with ClearSaleV4 [anti-fraud](/en/docs/tutorials/how-to-configure-the-anti-fraud). Through this system, it is possible to increase the level of security in payment transactions carried out in your store using risk analyzes that identify possible fraud.\n\nTo configure ClearSaleV4, follow the steps below:\n\n1. In the VTEX Admin, go to __Store Settings > Payment > Providers__, or type __Providers__ in the search bar at the top of the page.\n2. On the providers screen, click the `New Provider` button.\n3. Type the name __ClearSaleV4__ in the search bar and click on the name of the provider.\n4. If you wish to modify the identification name to be displayed for the ClearSaleV4 provider on the VTEX Admin screen, enter the information in the __Name__ field in __Basic Information__.\n5. In __Payment Control__, select whether you want to activate the provider in a test environment by clicking __Enable test mode__.\n6. Fill in the __Application Key__ and __Application Token__ fields with your login and password configured on Clearsale.\n7. In __Enable Risk Pre-Analysis__, select the __No__ option.\n8. In __Enable Analysis on debit payments__, select the desired option.\n9. In __Product__, enter __4__.\n10. In __B2BB2C__, select the desired option.\n11. In __AbsoluteSlaValue__, enter the time in minutes for analysis SLA.\n12. The __CustomObservation__ field is not necessary to fill in.\n13. Click `Save`.\n\n## Associating the anti-fraud with a payment condition\nAfter setting up Clearsale's anti-fraud system, it will be available for use in your store. But you must associate it with the payment conditions, either the ones that are already configured or the ones that you are still going to make available.\n\n1. In the VTEX Admin, access __Store Settings > Payment > Settings__, or type __Settings__ in the search bar at the top of the page.\n2. On the __Payment Conditions__ tab, click the `+` button.\n3. Click on the desired condition or [create a new payment condition](/en/tutorial/how-to-configure-payment-condition).\n5. Check the __Use anti-fraud solution__ option.\n6. Select __ClearsaleV4__.\n7. Click `Save`.\n\n> ⚠️ For a transaction to go through antifraud analysis, **the payment condition used by the customer must be associated with it**."}