User Tools

Site Tools


demo-game-v2

Get demo game URL V2

* Endpoint: /api/server/demoUrl

* Method: POST

* Request parameters:

FieldTypeRequiredDescription
platType string YesGame platform. See the Game platform reference appendix.
playerId stringYesDemo player account.
gameType string YesGame type: 1 live casino, 2 slots, 3 lottery, 4 sports, 5 esports, 6 fishing, 7 card games.
currencystringYesCurrency code, such as CNY, USD, HKD, or PHP.
lang stringNoGame language. Defaults to Simplified Chinese. See the Game languages appendix.
gameCodestringNoSpecific game code. If omitted, the request opens the game lobby. See the Game codes appendix.
returnUrlstringNoRedirect URL after exiting the game, for example /.
ingressstringYesTerminal type. device1 means desktop web, device2 means mobile web, and other terminal mappings are described in the Terminal type appendix.

* Response example:

{

"code": 10000, // Status code
"msg": "request succeeded", // Message
"data": { "url": "https://www.example.com" // Demo URL
}

}

demo-game-v2.txt · Last modified: 2022/11/03 21:07 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki