Jackpot Freebets > Configuring Freebets > External Reward System
If you would like to use your own Reward System to manage the offering and awarding of Jackpot Freebets, you are able to do so if you implement an integration with a new endpoint to award freebets directly to players.
Using this mechanism, you are able to create freebets with dynamic values, based on your internal system calculations (for example) without needing to use the Freebet Templates and Freebet Instances that were discussed in the Thrillgate section.
To create a Freebet for one or more players directly (without using Freebet instances), you can use the following mechanism.
Please note that the
request_idfield is used for idempotency purposes and should always be unique for each distinct call to the endpoint.
- Endpoint: POST thrillgate/bonus/playerbonus/create
- Payload:
{
"request_id": "2",
"operator_id": "thrilltech",
"brand_id": "brand1",
"players": [
"player_id_token_00001",
"player_id_token_00002",
"player_id_token_00003",
"player_id_token_00004",
"player_id_token_00005",
"player_id_token_00006",
"player_id_token_00007",
"player_id_token_00008",
"player_id_token_00009",
"player_id_token_00010"
],
"bonus_name": "Dynamic Freebets 1",
"bonus": {
"type": "FixedFreeSpins",
"count": 15,
"currency": "EUR",
"value": 0.25
},
// "available_for": [
// {
// "provider_id": "thrilltech",
// "game_ids": []
// }
// ],
// "timestamp_bonus_expires": 0,
"promo_id": "jp_freebets_dynamic1"
}
In the above example, we are awarding the Dynamic Freebets 1 to 10 players. Each player will receive 15 freebets, with each freebet valued at €0.25.
If you wanted to put an expiry time for the bonus, you could do so by using the timestamp_bonus_expires field and set the timestamp (unix epoch in milliseconds) for the absolute time for when the bonus will expire.
If the request was successful, you will receive a response similar to the following:
[
{
"id": "61668185-d21f-4db1-9217-5181514b97a4",
"player_id": "player_id_token_00001",
"operator_id": "thrilltech",
"brand_id": "brand1",
"promo_id": "jp_freebets_dynamic1",
"bonus_instance_id": "DYNAMICALLY_CREATED_1753802620622",
"available_for": [],
"bonus_data": {
"Freespins": {
"id": "DYNAMICALLY_CREATED_1753802620622",
"name": "Dynamic Freebets 1",
"freespin_type": {
"type": "PlayerFixedFreeSpins",
"count": 15,
"used": 0,
"currency": "EUR",
"value": 0.25
}
}
},
"state": "Available",
"timestamp_bonus_awarded": 1753802620622,
"timestamp_bonus_expires": 0,
"timestamp_bonus_consumed": null
},
// ... additional eleemnts for every other player will follow here
]