Skip to main content

Reward Configuration - Read All

This API allows merchants to retrieve all reward configurations that match the provided filters.

POST /api/v1/integration/reward-configurations/readAll

Request

Parameter NameData TypeDescriptionRequired/Optional
nameStringReward configuration nameOptional
statusStringReward configuration status [ACTIVE, INACTIVE]Optional
rewardTypeStringType of reward [FREE_BET]Optional
merchantIdUUIDMerchant IDRequired
timestampLongTimestamp in epoch millisecondsRequired
hashStringHash signature for request verification. The hash is an HMAC SHA256 checksum of the concatenated parameter values (merchantId and timestamp). These values are encoded in UTF-8 and passed to the calculateHmacSha256 method along with the secret key. This hash must match the one generated by the merchant using the same logic and the shared secret key provided by HPGames. HMAC SHA256 Code SnippetRequired

Request example:

{
"name": "Reward",
"status": "ACTIVE",
"rewardType": "FREE_BET",
"merchantId": "1387a6cc-3651-4473-ae52-e415caea3395",
"timestamp": 1754495931035,
"hash": "e93556d37a8c4eab7bda2d411322cdc4f0dc444c9101d9453a6635dfd8c73f7d"
}

Read All Reward Configuration Response

Parameter NameData TypeDescriptionRequired/Optional
idUUIDGenerated reward configuration IDRequired
nameStringReward configuration nameRequired
statusStringReward configuration status [ACTIVE, INACTIVE]Required
rewardTypeStringType of reward [FREE_BET]Required
numberOfFreeBetsIntegerNumber of free betsRequired
startDateInstantStart date in epoch millisecondsRequired
endDateInstantEnd date in epoch millisecondsRequired
durationIntegerDuration in minutesRequired
merchantIdUUIDMerchant IDRequired
gamesArrayList of game reward configurationsRequired
games[].idUUIDGenerated internal ID for the game reward configurationRequired
games[].gameIdIntegerGame ID associated with the rewardRequired
games[].betConstraintsObjectConstraints per currencyRequired
games[].betConstraints.CURRENCY.betAmountDecimalBet amount in CURRENCYRequired
games[].betConstraints.CURRENCY.maxWinPerBetDecimalMaximum win per bet in CURRENCYRequired

Response example:

[
{
"id": "7a899322-c001-4187-8a8b-26d51d0e08fd",
"name": "Name",
"status": "ACTIVE",
"rewardType": "FREE_BET",
"numberOfFreeBets": 2,
"startDate": 1.7545824437692666e9,
"endDate": 1.7545824437692666e9,
"duration": 10,
"merchantId": "1387a6cc-3651-4473-ae52-e415caea3395",
"games": [
{
"id": "f72cb8ef-10e6-4903-8735-369f6544a0a2",
"gameId": 1,
"betConstraints": {
"EUR": {
"betAmount": 10,
"maxWinPerBet": 1000
}
}
}
]
}
]