- A game link is valid for 300 seconds. After that, it expires and can no longer be used.
- Members can play the game in a single window only.
- If app is Y, we remove the bet details button from the game. To view bet details, use Get bet record detail.
- Pass game ID 0 to get the game lobby link; otherwise pass the game ID.
Path
Headers
| Field | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Token we provide |
Request parameters
| Field | Type | Required | Signed | Description |
|---|---|---|---|---|
channelId | number | Yes | ✓ | Channel ID (use 1 if you have no channels) |
account | string | Yes | ✓ | Member account (allowed characters: a-z A-Z 0-9 _-) |
currency | string | Yes | ✓ | Currency (contact our business team) |
gameId | number | Yes | ✓ | Game ID (0: game lobby, other: game ID) |
gamePlat | string | Yes | ✓ | Platform the game opens on (web or mobile) |
app | string | Yes | ✓ | Opened from an app (Y: hide the game history feature, N: show it) |
lang | string | Yes | ✓ | Game language (contact our business team) |
clientIp | string | Yes | Player IP | |
url | string | No | Return URL (must start with http:// or https://) | |
muteMusic | boolean | No | Mute music (true: muted, false: not muted; defaults to false) | |
muteSound | boolean | No | Mute sound effects (true: muted, false: not muted; defaults to false) | |
sign | string | Yes | Signature. See Signature for how to generate it |
Response
Success (the HTTP status code is always 200; checkstatus.code for the result)
| Field | Type | Description |
|---|---|---|
data | object | |
data.url | string | Game link |
data.token | string | Game token for this session |
status | object | Response status. See Response format |
