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
POST {API_URL}/free-gameSupported products
Product ids named for this call.
| Product ID | Product Name |
|---|---|
PGSOFT | PG Soft |
Content Type
Use Content-Type: application/json.
Request parameter description
Field name, type, and whether the caller must send it.
| Property | Type | Required | Description |
|---|---|---|---|
player_name | string | Required | player name |
free_game_name | string | Required | free game name |
expired_date | int | Required | expired date |
bet_amount | int | Required | bet amount |
game_count | int | Required | game count |
game_ids | string | Required | game ids |
productId | string | Required | Product id from the API reference. values include PGSOFT |
json
{
"player_name": "example",
"free_game_name": "example",
"expired_date": 0,
"bet_amount": "1.00",
"game_count": 0,
"game_ids": "example",
"productId": "EXAMPLE"
}Response parameter description
Field name, type, and whether the caller must send it.
| Property | Type | Required | Description |
|---|---|---|---|
reqId | string | Required | Id for this response |
code | number | Required | Status code number |
message | string | Required | Short status text |
data | object | Required | Payload object |
json
{
"reqId": "req-1",
"code": 0,
"message": "ok",
"data": {}
}Response data parameter description
Field name, type, and whether the caller must send it.
| Property | Type | Required | Description |
|---|---|---|---|
freeGameId | number | Required | free Game Id |
json
{
"freeGameId": 0
}