demo-game-v2
Get demo game URL V2
* Endpoint: /api/server/demoUrl
* Method: POST
* Request parameters:
| Field | Type | Required | Description |
|---|---|---|---|
| platType | string | Yes | Game platform. See the Game platform reference appendix. |
| playerId | string | Yes | Demo player account. |
| gameType | string | Yes | Game type: 1 live casino, 2 slots, 3 lottery, 4 sports, 5 esports, 6 fishing, 7 card games. |
| currency | string | Yes | Currency code, such as CNY, USD, HKD, or PHP. |
| lang | string | No | Game language. Defaults to Simplified Chinese. See the Game languages appendix. |
| gameCode | string | No | Specific game code. If omitted, the request opens the game lobby. See the Game codes appendix. |
| returnUrl | string | No | Redirect URL after exiting the game, for example /. |
| ingress | string | Yes | Terminal 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