Skip to Content
5. Common API5.3 Portal5.3.2 Launch direct game

Launch direct game

NameValue
API URL{API_URL}/game/portal/createGameURL
MethodPOST
HTTP Response status200

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 } }
FieldTypeRequiredDescription
usernameStringUsername must be minimun 3 character and not over than 20 character
languageStringGame language 6.2 Game language
provider_codeStringGame provider code 5.2.1 Get game providers result.data.code
game_codeStringGame code 5.2.2 Get games via result.data.code
mobile_modeBooleanMobile mode
betlimitsArray of numberBetlimit (Casino) 5.2.2 Get betlimit via result.data.id
client_ipStringPlayer IP
redirect_urlStringRedirect URL of player completed or need back to site page
configObjectGame config
config.forhidden_gamesArray of stringWhich game need to block (Game code) 5.2.2 Get games via result.data.code
config.feature_buyBooleanEnable / Disable feature buy (Slot)

Response body

{ "code": 0, "message": "Success.", "timestamp": 1738062549590, "result": { "url": "https://example.com/game/?sid=1234" } }
FieldTypeDescription
result.urlStringGame launch URL
Last updated on