ThrillPots Event Structures
This section provides the data definitions (in JSON) for each of the ThrillPots events.
Event: JackpotUpdateEvent
{
"id": String,
"currency": String,
"pots": [PotTicker],
"allowed_brands": [String],
"allowed_sources": [String],
"status": String,
"last_updated": Number
}
References:
Event: WinEvent
{
"brand_id": String,
"player_id": String,
"source_id": String,
"instance_id": String,
"jackpot_name": String,
"jackpot_currency": String,
"timestamp": Number,
"win_pot_id": String,
"win_amounts": [CurrencyValue],
"win_withheld": bool,
"community_winners": [PayoutRecord],
"games_in_jackpot": [String],
"seed": Number
}
References:
Event: RaffleWinEvent
{
"brand_id": String,
"instance_id": String,
"jackpot_name": String,
"jackpot_currency": String,
"timestamp": Number,
"winners": [(String, CurrencyValue)],
"win_withheld": Boolean
}
References:
The winners field contains an array of tuples. The structure of each tuples is (String, CurrencyValue).
The first element in the tuple contains the ID of a winning player and the second element contains the amount that the player won.
Event: OptInEvent
{
"instance_id": String,
"player_id": String,
"ext_player_id": String,
"player_brand_id": String,
"preferred_contribution_value": Number,
"contribution_count": Number,
"contribution_value": Number,
"opted_in": Boolean,
"last_updated": Number,
}
PotTicker
{
"id": String,
"is_progressive": Boolean,
"current_value": Number
}
CurrencyValue
{
"currency": String,
"value": Number
}
PayoutRecord
{
"player_id": String,
"brand_id": String,
"currency": String,
"win_amount": Number
}