⬆️ POST /v1/integration/casino

Send each Bet and Win event separately.

If you are planning on sending "RollbackBet" & "RollbackWin" as "type", please inform your integration manager.

Sample Request for initial "Bet" event

    
{
"activity_id": "2019020103308257480",
"amount": 0.2,
"balance_after": 193.83,
"balance_before": 194.03,
"bonus_wager_amount": 0.0,
"currency": "EUR",
"exchange_rate": 1,
"game_id": "10911",
"game_name": "Dead or Alive",
"game_type": "Slots",
"is_round_end": false,
"locked_wager_amount": 0.00,
"origin": "sub.example.com",
"round_id": "2019020103308257480",
"timestamp": "2015-03-02T8:27:58.721607Z",
"type": "Bet",
"user_id": "52530",
"vendor_id": "1",
"vendor_name": "Netent",
"wager_amount": 0.0,
"meta":{
"key1": 10.00,
"key2": "some string",
"key3": false
}
}

Sample Request for the following "Win" event

    
{
"activity_id": "2019020103308257481",
"amount": 0.5,
"balance_after": 194.33,
"balance_before": 193.83,
"bonus_wager_amount": 0.0,
"currency": "EUR",
"exchange_rate": 1,
"game_id": "10911",
"game_name": "Dead or Alive",
"game_type": "Slots",
"is_round_end": true,
"locked_wager_amount": 0.00,
"origin": "sub.example.com",
"round_id": "2019020103308257480",
"timestamp": "2015-03-02T8:27:58.721607Z",
"type": "Win",
"user_id": "52530",
"vendor_id": "1",
"vendor_name": "Netent",
"wager_amount": 0.0,
"meta":{
"key1": 10.00,
"key2": "some string",
"key3": false
}
}

Key

Type

Required?

Accepted Values

Description

activity_id

string

Yes

N/A

amount

float

No

N/A

Amount

balance_after

float

No

N/A

Player balance after

balance_before

float

No

N/A

Player balance before

bonus_wager_amount

float

No

N/A

Bonus amount wagered

currency

string

Yes

Format: ISO 4217

e.g. EUR

Player currency

exchange_rate

float

Yes

e.g. 0.1

Exchange rate

game_id

string

Yes

N/A

Game id

game_name

string

No

e.g. Dead or Alive

Game name

game_type

string

No

e.g. Slots

Game type

is_round_end

boolean

No

true/false

If the round is ended

locked_wager_amount

float

No

N/A

Locked amount wagered

origin

string

Yes

e.g. www.brand.com

N/A

round_id

string

No

N/A

Round id

timestamp

string

Yes

Format: RFC3339 2015-03-02T8:27:58.10Z

Timestamp

type

string

Yes

"Bet", "Win", "RollbackBet", "RollbackWin"

Type of event

user_id

string

Yes

N/A

User id

vendor_id

string

Yes

N/A

Vendor id

vendor_name

string

No

e.g. NetEnt

Vendor name

wager_amount

float

No

N/A

Amount wagered

meta

object

No

{ "key1": "value1", "key2": "value2" }

Used for misc/aux values that is brand specific