Download OpenAPI specification:
The API uses Bearer token security for its administrative endpoints which
is retrieved from a successful call to /auth/admin endpoint. This token is a JWT token
and must be passed via the Authorization
header.
Get all currencies
sort_field required | string Field to sort on |
sort_direction required | integer <int32> Direction to sort in (1 = ASC, -1 = DESC) |
page required | integer <int32> Page to retrieve |
limit required | integer <int32> Number of items to retrieve |
[- {
- "brand_id": "string",
- "base_currency": "string",
- "multipliers": {
- "property1": 0.1,
- "property2": 0.1
}
}
]
Get currency multiplers for a brand
brand_id required | string The brand ID to retrieve currency multipliers for |
{- "brand_id": "string",
- "base_currency": "string",
- "multipliers": {
- "property1": 0.1,
- "property2": 0.1
}
}
Get Operators
owner_id required | string Owner ID to filter by |
name required | string An optional name filter operators with |
sort_field required | string Field to sort on |
sort_direction required | integer <int32> Direction to sort in (1 = ASC, -1 = DESC) |
page required | integer <int32> Page to retrieve |
limit required | integer <int32> Number of items to retrieve |
[- {
- "id": "string",
- "path": "string",
- "name": "string",
- "enabled": true,
- "created_timestamp": 0,
- "brands": [
- {
- "id": "string",
- "path": "string",
- "name": "string",
- "enabled": true,
- "created_timestamp": 0
}
]
}
]
Adds or updates a batch of operators and brands
id required | string |
name required | string |
[- {
- "id": "string",
- "name": "string"
}
]
{- "success": [
- "string"
], - "failed": [
- "string"
]
}
Retrieve details for a specific operator
operator_id required | string The ID of the operator to retrieve |
{- "id": "string",
- "path": "string",
- "name": "string",
- "enabled": true,
- "created_timestamp": 0,
- "brands": [
- {
- "id": "string",
- "path": "string",
- "name": "string",
- "enabled": true,
- "created_timestamp": 0
}
]
}
Add brands to an operator
operator_id required | string The ID of the operator or brand to update |
id required | string |
name required | string |
[- {
- "id": "string",
- "name": "string"
}
]
{- "success": [
- "string"
], - "failed": [
- "string"
]
}
Update a specific entity (operator or brand)
This endpoint can be called in 2 ways:
/config/operators/{operator_id}
- to modify an operator entity/config/operators/{operator_id}/brands/{brand_id}
- to modify a brand entityoperator_id required | string The ID of the operator to update |
brand_id required | string The ID of the brand to update |
name | string or null |
enabled | boolean or null |
{- "name": "string",
- "enabled": true
}
null
Retrieve the segments for a specific owner/brand
brand_id required | string The brand ID to retrieve segments for |
name required | string An optional name filter for the segment |
sort_field required | string Field to sort on |
sort_direction required | integer <int32> Direction to sort in (1 = ASC, -1 = DESC) |
page required | integer <int32> Page to retrieve |
limit required | integer <int32> Number of items to retrieve |
[- {
- "owner_id": "string",
- "id": "string",
- "name": "string",
- "priority": 0,
- "jackpots": [
- {
- "priority": 0,
- "owner_id": "string",
- "instance_id": "string"
}
]
}
]
Add operator segments to the system
owner_id required | string |
id required | string |
name | string or null |
priority required | integer >= 0 |
Array of objects (AssignedJackpot) |
[- {
- "owner_id": "string",
- "id": "string",
- "name": "string",
- "priority": 0,
- "jackpots": [
- {
- "priority": 0,
- "owner_id": "string",
- "instance_id": "string"
}
]
}
]
{- "succeeded": [
- "string"
], - "duplicated": [
- "string"
], - "failed": [
- "string"
]
}
Delete one or more segments
owner_id required | string |
segment_id required | string |
[- {
- "owner_id": "string",
- "segment_id": "string"
}
]
{- "succeeded": [
- "string"
], - "failed": [
- {
- "owner_id": "string",
- "segment_id": "string",
- "jackpots": [
- "string"
]
}
]
}
Assigns a jackpot to a segment
owner_id required | string |
segment_id required | string |
instance_id required | string |
{- "owner_id": "string",
- "segment_id": "string",
- "instance_id": "string"
}
null
Allows the re-prioritisation of jackpots within the context of a segment
If the request contains a jackpot ID that is not currently mapped to the segment, an error will be thrown.
brand_id required | string |
segment_id required | string |
required | object |
{- "brand_id": "string",
- "segment_id": "string",
- "priorities": {
- "property1": 0,
- "property2": 0
}
}
[- {
- "owner_id": "string",
- "id": "string",
- "name": "string",
- "priority": 0,
- "jackpots": [
- {
- "priority": 0,
- "owner_id": "string",
- "instance_id": "string"
}
]
}
]
Unassign a jackpot from a segment
owner_id required | string |
segment_id required | string |
instance_id required | string |
{- "owner_id": "string",
- "segment_id": "string",
- "instance_id": "string"
}
null
Retrieve the sources for a specific owner/brand
owner_id | string or null The owner/brand ID to retrieve sources for |
source_id | string or null The source ID to retrieve sources by |
name | string or null An optional name filter for the source |
sort_field | string or null Field to sort on |
sort_direction | integer or null <int32> Direction to sort in (1 = ASC, -1 = DESC) |
page | integer or null <int32> Page to retrieve |
limit | integer or null <int32> Number of items to retrieve |
[- {
- "owner_id": "string",
- "source_name": "string",
- "source_id": "string",
- "jackpots": [
- {
- "priority": 0,
- "owner_id": "string",
- "instance_id": "string"
}
]
}
]
Add operator sources to the system
owner_id required | string |
source_name required | string |
source_id required | string |
Array of objects (AssignedJackpot) |
[- {
- "owner_id": "string",
- "source_name": "string",
- "source_id": "string",
- "jackpots": [
- {
- "priority": 0,
- "owner_id": "string",
- "instance_id": "string"
}
]
}
]
{- "succeeded": [
- "string"
], - "duplicated": [
- "string"
], - "failed": [
- "string"
]
}
Delete one or more sources
owner_id required | string |
source_id required | string |
[- {
- "owner_id": "string",
- "source_id": "string"
}
]
{- "succeeded": [
- "string"
], - "failed": [
- {
- "owner_id": "string",
- "source_id": "string",
- "jackpots": [
- "string"
]
}
]
}
Assigns a jackpot to a source
owner_id required | string |
source_id required | Array of strings |
instance_id required | string |
{- "owner_id": "string",
- "source_id": [
- "string"
], - "instance_id": "string"
}
null
Allows the re-prioritisation of jackpots within the context of a source
If the request contains a jackpot ID that is not currently mapped to the source, an error will be thrown.
brand_id required | string |
segment_id required | string |
required | object |
{- "brand_id": "string",
- "segment_id": "string",
- "priorities": {
- "property1": 0,
- "property2": 0
}
}
[- {
- "owner_id": "string",
- "source_name": "string",
- "source_id": "string",
- "jackpots": [
- {
- "priority": 0,
- "owner_id": "string",
- "instance_id": "string"
}
]
}
]
Unassign a jackpot from a source
owner_id required | string |
source_id required | Array of strings |
instance_id required | string |
{- "owner_id": "string",
- "source_id": [
- "string"
], - "instance_id": "string"
}
null
Retrieve all jackpot instances from the database
owner_id | string or null Owner ID to filter by |
status | string or null Instance Status to filter by |
name | string or null Name to filter by |
ids | string or null Comma-separated list of instance IDs to filter by |
sort_field | string or null Field to sort on |
sort_direction | integer or null <int32> Direction to sort in (1 = ASC, -1 = DESC) |
page | integer or null <int32> >= 0 Page to retrieve |
limit | integer or null <int32> >= 0 Number of items to retrieve |
[- {
- "id": "string",
- "game_code": "string",
- "template_id": "string",
- "status": "Pending",
- "name": "string",
- "description": "string",
- "owner_id": "string",
- "version": 0,
- "currency": "string",
- "contribution_rules": {
- "opt_in_required": true,
- "contribution_type": {
- "Fixed": 0.1
}, - "contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "max_contribution": {
- "max_contribution_value": "string",
- "max_contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "include_base_wager": true
}, - "operator_contribution_percentage": "string",
- "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "allowed_brands": [
- "string"
], - "country_filters": {
- "black_list": [
- "string"
], - "white_list": [
- "string"
]
}
}, - "house_pot": {
- "contribution_type": {
- "Fixed": 0.1
}, - "timestamp_created": 0,
- "current_value": 0.1,
- "accumulated_seed_deficit": 0.1,
- "total_contributions": 0,
- "diversion_rules": {
- "target": {
- "External": {
- "endpoint": "string",
- "account_id": "string"
}
}, - "diversion_percentage": "string",
- "flush_threshold": "string"
}, - "diversion_pool": 0.1
}, - "jackpot_type": "Jackpot",
- "raffle_rules": {
- "cost_per_ticket": "string",
- "cost_source": "Contribution",
- "allocation_mode": "Instant",
- "duration": {
- "Seconds": 0
}, - "prize_distribution": [
- {
- "prize_percentage": "string",
- "number_of_winners": 0
}
]
}, - "pots": [
- {
- "id": "string",
- "enabled": true,
- "contribution": {
- "Fixed": 0.1
}, - "payout_ruleset": {
- "main_winner_percentage": 0.1,
- "admin_fee": 0.1,
- "payout_rules": [
- {
- "payout_percentage": 0.1,
- "rule": {
- "ActivePlayers": {
- "period_before_win": 0,
- "max_number_of_payouts": 0
}
}
}
]
}, - "seed_contribution": {
- "Fixed": 0.1
}, - "seed_strategy": {
- "initial_seed_value": 0.1,
- "min_reseed_value": 0.1,
- "fund_strategy": "CollectToMinReseed",
- "reseed_strategy": "Full"
}, - "win_constraints": [
- {
- "AllowedSeedDeficit": "string"
}
], - "instance_count": 0,
- "timestamp_created": 0,
- "supports_external_trigger": true,
- "is_progressive": true,
- "surplus_seed": 0.1,
- "contributed_amount": 0.1,
- "contributed_seed": 0.1,
- "seed_value": 0.1,
- "current_value": 0.1,
- "pot_types": [
- {
- "Time": {
- "start_time": 0,
- "end_time": 0
}
}
], - "criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "maximum_pot_value": "string",
- "overflow_amount": 0.1,
- "total_contributions": 0
}
], - "win_selector_strategy": "Lowest",
- "total_contributions": 0,
- "created": 0,
- "timestamp_start": 0,
- "timestamp_end": 0,
- "last_updated": 0
}
]
Retrieve latest winners for instance pots
instance_id required | string ID of the instance to retrieve a jackpot winners for |
limit | integer or null <int32> >= 0 Number of winners |
brand_id | string or null ID of the winners' brand |
{- "property1": [
- {
- "win_pot_id": "string",
- "win_amount": 0.1,
- "jackpot_currency": "string",
- "player_id": "string",
- "timestamp": 0,
- "brand_id": "string"
}
], - "property2": [
- {
- "win_pot_id": "string",
- "win_amount": 0.1,
- "jackpot_currency": "string",
- "player_id": "string",
- "timestamp": 0,
- "brand_id": "string"
}
]
}
Retrieve latest winners for instance pots
instance_id required | string ID of the instance to retrieve a jackpot winners for |
limit | integer or null <int32> >= 0 Number of winners |
brand_id | string or null ID of the winners' brand |
{- "property1": [
- {
- "win_pot_id": "string",
- "win_amount": 0.1,
- "jackpot_currency": "string",
- "player_id": "string",
- "timestamp": 0,
- "brand_id": "string"
}
], - "property2": [
- {
- "win_pot_id": "string",
- "win_amount": 0.1,
- "jackpot_currency": "string",
- "player_id": "string",
- "timestamp": 0,
- "brand_id": "string"
}
]
}
Adjust the value of a specific pot within a Jackpot Instance
instance_id required | string the jackpot instance ID for the request |
pot_id required | string The pot ID of the pot that needs to be adjusted |
adjustment required | number <double> The target value to set the pot pot to |
reason required | string The reason for the adjustment |
{- "instance_id": "string",
- "pot_id": "string",
- "adjustment": 0.1,
- "reason": "string"
}
null
Adjust the value of a specific pot's seed value within a Jackpot Instance
instance_id required | string the jackpot instance ID for the request |
pot_id required | string The pot ID of the pot that needs to be adjusted |
adjustment required | number <double> The target value to set the pot pot to |
reason required | string The reason for the adjustment |
{- "instance_id": "string",
- "pot_id": "string",
- "adjustment": 0.1,
- "reason": "string"
}
null
Adjust the value of a specific pot's surplus seed value within a Jackpot Instance
instance_id required | string the jackpot instance ID for the request |
pot_id required | string The pot ID of the pot that needs to be adjusted |
adjustment required | number <double> The target value to set the pot pot to |
reason required | string The reason for the adjustment |
{- "instance_id": "string",
- "pot_id": "string",
- "adjustment": 0.1,
- "reason": "string"
}
null
Assign a brand to the JackpotInstance
brand_id required | string |
instance_id required | string |
{- "brand_id": "string",
- "instance_id": "string"
}
null
Remove a brand from a Jackpot Instance
brand_id required | string |
instance_id required | string |
{- "brand_id": "string",
- "instance_id": "string"
}
null
Opt a player in or out of a specific jackpot instance
instance_id required | string The jackpot id for the opt-in/opt-out request |
player_id required | string (OperatorPlayerID) Represents a player's ID on an operator or aggregators system) |
brand_id required | string The brand path (operator_id:brand_id) that the player/contribution originates from |
player_country required | string The country that the player is playing from (ISO-3166-2 country code) |
opt_in required | boolean Flag indicating whether the player is opting in or out of the jackpot contributions |
contribution_value | string or null [Optional] Indicates the value of the bet the player wishes to make on each contribution |
contribution_currency | string or null [Optional] Indicates the currency of the preferred contribution value. If |
{- "instance_id": "string",
- "player_id": "string",
- "brand_id": "string",
- "player_country": "string",
- "opt_in": true,
- "contribution_value": "string",
- "contribution_currency": "string"
}
null
Process a bulk opt-in/opt-out request
Depending on the content-type
header, the body can either be a JackpotOptInOutBulkRequest
structure (application/json
)
or CSV formatted data of the structure (text/csv
).
instance_id required | string The jackpot id for the opt-in/opt-out request |
brand_id required | string The brand id that the player/contribution originates from |
required | Array of objects (PlayerOptInOutItem) The array of player IDs to opt-in to the jackpot |
required | Array of objects (PlayerOptInOutItem) The array of player IDs to opt-out of the jackpot |
[- {
- "instance_id": "string",
- "brand_id": "string",
- "opt_ins": [
- {
- "player_id": "string",
- "currency": "string"
}
], - "opt_outs": [
- {
- "player_id": "string",
- "currency": "string"
}
]
}
]
{- "errors": {
- "property1": "string",
- "property2": "string"
}
}
Retrieves all instances that the player has opted-in or opted-out of
player_id required | string The player ID |
brand_id required | string The player's brand ID |
opted_id | string or null Optional filter for opted-in or opted-out instances. If not specified, all records are returned |
[- {
- "instance_id": "string",
- "player_id": "string",
- "ext_player_id": "string",
- "player_brand_id": "string",
- "preferred_contribution_value": 0.1,
- "preferred_contribution_currency": "string",
- "contribution_count": 0,
- "contribution_value": 0.1,
- "pot_contributions": {
- "property1": {
- "contribution_count": 0,
- "contribution_value": 0.1
}, - "property2": {
- "contribution_count": 0,
- "contribution_value": 0.1
}
}, - "opted_in": true,
- "last_updated": 0
}
]
Retrieve the jackpot instance that is available for a specific game, brand and country
source_id required | string ID of the source to retrieve a jackpot for |
brand_id required | string ID of the brand of the source |
player_id | string or null ID of the player |
country_code | string or null Country of the player |
segments | Array of strings or null Comma separated list of segments the player belongs to |
{- "id": "string",
- "currency": "string",
- "opt_in_required": true,
- "contribution_type": {
- "Fixed": 0.1
}, - "optin_status": {
- "instance_id": "string",
- "player_id": "string",
- "ext_player_id": "string",
- "player_brand_id": "string",
- "preferred_contribution_value": 0.1,
- "preferred_contribution_currency": "string",
- "contribution_count": 0,
- "contribution_value": 0.1,
- "pot_contributions": {
- "property1": {
- "contribution_count": 0,
- "contribution_value": 0.1
}, - "property2": {
- "contribution_count": 0,
- "contribution_value": 0.1
}
}, - "opted_in": true,
- "last_updated": 0
}, - "pots": [
- {
- "id": "string",
- "enabled": true,
- "contribution": {
- "Fixed": 0.1
}, - "payout_ruleset": {
- "main_winner_percentage": 0.1,
- "admin_fee": 0.1,
- "payout_rules": [
- {
- "payout_percentage": 0.1,
- "rule": {
- "ActivePlayers": {
- "period_before_win": 0,
- "max_number_of_payouts": 0
}
}
}
]
}, - "seed_contribution": {
- "Fixed": 0.1
}, - "seed_strategy": {
- "initial_seed_value": 0.1,
- "min_reseed_value": 0.1,
- "fund_strategy": "CollectToMinReseed",
- "reseed_strategy": "Full"
}, - "win_constraints": [
- {
- "AllowedSeedDeficit": "string"
}
], - "instance_count": 0,
- "timestamp_created": 0,
- "supports_external_trigger": true,
- "is_progressive": true,
- "surplus_seed": 0.1,
- "contributed_amount": 0.1,
- "contributed_seed": 0.1,
- "seed_value": 0.1,
- "current_value": 0.1,
- "pot_types": [
- {
- "Time": {
- "start_time": 0,
- "end_time": 0
}
}
], - "criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "maximum_pot_value": "string",
- "overflow_amount": 0.1,
- "total_contributions": 0
}
], - "timestamp_start": 0,
- "timestamp_end": 0,
- "status": "Pending"
}
source_instance_id required | string source instance for the model switch |
template_owner_id required | string owner id of the template |
template_id required | string new instance template id |
target_instance_owner_id required | string Owner id of the new jackpot instance |
target_instance_name required | string The name of the new jackpot instance |
target_instance_game_code | string or null If specified, this will be the "source_id" that is used in transactions to identify the jackpot |
target_instance_desc | string or null An optional description of the new Jackpot Instance |
required | Array of objects (PotTransferRule) rules how the pot values should be transferred |
transfer_optins required | boolean should opt-ins be transferred |
reason required | string model switch reason |
dry_run required | boolean indicate dry run, no changes will be persisted if set |
{- "source_instance_id": "string",
- "template_owner_id": "string",
- "template_id": "string",
- "target_instance_owner_id": "string",
- "target_instance_name": "string",
- "target_instance_game_code": "string",
- "target_instance_desc": "string",
- "pot_rules": [
- {
- "source_pot": "string",
- "target_pot": {
- "property1": "string",
- "property2": "string"
}
}
], - "transfer_optins": true,
- "reason": "string",
- "dry_run": true
}
{- "source_instance": {
- "id": "string",
- "game_code": "string",
- "template_id": "string",
- "status": "Pending",
- "name": "string",
- "description": "string",
- "owner_id": "string",
- "version": 0,
- "currency": "string",
- "contribution_rules": {
- "opt_in_required": true,
- "contribution_type": {
- "Fixed": 0.1
}, - "contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "max_contribution": {
- "max_contribution_value": "string",
- "max_contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "include_base_wager": true
}, - "operator_contribution_percentage": "string",
- "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "allowed_brands": [
- "string"
], - "country_filters": {
- "black_list": [
- "string"
], - "white_list": [
- "string"
]
}
}, - "house_pot": {
- "contribution_type": {
- "Fixed": 0.1
}, - "timestamp_created": 0,
- "current_value": 0.1,
- "accumulated_seed_deficit": 0.1,
- "total_contributions": 0,
- "diversion_rules": {
- "target": {
- "External": {
- "endpoint": "string",
- "account_id": "string"
}
}, - "diversion_percentage": "string",
- "flush_threshold": "string"
}, - "diversion_pool": 0.1
}, - "jackpot_type": "Jackpot",
- "raffle_rules": {
- "cost_per_ticket": "string",
- "cost_source": "Contribution",
- "allocation_mode": "Instant",
- "duration": {
- "Seconds": 0
}, - "prize_distribution": [
- {
- "prize_percentage": "string",
- "number_of_winners": 0
}
]
}, - "pots": [
- {
- "id": "string",
- "enabled": true,
- "contribution": {
- "Fixed": 0.1
}, - "payout_ruleset": {
- "main_winner_percentage": 0.1,
- "admin_fee": 0.1,
- "payout_rules": [
- {
- "payout_percentage": 0.1,
- "rule": {
- "ActivePlayers": {
- "period_before_win": 0,
- "max_number_of_payouts": 0
}
}
}
]
}, - "seed_contribution": {
- "Fixed": 0.1
}, - "seed_strategy": {
- "initial_seed_value": 0.1,
- "min_reseed_value": 0.1,
- "fund_strategy": "CollectToMinReseed",
- "reseed_strategy": "Full"
}, - "win_constraints": [
- {
- "AllowedSeedDeficit": "string"
}
], - "instance_count": 0,
- "timestamp_created": 0,
- "supports_external_trigger": true,
- "is_progressive": true,
- "surplus_seed": 0.1,
- "contributed_amount": 0.1,
- "contributed_seed": 0.1,
- "seed_value": 0.1,
- "current_value": 0.1,
- "pot_types": [
- {
- "Time": {
- "start_time": 0,
- "end_time": 0
}
}
], - "criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "maximum_pot_value": "string",
- "overflow_amount": 0.1,
- "total_contributions": 0
}
], - "win_selector_strategy": "Lowest",
- "total_contributions": 0,
- "created": 0,
- "timestamp_start": 0,
- "timestamp_end": 0,
- "last_updated": 0
}, - "target_instance": {
- "id": "string",
- "game_code": "string",
- "template_id": "string",
- "status": "Pending",
- "name": "string",
- "description": "string",
- "owner_id": "string",
- "version": 0,
- "currency": "string",
- "contribution_rules": {
- "opt_in_required": true,
- "contribution_type": {
- "Fixed": 0.1
}, - "contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "max_contribution": {
- "max_contribution_value": "string",
- "max_contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "include_base_wager": true
}, - "operator_contribution_percentage": "string",
- "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "allowed_brands": [
- "string"
], - "country_filters": {
- "black_list": [
- "string"
], - "white_list": [
- "string"
]
}
}, - "house_pot": {
- "contribution_type": {
- "Fixed": 0.1
}, - "timestamp_created": 0,
- "current_value": 0.1,
- "accumulated_seed_deficit": 0.1,
- "total_contributions": 0,
- "diversion_rules": {
- "target": {
- "External": {
- "endpoint": "string",
- "account_id": "string"
}
}, - "diversion_percentage": "string",
- "flush_threshold": "string"
}, - "diversion_pool": 0.1
}, - "jackpot_type": "Jackpot",
- "raffle_rules": {
- "cost_per_ticket": "string",
- "cost_source": "Contribution",
- "allocation_mode": "Instant",
- "duration": {
- "Seconds": 0
}, - "prize_distribution": [
- {
- "prize_percentage": "string",
- "number_of_winners": 0
}
]
}, - "pots": [
- {
- "id": "string",
- "enabled": true,
- "contribution": {
- "Fixed": 0.1
}, - "payout_ruleset": {
- "main_winner_percentage": 0.1,
- "admin_fee": 0.1,
- "payout_rules": [
- {
- "payout_percentage": 0.1,
- "rule": {
- "ActivePlayers": {
- "period_before_win": 0,
- "max_number_of_payouts": 0
}
}
}
]
}, - "seed_contribution": {
- "Fixed": 0.1
}, - "seed_strategy": {
- "initial_seed_value": 0.1,
- "min_reseed_value": 0.1,
- "fund_strategy": "CollectToMinReseed",
- "reseed_strategy": "Full"
}, - "win_constraints": [
- {
- "AllowedSeedDeficit": "string"
}
], - "instance_count": 0,
- "timestamp_created": 0,
- "supports_external_trigger": true,
- "is_progressive": true,
- "surplus_seed": 0.1,
- "contributed_amount": 0.1,
- "contributed_seed": 0.1,
- "seed_value": 0.1,
- "current_value": 0.1,
- "pot_types": [
- {
- "Time": {
- "start_time": 0,
- "end_time": 0
}
}
], - "criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "maximum_pot_value": "string",
- "overflow_amount": 0.1,
- "total_contributions": 0
}
], - "win_selector_strategy": "Lowest",
- "total_contributions": 0,
- "created": 0,
- "timestamp_start": 0,
- "timestamp_end": 0,
- "last_updated": 0
}
}
Transfer the value of the pots of a source intances to the pots of a tarsget instance
source_instance_id required | string |
target_instance_id required | string |
user_id required | string |
transfer_optins required | boolean |
required | Array of objects (PotTransferRule) |
reason required | string |
{- "source_instance_id": "string",
- "target_instance_id": "string",
- "user_id": "string",
- "transfer_optins": true,
- "pot_rules": [
- {
- "source_pot": "string",
- "target_pot": {
- "property1": "string",
- "property2": "string"
}
}
], - "reason": "string"
}
null
External Jackpot Triggering handler
instance_id required | string |
pot_id required | string |
brand_id required | string |
player_id required | string |
source_id required | string |
{- "instance_id": "string",
- "pot_id": "string",
- "brand_id": "string",
- "player_id": "string",
- "source_id": "string"
}
{- "instance_id": "string",
- "timestamp": 0,
- "win_amount": 0.1,
- "win_pot_id": "string"
}
Update certain details of a JackpotInstance
Details that can be updated:
instance_id required | string |
name | string or null |
description | string or null |
{- "instance_id": "string",
- "name": "string",
- "description": "string"
}
null
retrieve a specific jackpot instance from the database
instance_id required | string ID of the instance to retrieve a jackpot for |
owner_id | string or null Owner ID to filter by |
status | string or null Instance Status to filter by |
{- "id": "string",
- "game_code": "string",
- "template_id": "string",
- "status": "Pending",
- "name": "string",
- "description": "string",
- "owner_id": "string",
- "version": 0,
- "currency": "string",
- "contribution_rules": {
- "opt_in_required": true,
- "contribution_type": {
- "Fixed": 0.1
}, - "contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "max_contribution": {
- "max_contribution_value": "string",
- "max_contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "include_base_wager": true
}, - "operator_contribution_percentage": "string",
- "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "allowed_brands": [
- "string"
], - "country_filters": {
- "black_list": [
- "string"
], - "white_list": [
- "string"
]
}
}, - "house_pot": {
- "contribution_type": {
- "Fixed": 0.1
}, - "timestamp_created": 0,
- "current_value": 0.1,
- "accumulated_seed_deficit": 0.1,
- "total_contributions": 0,
- "diversion_rules": {
- "target": {
- "External": {
- "endpoint": "string",
- "account_id": "string"
}
}, - "diversion_percentage": "string",
- "flush_threshold": "string"
}, - "diversion_pool": 0.1
}, - "jackpot_type": "Jackpot",
- "raffle_rules": {
- "cost_per_ticket": "string",
- "cost_source": "Contribution",
- "allocation_mode": "Instant",
- "duration": {
- "Seconds": 0
}, - "prize_distribution": [
- {
- "prize_percentage": "string",
- "number_of_winners": 0
}
]
}, - "pots": [
- {
- "id": "string",
- "enabled": true,
- "contribution": {
- "Fixed": 0.1
}, - "payout_ruleset": {
- "main_winner_percentage": 0.1,
- "admin_fee": 0.1,
- "payout_rules": [
- {
- "payout_percentage": 0.1,
- "rule": {
- "ActivePlayers": {
- "period_before_win": 0,
- "max_number_of_payouts": 0
}
}
}
]
}, - "seed_contribution": {
- "Fixed": 0.1
}, - "seed_strategy": {
- "initial_seed_value": 0.1,
- "min_reseed_value": 0.1,
- "fund_strategy": "CollectToMinReseed",
- "reseed_strategy": "Full"
}, - "win_constraints": [
- {
- "AllowedSeedDeficit": "string"
}
], - "instance_count": 0,
- "timestamp_created": 0,
- "supports_external_trigger": true,
- "is_progressive": true,
- "surplus_seed": 0.1,
- "contributed_amount": 0.1,
- "contributed_seed": 0.1,
- "seed_value": 0.1,
- "current_value": 0.1,
- "pot_types": [
- {
- "Time": {
- "start_time": 0,
- "end_time": 0
}
}
], - "criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "maximum_pot_value": "string",
- "overflow_amount": 0.1,
- "total_contributions": 0
}
], - "win_selector_strategy": "Lowest",
- "total_contributions": 0,
- "created": 0,
- "timestamp_start": 0,
- "timestamp_end": 0,
- "last_updated": 0
}
Retrieve the changelog for a JackpotInstance
instance_id required | string ID of the Jackpot Instance |
[- {
- "username": "string",
- "change_type": {
- "BrandAdded": "string"
}, - "version_prev": 0,
- "version_new": 0
}
]
Add country to list of allowed countries of a Jackpot Instance
instance_id required | string ID of the Jackpot Instance |
country_code required | string Country to add to the white list |
null
Remove country to list of allowed countries of a Jackpot Instance
instance_id required | string ID of the Jackpot Instance |
country_code required | string Country to add to the white list |
null
Add country to list of blacklisted countries of a Jackpot Instance
instance_id required | string ID of the instance to retrieve a jackpot for |
country_code required | string Country of the player |
null
Remove country to list of blacklisted countries of a Jackpot Instance
instance_id required | string ID of the instance to retrieve a jackpot for |
country_code required | string Country of the player |
null
Retrieve the opt-in/opt-out records for a specific Jackpot Instance
instance_id required | string ID of the Jackpot Instance |
opted_in | boolean or null Boolean filter on opt-in status |
limit | integer or null <int64> The number of items per page to retrieve |
page | integer or null <int64> The page of data to retrieve |
instance_id required | string The jackpot id for the opt-in/opt-out request |
player_id required | string (OperatorPlayerID) Represents a player's ID on an operator or aggregators system) |
brand_id required | string The brand path (operator_id:brand_id) that the player/contribution originates from |
player_country required | string The country that the player is playing from (ISO-3166-2 country code) |
opt_in required | boolean Flag indicating whether the player is opting in or out of the jackpot contributions |
contribution_value | string or null [Optional] Indicates the value of the bet the player wishes to make on each contribution |
contribution_currency | string or null [Optional] Indicates the currency of the preferred contribution value. If |
{- "instance_id": "string",
- "player_id": "string",
- "brand_id": "string",
- "player_country": "string",
- "opt_in": true,
- "contribution_value": "string",
- "contribution_currency": "string"
}
[- {
- "instance_id": "string",
- "player_id": "string",
- "ext_player_id": "string",
- "player_brand_id": "string",
- "preferred_contribution_value": 0.1,
- "preferred_contribution_currency": "string",
- "contribution_count": 0,
- "contribution_value": 0.1,
- "pot_contributions": {
- "property1": {
- "contribution_count": 0,
- "contribution_value": 0.1
}, - "property2": {
- "contribution_count": 0,
- "contribution_value": 0.1
}
}, - "opted_in": true,
- "last_updated": 0
}
]
Performs a player contribution to a specific jackpot.
instance_id required | string The jackpot instance ID to make the contribution to |
token required | string The session token under which the contribution has been made |
brand_id required | string The brand id that the player/contribution originates from |
player_id required | string (OperatorPlayerID) Represents a player's ID on an operator or aggregators system) |
player_country required | string The country that the player is playing from |
gameround_id | string or null The gameround/cycle ID of the source user flow that caused the contribution to happen. For example, if a player made a bet on a game, this would be the game's gameround ID. If a player made a successful deposit, this would be the deposit's identifier. This field is stored by ThrillPots and is used a back-reference to the original user action that caused the contribution to happen. |
base_wager required | number <double> The base [game] wager (if any) |
currency required | string Currency of the wager |
object or null | |
idempotency_key | string or null Optional field used to enforce request idempotency When supplied, the key is used to check if this request has been received before. If a duplicate, a 204 status is returned with the same header data ad the original request |
metadata | any or null Opaque data object that contains pass-through data for the caller. The content of this property will be sent back on the JackpotContributionResponse to this request |
event_metadata | any or null Opaque data object that contains pass-through data for the caller. The content of this property will be attached to any resulting events. ( win events at that stage ) |
{- "instance_id": "string",
- "token": "string",
- "brand_id": "string",
- "player_id": "string",
- "player_country": "string",
- "gameround_id": "string",
- "base_wager": 0.1,
- "currency": "string",
- "callback": {
- "win_result_only": true,
- "web_hook": "string"
}, - "idempotency_key": "string",
- "metadata": null,
- "event_metadata": null
}
{- "instance_id": "string",
- "timestamp": 0,
- "gameround_id": "string",
- "win_amount": 0.1,
- "win_pot_id": "string",
- "tickets_awarded": 0,
- "win_withheld": true,
- "contribution_currency": "string",
- "contribution_amount": 0.1,
- "metadata": null
}
Performs a player contribution to a jackpot that is bound to a specified source.
token required | string The session token under which the contribution has been made |
brand_id required | string The brand id that the player/contribution originates from |
player_id required | string (OperatorPlayerID) Represents a player's ID on an operator or aggregators system) |
player_country required | string The country that the player is playing from |
segments | Array of strings or null Any segments that the player might be part of |
source_id required | string ID of the source system that was played to generate the contribution (for example, if the contribution was generated through gameplay, this could contain the game’s gamecode identifier) |
gameround_id | string or null The gameround/cycle ID of the source user flow that caused the contribution to happen. For example, if a player made a bet on a game, this would be the game's gameround ID. If a player made a successful deposit, this would be the deposit's identifier. This field is stored by ThrillPots and is used a back-reference to the original user action that caused the contribution to happen. |
base_wager required | number <double> The base [game] wager (if any) |
currency required | string Currency of the wager |
object or null | |
idempotency_key | string or null Optional field used to enforce request idempotency When supplied, the key is used to check if this request has been received before. If a duplicate, a 204 status is returned with the same header data ad the original request |
metadata | any or null Opaque data object that contains pass-through data for the caller. The content of this property will be sent back on the JackpotContributionResponse to this request. |
event_metadata | any or null Opaque data object that contains pass-through data for the caller. The content of this property will be attached to any resulting events. ( win events at that stage ) |
{- "token": "string",
- "brand_id": "string",
- "player_id": "string",
- "player_country": "string",
- "segments": [
- "string"
], - "source_id": "string",
- "gameround_id": "string",
- "base_wager": 0.1,
- "currency": "string",
- "callback": {
- "win_result_only": true,
- "web_hook": "string"
}, - "idempotency_key": "string",
- "metadata": null,
- "event_metadata": null
}
{- "instance_id": "string",
- "timestamp": 0,
- "gameround_id": "string",
- "win_amount": 0.1,
- "win_pot_id": "string",
- "tickets_awarded": 0,
- "win_withheld": true,
- "contribution_currency": "string",
- "contribution_amount": 0.1,
- "metadata": null
}
Performs a player contribution to a jackpot that is bound to a specific provider
provider_id required | string The ID of the provider that this game is assigned to |
instance_id required | string The jackpot instance ID to make the contribution to |
game_code required | string The gamecode of the game that this jackpot is receiving a contribution from |
brand_id required | string The brand id that the player/contribution originates from |
player_id required | string (OperatorPlayerID) Represents a player's ID on an operator or aggregators system) |
token required | string The session token under which the contribution has been made |
player_country required | string The country that the player is playing from |
gameround_id | string or null The gameround/cycle ID of the source interaction (if any) |
base_wager required | number <double> The base [game] wager |
currency required | string Currency of the wager |
metadata | any or null Opaque data object that contains pass-through data for the caller. The content of this property will be sent back on the JackpotContributionResponse to this request |
event_metadata | any or null Opaque data object that contains pass-through data for the caller. The content of this property will be attached to any resulting events. ( win events at that stage ) |
{- "provider_id": "string",
- "instance_id": "string",
- "game_code": "string",
- "brand_id": "string",
- "player_id": "string",
- "token": "string",
- "player_country": "string",
- "gameround_id": "string",
- "base_wager": 0.1,
- "currency": "string",
- "metadata": null,
- "event_metadata": null
}
{- "instance_id": "string",
- "timestamp": 0,
- "gameround_id": "string",
- "win_amount": 0.1,
- "win_pot_id": "string",
- "tickets_awarded": 0,
- "win_withheld": true,
- "contribution_currency": "string",
- "contribution_amount": 0.1,
- "metadata": null
}
Add one or more supported currencies ot a jackpot instance
instance_id required | string The instance Id on which to modify the supported currencies |
required | Array of objects (SupportedCurrencyItem) The list of Supported Currency Items to add/delete on the target instance |
{- "instance_id": "string",
- "currencies": [
- {
- "currency": "string",
- "min_bet": "string",
- "max_bet": "string"
}
]
}
null
Remove one or more supported currencies from a Jackpot Instance
instance_id required | string |
currencies required | Array of strings |
{- "instance_id": "string",
- "currencies": [
- "string"
]
}
null
Retrieves all tickets for the current instance of the raffle
instance_id required | string |
brand_id | string or null |
sort_field | string or null Field to sort on |
sort_direction | integer or null <int32> Direction to sort in (1 = ASC, -1 = DESC) |
page | integer or null <int32> Page to retrieve |
limit | integer or null <int32> Number of items to retrieve |
[- {
- "instance_id": "string",
- "brand_id": "string",
- "player_id": "string",
- "ext_player_id": "string",
- "ticket_count": 0,
- "accumulated_cost": "string",
- "timestamp_start": 0,
- "timestamp_end": 0
}
]
Retrieves all tickets allocated to a specific player for the current instance of the raffle
player_id required | string (OperatorPlayerID) Represents a player's ID on an operator or aggregators system) |
instance_id required | string |
brand_id required | string |
[- {
- "instance_id": "string",
- "brand_id": "string",
- "player_id": "string",
- "ext_player_id": "string",
- "ticket_count": 0,
- "accumulated_cost": "string",
- "timestamp_start": 0,
- "timestamp_end": 0
}
]
Retrieve all raffle tickets that a player has earned for all active raffles in the system at the time of request
player_id required | string |
brand_id required | string |
[- {
- "instance_id": "string",
- "brand_id": "string",
- "player_id": "string",
- "ext_player_id": "string",
- "ticket_count": 0,
- "accumulated_cost": "string",
- "timestamp_start": 0,
- "timestamp_end": 0
}
]
Retrieve all jackpot templates from the database
owner_id required | string Owner ID to filter by |
id required | string Template ID to filter by |
name required | string Name to filter by |
published required | string Filter by published status |
sort_field required | string Field to sort on |
sort_direction required | integer <int32> Direction to sort in (1 = ASC, -1 = DESC) |
page required | integer <int32> Page to retrieve |
limit required | integer <int32> Number of items to retrieve |
[- {
- "id": "string",
- "name": "string",
- "description": "string",
- "owner_id": "string",
- "currency": "string",
- "contribution_rules": {
- "opt_in_required": true,
- "contribution_type": {
- "Fixed": 0.1
}, - "contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "max_contribution": {
- "max_contribution_value": "string",
- "max_contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "include_base_wager": true
}, - "operator_contribution_percentage": "string",
- "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "allowed_brands": [
- "string"
], - "country_filters": {
- "black_list": [
- "string"
], - "white_list": [
- "string"
]
}
}, - "house_hold_contribution": {
- "Fixed": 0.1
}, - "diversion_rules": {
- "target": {
- "External": {
- "endpoint": "string",
- "account_id": "string"
}
}, - "diversion_percentage": "string",
- "flush_threshold": "string"
}, - "jackpot_type": "Jackpot",
- "raffle_rules": {
- "cost_per_ticket": "string",
- "cost_source": "Contribution",
- "allocation_mode": "Instant",
- "duration": {
- "Seconds": 0
}, - "prize_distribution": [
- {
- "prize_percentage": "string",
- "number_of_winners": 0
}
]
}, - "probability_factor": 0,
- "pots": [
- {
- "id": "string",
- "contribution": {
- "Fixed": 0.1
}, - "payout_ruleset": {
- "main_winner_percentage": 0.1,
- "admin_fee": 0.1,
- "payout_rules": [
- {
- "payout_percentage": 0.1,
- "rule": {
- "ActivePlayers": {
- "period_before_win": 0,
- "max_number_of_payouts": 0
}
}
}
]
}, - "seed_contribution": {
- "Fixed": 0.1
}, - "seed_strategy": {
- "initial_seed_value": 0.1,
- "min_reseed_value": 0.1,
- "fund_strategy": "CollectToMinReseed",
- "reseed_strategy": "Full"
}, - "win_constraints": [
- {
- "AllowedSeedDeficit": "string"
}
], - "max_instantiation_count": 0,
- "is_progressive": true,
- "supports_external_trigger": true,
- "pot_types": [
- {
- "TimeFixed": {
- "target_datetime": 0,
- "repeat_period": {
- "Seconds": 0
}
}
}
], - "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "max_pot_value": "string"
}
], - "win_selector_strategy": "Lowest",
- "reference_count": 0,
- "published": true
}
]
Save or update a jackpot template in the database
id | string The jackpot template ID |
name required | string The human readable name of the template |
description | string or null An optional description for the jackpot template |
owner_id required | string An operator:[brand] identifier for the jackpot template If set, this template is considered to be owned by the specified operator or brand |
currency required | string The jackpot currency (ISO-4217). All contributions that are not of the jackpot currency will be converted to jackpot currency before being processed |
required | object (JackpotContributionRules) |
required | object or object (ContributionType) |
object or null | |
jackpot_type | string (JackpotType) Enum: "Jackpot" "Raffle" |
object or null | |
probability_factor | integer or null <int64> >= 0 The probability factor is used to determine the granularity of cost-per-attempt costing based on the original
pricing defined per pot. It has a default value of ExampleBase currency of EUR, with a minimum contribution value set to €0.10. If the factor is set to However, if the factor is set to a value of |
required | Array of objects (PotTemplate) The list of pots that will be created when the JackpotTemplate is instantiated |
win_selector_strategy | string or null Enum: "Lowest" "Highest" "None" This enum is used to define how a winning pot is selected in the case where multiplier Jackpot pots are tipped/triggered at the same time. |
reference_count | integer <int32> >= 0 A template is considered locked if a Jackpot instance exists that uses this template |
published | boolean Is template published. Only published templates can be instantiated. |
{- "id": "string",
- "name": "string",
- "description": "string",
- "owner_id": "string",
- "currency": "string",
- "contribution_rules": {
- "opt_in_required": true,
- "contribution_type": {
- "Fixed": 0.1
}, - "contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "max_contribution": {
- "max_contribution_value": "string",
- "max_contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "include_base_wager": true
}, - "operator_contribution_percentage": "string",
- "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "allowed_brands": [
- "string"
], - "country_filters": {
- "black_list": [
- "string"
], - "white_list": [
- "string"
]
}
}, - "house_hold_contribution": {
- "Fixed": 0.1
}, - "diversion_rules": {
- "target": {
- "External": {
- "endpoint": "string",
- "account_id": "string"
}
}, - "diversion_percentage": "string",
- "flush_threshold": "string"
}, - "jackpot_type": "Jackpot",
- "raffle_rules": {
- "cost_per_ticket": "string",
- "cost_source": "Contribution",
- "allocation_mode": "Instant",
- "duration": {
- "Seconds": 0
}, - "prize_distribution": [
- {
- "prize_percentage": "string",
- "number_of_winners": 0
}
]
}, - "probability_factor": 0,
- "pots": [
- {
- "id": "string",
- "contribution": {
- "Fixed": 0.1
}, - "payout_ruleset": {
- "main_winner_percentage": 0.1,
- "admin_fee": 0.1,
- "payout_rules": [
- {
- "payout_percentage": 0.1,
- "rule": {
- "ActivePlayers": {
- "period_before_win": 0,
- "max_number_of_payouts": 0
}
}
}
]
}, - "seed_contribution": {
- "Fixed": 0.1
}, - "seed_strategy": {
- "initial_seed_value": 0.1,
- "min_reseed_value": 0.1,
- "fund_strategy": "CollectToMinReseed",
- "reseed_strategy": "Full"
}, - "win_constraints": [
- {
- "AllowedSeedDeficit": "string"
}
], - "max_instantiation_count": 0,
- "is_progressive": true,
- "supports_external_trigger": true,
- "pot_types": [
- {
- "TimeFixed": {
- "target_datetime": 0,
- "repeat_period": {
- "Seconds": 0
}
}
}
], - "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "max_pot_value": "string"
}
], - "win_selector_strategy": "Lowest",
- "reference_count": 0,
- "published": true
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "owner_id": "string",
- "currency": "string",
- "contribution_rules": {
- "opt_in_required": true,
- "contribution_type": {
- "Fixed": 0.1
}, - "contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "max_contribution": {
- "max_contribution_value": "string",
- "max_contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "include_base_wager": true
}, - "operator_contribution_percentage": "string",
- "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "allowed_brands": [
- "string"
], - "country_filters": {
- "black_list": [
- "string"
], - "white_list": [
- "string"
]
}
}, - "house_hold_contribution": {
- "Fixed": 0.1
}, - "diversion_rules": {
- "target": {
- "External": {
- "endpoint": "string",
- "account_id": "string"
}
}, - "diversion_percentage": "string",
- "flush_threshold": "string"
}, - "jackpot_type": "Jackpot",
- "raffle_rules": {
- "cost_per_ticket": "string",
- "cost_source": "Contribution",
- "allocation_mode": "Instant",
- "duration": {
- "Seconds": 0
}, - "prize_distribution": [
- {
- "prize_percentage": "string",
- "number_of_winners": 0
}
]
}, - "probability_factor": 0,
- "pots": [
- {
- "id": "string",
- "contribution": {
- "Fixed": 0.1
}, - "payout_ruleset": {
- "main_winner_percentage": 0.1,
- "admin_fee": 0.1,
- "payout_rules": [
- {
- "payout_percentage": 0.1,
- "rule": {
- "ActivePlayers": {
- "period_before_win": 0,
- "max_number_of_payouts": 0
}
}
}
]
}, - "seed_contribution": {
- "Fixed": 0.1
}, - "seed_strategy": {
- "initial_seed_value": 0.1,
- "min_reseed_value": 0.1,
- "fund_strategy": "CollectToMinReseed",
- "reseed_strategy": "Full"
}, - "win_constraints": [
- {
- "AllowedSeedDeficit": "string"
}
], - "max_instantiation_count": 0,
- "is_progressive": true,
- "supports_external_trigger": true,
- "pot_types": [
- {
- "TimeFixed": {
- "target_datetime": 0,
- "repeat_period": {
- "Seconds": 0
}
}
}
], - "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "max_pot_value": "string"
}
], - "win_selector_strategy": "Lowest",
- "reference_count": 0,
- "published": true
}
Creates a new jackpot instance from a specific jackpot template
This effectively loads a JackpotTemplate
from the database and creates a Jackpot
from it
template_owner_id required | string |
template_id required | string |
instance_owner_id required | string |
instance_name required | string The name of the jackpot instance |
instance_game_code | string or null If specified, this will be the "source_id" that is used in transactions to identify the jackpot |
instance_desc | string or null An optional description of the Jackpot Instance |
object or null |
{- "template_owner_id": "string",
- "template_id": "string",
- "instance_owner_id": "string",
- "instance_name": "string",
- "instance_game_code": "string",
- "instance_desc": "string",
- "schedule": {
- "timestamp_start": 0,
- "timestamp_end": 0,
- "recurrence_rules": [
- {
- "frequency": {
- "Daily": {
- "hours": [
- [
- {
- "hour": 0,
- "minute": 0,
- "sec": 0
}, - {
- "hour": 0,
- "minute": 0,
- "sec": 0
}
]
]
}
}, - "interval": 0
}
]
}
}
{- "id": "string",
- "game_code": "string",
- "template_id": "string",
- "status": "Pending",
- "name": "string",
- "description": "string",
- "owner_id": "string",
- "version": 0,
- "currency": "string",
- "contribution_rules": {
- "opt_in_required": true,
- "contribution_type": {
- "Fixed": 0.1
}, - "contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "max_contribution": {
- "max_contribution_value": "string",
- "max_contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "include_base_wager": true
}, - "operator_contribution_percentage": "string",
- "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "allowed_brands": [
- "string"
], - "country_filters": {
- "black_list": [
- "string"
], - "white_list": [
- "string"
]
}
}, - "house_pot": {
- "contribution_type": {
- "Fixed": 0.1
}, - "timestamp_created": 0,
- "current_value": 0.1,
- "accumulated_seed_deficit": 0.1,
- "total_contributions": 0,
- "diversion_rules": {
- "target": {
- "External": {
- "endpoint": "string",
- "account_id": "string"
}
}, - "diversion_percentage": "string",
- "flush_threshold": "string"
}, - "diversion_pool": 0.1
}, - "jackpot_type": "Jackpot",
- "raffle_rules": {
- "cost_per_ticket": "string",
- "cost_source": "Contribution",
- "allocation_mode": "Instant",
- "duration": {
- "Seconds": 0
}, - "prize_distribution": [
- {
- "prize_percentage": "string",
- "number_of_winners": 0
}
]
}, - "pots": [
- {
- "id": "string",
- "enabled": true,
- "contribution": {
- "Fixed": 0.1
}, - "payout_ruleset": {
- "main_winner_percentage": 0.1,
- "admin_fee": 0.1,
- "payout_rules": [
- {
- "payout_percentage": 0.1,
- "rule": {
- "ActivePlayers": {
- "period_before_win": 0,
- "max_number_of_payouts": 0
}
}
}
]
}, - "seed_contribution": {
- "Fixed": 0.1
}, - "seed_strategy": {
- "initial_seed_value": 0.1,
- "min_reseed_value": 0.1,
- "fund_strategy": "CollectToMinReseed",
- "reseed_strategy": "Full"
}, - "win_constraints": [
- {
- "AllowedSeedDeficit": "string"
}
], - "instance_count": 0,
- "timestamp_created": 0,
- "supports_external_trigger": true,
- "is_progressive": true,
- "surplus_seed": 0.1,
- "contributed_amount": 0.1,
- "contributed_seed": 0.1,
- "seed_value": 0.1,
- "current_value": 0.1,
- "pot_types": [
- {
- "Time": {
- "start_time": 0,
- "end_time": 0
}
}
], - "criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "maximum_pot_value": "string",
- "overflow_amount": 0.1,
- "total_contributions": 0
}
], - "win_selector_strategy": "Lowest",
- "total_contributions": 0,
- "created": 0,
- "timestamp_start": 0,
- "timestamp_end": 0,
- "last_updated": 0
}
Publish or withdraw JackpotTemplate
owner_id required | string The owner_id of the template that should be (un)published |
template_id required | string The ID of the template that should be published or (un)published |
publish | boolean or null Optional flag to indicate whether the template should be published or unpublished.
If the value is |
{- "owner_id": "string",
- "template_id": "string",
- "publish": true
}
null
Calculates the minimum required contribution for the provided JackpotTemplate
template_id required | string The template ID to load |
id | string The jackpot template ID |
name required | string The human readable name of the template |
description | string or null An optional description for the jackpot template |
owner_id required | string An operator:[brand] identifier for the jackpot template If set, this template is considered to be owned by the specified operator or brand |
currency required | string The jackpot currency (ISO-4217). All contributions that are not of the jackpot currency will be converted to jackpot currency before being processed |
required | object (JackpotContributionRules) |
required | object or object (ContributionType) |
object or null | |
jackpot_type | string (JackpotType) Enum: "Jackpot" "Raffle" |
object or null | |
probability_factor | integer or null <int64> >= 0 The probability factor is used to determine the granularity of cost-per-attempt costing based on the original
pricing defined per pot. It has a default value of ExampleBase currency of EUR, with a minimum contribution value set to €0.10. If the factor is set to However, if the factor is set to a value of |
required | Array of objects (PotTemplate) The list of pots that will be created when the JackpotTemplate is instantiated |
win_selector_strategy | string or null Enum: "Lowest" "Highest" "None" This enum is used to define how a winning pot is selected in the case where multiplier Jackpot pots are tipped/triggered at the same time. |
reference_count | integer <int32> >= 0 A template is considered locked if a Jackpot instance exists that uses this template |
published | boolean Is template published. Only published templates can be instantiated. |
{- "id": "string",
- "name": "string",
- "description": "string",
- "owner_id": "string",
- "currency": "string",
- "contribution_rules": {
- "opt_in_required": true,
- "contribution_type": {
- "Fixed": 0.1
}, - "contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "max_contribution": {
- "max_contribution_value": "string",
- "max_contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "include_base_wager": true
}, - "operator_contribution_percentage": "string",
- "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "allowed_brands": [
- "string"
], - "country_filters": {
- "black_list": [
- "string"
], - "white_list": [
- "string"
]
}
}, - "house_hold_contribution": {
- "Fixed": 0.1
}, - "diversion_rules": {
- "target": {
- "External": {
- "endpoint": "string",
- "account_id": "string"
}
}, - "diversion_percentage": "string",
- "flush_threshold": "string"
}, - "jackpot_type": "Jackpot",
- "raffle_rules": {
- "cost_per_ticket": "string",
- "cost_source": "Contribution",
- "allocation_mode": "Instant",
- "duration": {
- "Seconds": 0
}, - "prize_distribution": [
- {
- "prize_percentage": "string",
- "number_of_winners": 0
}
]
}, - "probability_factor": 0,
- "pots": [
- {
- "id": "string",
- "contribution": {
- "Fixed": 0.1
}, - "payout_ruleset": {
- "main_winner_percentage": 0.1,
- "admin_fee": 0.1,
- "payout_rules": [
- {
- "payout_percentage": 0.1,
- "rule": {
- "ActivePlayers": {
- "period_before_win": 0,
- "max_number_of_payouts": 0
}
}
}
]
}, - "seed_contribution": {
- "Fixed": 0.1
}, - "seed_strategy": {
- "initial_seed_value": 0.1,
- "min_reseed_value": 0.1,
- "fund_strategy": "CollectToMinReseed",
- "reseed_strategy": "Full"
}, - "win_constraints": [
- {
- "AllowedSeedDeficit": "string"
}
], - "max_instantiation_count": 0,
- "is_progressive": true,
- "supports_external_trigger": true,
- "pot_types": [
- {
- "TimeFixed": {
- "target_datetime": 0,
- "repeat_period": {
- "Seconds": 0
}
}
}
], - "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "max_pot_value": "string"
}
], - "win_selector_strategy": "Lowest",
- "reference_count": 0,
- "published": true
}
[- {
- "currency": "string",
- "value": 0.1
}
]
Load a specific JackpotTemplate
from the database
template_id required | string or null The template ID to load |
{- "id": "string",
- "name": "string",
- "description": "string",
- "owner_id": "string",
- "currency": "string",
- "contribution_rules": {
- "opt_in_required": true,
- "contribution_type": {
- "Fixed": 0.1
}, - "contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "max_contribution": {
- "max_contribution_value": "string",
- "max_contribution_values_alt": [
- {
- "currency": "string",
- "value": 0.1
}
], - "include_base_wager": true
}, - "operator_contribution_percentage": "string",
- "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "allowed_brands": [
- "string"
], - "country_filters": {
- "black_list": [
- "string"
], - "white_list": [
- "string"
]
}
}, - "house_hold_contribution": {
- "Fixed": 0.1
}, - "diversion_rules": {
- "target": {
- "External": {
- "endpoint": "string",
- "account_id": "string"
}
}, - "diversion_percentage": "string",
- "flush_threshold": "string"
}, - "jackpot_type": "Jackpot",
- "raffle_rules": {
- "cost_per_ticket": "string",
- "cost_source": "Contribution",
- "allocation_mode": "Instant",
- "duration": {
- "Seconds": 0
}, - "prize_distribution": [
- {
- "prize_percentage": "string",
- "number_of_winners": 0
}
]
}, - "probability_factor": 0,
- "pots": [
- {
- "id": "string",
- "contribution": {
- "Fixed": 0.1
}, - "payout_ruleset": {
- "main_winner_percentage": 0.1,
- "admin_fee": 0.1,
- "payout_rules": [
- {
- "payout_percentage": 0.1,
- "rule": {
- "ActivePlayers": {
- "period_before_win": 0,
- "max_number_of_payouts": 0
}
}
}
]
}, - "seed_contribution": {
- "Fixed": 0.1
}, - "seed_strategy": {
- "initial_seed_value": 0.1,
- "min_reseed_value": 0.1,
- "fund_strategy": "CollectToMinReseed",
- "reseed_strategy": "Full"
}, - "win_constraints": [
- {
- "AllowedSeedDeficit": "string"
}
], - "max_instantiation_count": 0,
- "is_progressive": true,
- "supports_external_trigger": true,
- "pot_types": [
- {
- "TimeFixed": {
- "target_datetime": 0,
- "repeat_period": {
- "Seconds": 0
}
}
}
], - "wager_criteria": {
- "min_base_wager": 0,
- "min_contribution": 0
}, - "max_pot_value": "string"
}
], - "win_selector_strategy": "Lowest",
- "reference_count": 0,
- "published": true
}
Sets linked jackpots for the current instance
instance_id required | string Jackpot instance identifier |
linked_instances required | Array of strings Identifiers of the jackpot instances that are to be linked |
{- "linked_instances": [
- "string"
]
}
{- "instance_id": "string",
- "linked_instances": [
- "string"
]
}
Contribute to Jackpot V2
Performs a player contribution to a specific jackpot or a jackpot bound to a source as well as all instances that are linked to it.
If options.callback
is specified, then the contribution is performed asynchronously and this method
will respond immediately with either an empty 200 OK
or a related error message
required | object (ContributionTarget) |
required | object (SourceOfContribution) |
operator_id required | string The operator ID that the player/contribution originates from |
required | object (PlayerRecord) |
required | object (CurrencyValue) |
metadata | any or null Opaque data object that contains pass-through data for the caller. The content of this property will be sent back on the JackpotContributionResponse to this request. |
event_metadata | any or null Opaque data object that contains pass-through data for the caller. The content of this property will be attached to any resulting events. ( win events at that stage ) |
object (JackpotContributionRequestV2Options) |
{- "target": {
- "id": "string",
- "type": "instance"
}, - "source": {
- "id": "string",
- "type": "gameround"
}, - "operator_id": "string",
- "player": {
- "id": "string",
- "token": "string",
- "country": "string",
- "brand_id": "string",
- "segments": [
- "string"
]
}, - "base_wager": {
- "currency": "string",
- "value": 0.1
}, - "metadata": null,
- "event_metadata": null,
- "options": {
- "vertical_id": "string",
- "allow_linked_contributions": true,
- "callback": {
- "win_result_only": true,
- "web_hook": "string"
}, - "idempotency_key": "string"
}
}
[- {
- "instance_id": "string",
- "timestamp": 0,
- "gameround_id": "string",
- "win_amount": 0.1,
- "win_pot_id": "string",
- "tickets_awarded": 0,
- "win_withheld": true,
- "contribution_currency": "string",
- "contribution_amount": 0.1,
- "metadata": null
}
]
Opt-in V2 Opt a player in or out of a specific jackpot instance or one bound to a source. Allows linked opt-ins.
required | object (ContributionTarget) |
operator_id required | string The operator ID that the player/request originates from |
required | object (PlayerRecordOptInOut) |
object (ContributionPreference) | |
opt_in required | boolean Flag indicating whether the player is opting in or out of the jackpot contributions |
opt_linked | boolean [Optional] Indicates whether optin / optout should be applied to linked jackpots as well Preferred contribution value is not applied to linked jackpots, instead default is used |
{- "target": {
- "id": "string",
- "type": "instance"
}, - "operator_id": "string",
- "player": {
- "id": "string",
- "country": "string",
- "brand_id": "string",
- "segments": [
- "string"
]
}, - "contribution_preference": {
- "currency": "string",
- "value": 0.1
}, - "opt_in": true,
- "opt_linked": true
}
{- "success": [
- "string"
], - "failed": [
- "string"
]
}