Input Events
ThrillDrops supports multiple platform events that can be used to design simple (or sophisticated) ThrillDrops campaigns:
- External events
- Player Login Events
- Player Logout Events
- Transaction Events
- Deposit Events
- Withdrawal Events
- Internal Events
- ThrillPots Win Events
- ThrillPots Raffle Win Events
- ThrillPots Opt-In Events
Below you will find the required data schemas of each event:
External Events
Player Login Event
{
// Channel in which the player is logged in. Only these values are supported!
channel_type: "DesktopWeb" | "DesktopNative" | "MobileWeb" | "MobileNative",
// player's currency
currency: String,
// player's country
country: String | null,
// player's jurisdiction
jurisdiction: String | null,
// player's session token
session_token: String | null
}
Player Logout Event
{
channel_type: "DesktopWeb" | "DesktopNative" | "MobileWeb" | "MobileNative"
}
Transaction Event
{
provider_id: String,
game_id: String,
gameround_id: String,
bet_transaction_id: String | null,
currency: String,
game_bet: Number,
bonus_bet: Number,
real_bet: Number,
jackpot_bet: Number,
win_transaction_id: String | null,
game_win: Number,
jackpot_win: Number,
is_free_spin: Boolean,
round_finished: Boolean
}
Deposit Event
{
method_id: String,
currency: String,
amount: Number,
balance_after: Number | null
}
Withdrawal Event
{
method_id: String,
currency: String,
amount: Number,
balance_after: Number | null
}
Internal Events
The following events are consumed via redis event stream internally
ThrillPotsWinEvent
{
jackpot_id: String,
instance_id: String,
pot_id: String,
player_brand_id: String,
player_id: String,
currency: String,
amount: Number,
game_id: String | null,
contribution: Number | null,
contribution_currency: String | null,
payout_type: String | null
}
ThrillPotsRaffleWinEvent
{
raffle_id: String,
instance_id: String,
prize_id: String,
player_brand_id: String,
player_id: String,
currency: String,
amount: Number
}
ThrillPotsOptInEvent
player_brand_id: String,
player_id: String,
jackpot_id: String,
currency: String,
contribution: Number | null