Appearance
Transfer-wallet call. Credit is moved onto a product, then a game URL is opened.
Authorization
Send Basic authentication on this call.
HTTP Request
Method and path below. {API_URL} is a host from the Authentication page. {YOUR_API_URL} is the operator callback host.
text
GET {API_URL}/games?productId={productId}Content Type
Use Content-Type: application/json.
Parameter Description
Field name, type, and whether the caller must send it.
| Property | Type | Required | Description |
|---|---|---|---|
productId | string | Required | Product id from the API reference. values include SEXY; see Product Lists |
json
{
"productId": "EXAMPLE"
}Response Description
Fields in a successful JSON body.
| Property | Type | Required | Description |
|---|---|---|---|
reqId | string | Required | Id for this response |
code | number | Required | Status code number. see Error message |
message | string | Required | Short status text |
data | GameData | Required | Payload object |
json
{
"reqId": "req-1",
"code": 0,
"message": "ok",
"data": {}
}Game Data
| Property | Type | Required | Description |
|---|---|---|---|
games | Game[] | Required | games |
Game
| Property | Type | Required | Description |
|---|---|---|---|
name | string | Required | name |
category | string | Required | category |
type | string | Required | type |
code | string | Required | Status code number |
img | string | Required | img |
rank | number | Required | rank |
providerCode | string | Optional | provider Code |
locale | Language Lists | Optional | locale |
Language Lists
| Property | Type | Required | Description |
|---|---|---|---|
TH | string | Optional | TH |
EN | string | Optional | EN |
CN | string | Optional | CN |
