Game List
This is an API endpoint for retrieving a list of games associated with a specific provider.
Endpoint
POST
https://{API_ENDPOINT}
Request Body
{
"method": "game_list",
"agent_code": "testAgent",
"agent_token": "41f5cc794aef2b138c715cf25f767cc1"
"provider_code": "PRAGMATIC"
}
Key
Type
Description
method
string
The method type (game_list
)
agent_code
string
The agent's code
agent_token
string
The agent's authentication token
provider_code
string
Provider code
Success Response Example
{
"status": 1,
"msg": "SUCCESS",
"games": [
{
"game_code": "vs20doghouse",
"game_name": "The Dog House",
"banner": "https://.../vs20doghouse.png",
"status": 1
},
{
"game_code": "vs243mwarrior",
"game_name": "Monkey Warrior",
"banner": "https://.../vs243mwarrior.png",
"status": 0
}
]
}
Key
Type
Description
status
integer (32bit)
1
– Success, 0
– Failure
msg
string
Response message
games
array
List of games
game_code
string
Unique code for the game
game_name
string
Game name
banner
string
URL of the game's banner image
status
integer (32bit)
1
– Open, 0
– Maintenance
Failure Response Example
{
"status": 0,
"msg": "INTERNAL_ERROR"
}
Key
Type
Description
status
integer (32bit)
0
– Failure
msg
string
Error message
Last updated