Appearance
Login POST
This api is use for enter to the game.
Authorization
Seamless uses Basic Authentication with your agent credentials. (Authentication)
HTTP Request
POST {{ API_URL }}/seamless/logInContent Type
Type: application/json
Parameter Description
| Property | Type | Required | Description |
|---|---|---|---|
username | string | Required | Member username |
productId | string | Required | Product ID (Ref. Product List)) (Example : SEXY) |
gameCode | string | Required | Game code of product (Example : BAC) |
isMobileLogin | boolean | Required | Mobile Mode (Example : true) |
limit | number | Optional | Player's bet limits [Betlimit List] (#get-betlimitsv2) |
sessionToken | string | Required | SessionToken generate by Operator. Note: In some products, provider didn't support the same token when player had login many times. So, please try to change the sessionToken regulary, if you found an error abnormally. Note: Some products has a maximum length of sessionToken if you found some callback remove your sessionToken length or sent to your system with some part of your provided sessionToken, please try to reduce sessionToken length. |
currency | string | Optional | Login currency, please specify if you need to select the currency (Default value based on agent) |
language | string | Optional | Language Code default th Language List (Example : th) |
callbackUrl | string | Optional | Exit url, url that you need to redirect if player quit the game from Game GUI. |
betLimit | any[] | Optional | Values are depended on productId, please refer to each product in callbacks section for more details |
Request Body
json
{
"username": "test00001",
"productId": "PRETTY",
"gameCode": "BAC",
"isMobileLogin": true,
"limit": 1
"sessionToken": "d4be70d1-349f-4fc1-a955-35d2a4bff244",
"betLimit": []
}JSON response example:
json
{
"reqId": "5557191a-4421-4753-a757-8ca7b45828dc",
"code": 0,
"message": "Success",
"data": {
"url": "https://test.ambsuperapi.com/seamless/directLogin?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkGOsdNc5bUOJGom4CsnBbR3JC6lHUZUMl9TRUFNTEVTUy9USEIiLCJ0eXBlIjoiUEdTT0ZUMiIsImNhbGxiYWNrVXJsIjoiaHR0cHM6Ly9hcmVhNTIuYW1ic3VwZXJhcGkuY29tL3Rlc3RTZWFtbGVzc0NvbW1vbiJ9XSwid2FsbGV0VHlwZSI6InNlYW1sZXNzIiwiY3VycmVuY3kiOiJUSEIifSwicmVxdWVzdElkIjoiMTQ5ODYzNzAtYTY3Zi00ZGY1LTk1MDUtZDA0YWY3YzliNWNiIiwiaWF0IjoxNzMwMjYxMzk4fQ.VEpqPoRwwm7SJP08gwlUTAjow-x2VuiiAbPOCap4kNc"
}
}