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,
    "currency_multipliers": {
        "brand_id": String,
        "base_currency": String,
        "multipliers": {
            "EUR": Number,
            "GBP": Number,
            "ZAR": Number,
            ...
            "NZD": Number,
            "SEK": Number
        }
    }
    "timestamp": Number,
    "winners": [
        {
            "player_id": String,
            "brand_id": String,
            "currency": String,
            "win_amount": Number
        }
    ],
    "win_withheld": bool
}

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,
}

Event: CommunityPayoutErrorEvent

{
    "instance_id": String,
    "gameround_id": String,
    "tx_credit_id": String,
    "failed_payouts": [
        {
            "player_id": String,
            "brand_id": String,
            "currency": String,
            "win_amount": Number
        }
    ]
}

Event: RafflePayoutErrorEvent

{
    "instance_id": String,
    "failed_payouts": [
        {
            "player_id": String,
            "brand_id": String,
            "currency": String,
            "win_amount": Number
        }
    ]
}

Structure References

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
}