Skip to main content

Get Games

Retrieves a list of games available for a specific Merchant. The game list should be cached on the merchant side and refreshed periodically.

POST /api/v1/merchant-games/gameList


Request

ParameterTypeDescriptionRequired
merchantIdUUIDMerchant identifierYes
timestampLongUNIX timestamp in millisecondsYes
hashStringHMAC SHA256 signature used to verify the requestYes

Hash Fields

The following fields are included in the hash calculation, in the exact order:

  • merchantId
  • timestamp

For details on how the hash is generated, see the Hash Algorithm.

Example Request

{
"merchantId": "1387a6cc-3651-4473-ae52-e415caea3395",
"timestamp": 1709289932725,
"hash": "9ed3d547f9a672ecd4884304e859af84263410d613ff2a2bb7d70a8221d7e544"
}

Response

ParameterTypeDescription
idIntegerUnique game identifier
nameStringInternal game name
titleStringDisplay name of the game
descriptionStringGame description (HTML format)
statusStringGame status (ACTIVE, INACTIVE)
imageStringURL of the game image
typeStringGame type
subTypeStringGame subtype
stakeTypeStringDefines how the game stake is configured (e.g. chips, predefined stake steps)

Hash Fields

The following fields are included in the hash calculation, in the exact order:

  • timestamp

The games field is not included in the hash calculation.

For details on how the hash is generated, see the Hash Algorithm.

Example Response

{
"timestamp": 1709289932725,
"hash": "9ed3d547f9a672ecd4884304e859af84263410d613ff2a2bb7d70a8221d7e544",
"games": [
{
"id": 1,
"name": "Sky Adventure",
"title": "Sky Adventure",
"description": "<div>Embark on an exciting journey through the skies. Test your timing and strategy as you progress and collect rewards along the way.</div>",
"status": "ACTIVE",
"image": "https://cdn.example.com/images/game_1.jpg",
"type": "ARCADE",
"subType": "ARCADE",
"stakeType": "CHIPS"
}
]
}