Launch direct game
| Name | Value |
|---|---|
| API URL | {API_URL}/game/portal/createGameURL |
| Method | POST |
| HTTP Response status | 200 |
Request body
{
"username": "lnwbet888",
"redirect_url": "https://google.com",
"language": "th",
"mobile_mode": false,
"betlimits": [],
"client_ip": "127.0.0.1",
"provider_code": "amb_pgsoft",
"game_code": "bakery-bonanza",
"config": {
"feature_buy": true
}
}| Field | Type | Required | Description |
|---|---|---|---|
| username | String | ✅ | Username must be minimun 3 character and not over than 20 character |
| language | String | ✅ | Game language 6.2 Game language |
| provider_code | String | ✅ | Game provider code 5.2.1 Get game providers result.data.code |
| game_code | String | ✅ | Game code 5.2.2 Get games via result.data.code |
| mobile_mode | Boolean | ✅ | Mobile mode |
| betlimits | Array of number | ✅ | Betlimit (Casino) 5.2.2 Get betlimit via result.data.id |
| client_ip | String | ✅ | Player IP |
| redirect_url | String | ❌ | Redirect URL of player completed or need back to site page |
| config | Object | ❌ | Game config |
| config.forhidden_games | Array of string | ✅ | Which game need to block (Game code) 5.2.2 Get games via result.data.code |
| config.feature_buy | Boolean | ✅ | Enable / Disable feature buy (Slot) |
Response body
{
"code": 0,
"message": "Success.",
"timestamp": 1738062549590,
"result": {
"url": "https://example.com/game/?sid=1234"
}
}| Field | Type | Description |
|---|---|---|
| result.url | String | Game launch URL |
Last updated on