Predict Bet
This is the main API call to check whether a bet is fraudulent or not.
All betting systems use internal IDs to manage users, sports, markets and more. You will need to use your internal ids to map the model. The model will analyze your internal id and make all the necessary assessments.
The Bet must consist of:
userId
The user's internal ID. This is a fundamental parameter for understanding and evaluating a user's history and the possibility of real fraud.
amount
Bet amount
sport
Your Sport ID
match
Your Match ID
market
Your Market ID
runner
Your Runner ID
spread
Your Spread ID. Can be null.
fixture
Fixture / Odd of bet
How does it work for a multiple bet?
Multiple bets are handled like a single bet, as multiple bets are a series of single bets grouped together usually with a multiplier. You will then have to divide the multiple bet into many single bets and send them to us. Don't worry, FraudAI will automatically detect that it is a multiple bet and will evaluate the bet as if it were unique, even without a multiplier.
Predict Bet
POST /predict
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
Basic <token>
Body
userId
number
Your internal userId
bet.amount
float
Bet amount
bet.sport
number
Your sport ID
bet.match
number
Your match ID
bet.market
number
Your market ID
bet.runner
number
Your runner ID
bet.spread
number
Your spread ID. Can be null.
bet.fixture
float
Fixture / Odd of bet
Response
Last updated