Login
* Your can create , update member in this endpoint.
POST /v0.1/member/login
header (optional)
| Parameter | Type | Description |
|---|---|---|
token | String | token session |
Request
| Parameter | Type | Description |
|---|---|---|
username | String | Username of member |
nickname | String | The name is shown on the iframe |
lang | String | language ( th , en , cn , id , kh , la , mm , my , vn ) |
ptSport | ptSport | Single bet type’s configuration |
mixParlay | mixParlay | Parlay bet type’s configuration |
mixStep | mixStep | Step bet type’s configuration |
Sample request body
{
"username": "{username}",
"nickname": "{nickname}",
"lang": "{lang}",
"ptSport": ptSport,
"mixParlay": mixParlay,
"mixStep": mixStep
}
Response
header
| Parameter | Type | Description |
|---|---|---|
token | String | token session |
body
| Parameter | Type | Description |
|---|---|---|
url | String | Iframe URL |
Sample response body
{
"url": "https://{url}/?uuid=62f48ecdc524670c76c75215&lang=th"
}