How to avoid fraud

How it works

Custom in-game parameters passed in the token enable the Anti-fraud system (AFS) to aggregate data about users with respect to each transaction. Information such as registration date, last password change date, total sum of payments, or game session time is used to differentiate between fraudulent users and legitimate ones as precisely as possible. The more data about user devices and behavior patterns you provide to Xsolla, the better AFS can customize its filters to detect fraudulent activity in each identified user group and across your projects.

To add custom parameters, contact your Customer Success Manager or email at csm@xsolla.com.

Examples:

  • A registration date, total playtime, and user level in a game can be used in chargeback disputes to establish a user’s typical activity and detect potential fraudulent behavior.
  • Dates of last login and password change are helpful when detecting hacked accounts.

We recommend to pass the following additional parameters in the token’‎s custom_parameters object:

ParameterTypeDescription
registration_date
stringAccount creation date per ISO 8601.
last_change_password_date
stringLast password change date per ISO 8601.
total_sum
floatTotal amount of payments.
unlocked_achievements
integerNumber of achievements unlocked.
user_level
integerPlayer’s level, reputation, or rank.
pvp_activity
booleanWhether the player takes part in PvP (Player(s) versus player(s)) battles.
total_bans
integerNumber of times the player was banned in the chat/forum.
total_friends
integerNumber of friends.
session_time
stringAverage session time per ISO 8601.
Note
Refer to our API documentation for the full list of available custom parameters.

Use case

The example described in this section presents a successful case of AFS usage to significantly reduce the number of fraud cases.

A new game was launched at the end of May 2022. Immediately following the start of sales, AFS identified a significant number of fraudsters in the project: the fraud rate in the project reached 4.5% by the end of the first month after the launch.

Fraud rate dynamics by months:

To reduce the fraud rate to the acceptable range of 0.1-0.3%, we implemented the stringent AFS application for this project. As a result, the acceptance rate decreased from 96% to 81.7% on a monthly basis and to 70% on some days. This result indicates that more users underwent additional checks and difficulties making payments, particularly if their payment parameters and behavior patterns resembled fraudsters actions.

Acceptance rate dynamics by months:

To further improve the fraud defense, it was agreed to pass the following in-game parameters about the users to AFS:

  • total playtime (total_hours)
  • user level in the game (user_level)
  • number of user’s characters in the game (total_characters)

Using provided data, we modified the AFS filters with the new parameters between July 20 and July 22, as shown in the graph below. This led to a 15% increase in the daily acceptance rate, from ~71.4% to ~86%. Additionally, the number of fraudulent transactions reduced from 4.5% to the acceptable level of ~0.14%, and remained at this level in the following months.

Acceptance rate dynamics by days:

Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Last updated: October 10, 2023

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!