It is the function to request the login token. If the username doesn’t exist, it will be created automatically.
ParametersName | Description | Type and Limit | Required? |
---|---|---|---|
method | Must be “LoginRequest” | String (32) | Y |
Key | Secret key | String (32) | Y |
Time | Current time in “yyyyMMddHHmmss” format | DateTime | Y |
Username | Username | String (28) | Y |
CurrencyType | Currency: USD Refer to Supported currencies | String (16) | Y |
GameCode | (Optional) Without GameCode will return a GameURL to enter "Game Lobby" With GameCode will reuturn a GameURL to directly enter "Slot Game", "Table Game" or "Fishing Game" Game code string, refer to Game code section | String (16) | N |
Lang | Language code | String | N |
Mobile | Mobile version 1 - Enable mobile 0 - Disable mobile | Bool | N |
Code | Description |
---|---|
zh_TW | Traditional Chinese |
zh_CN | Simplified Chinese |
en_US | English |
th | Thai |
vn | Vietnamese |
jp | Japanese |
id | Bahasa Indonesia |
it | Italiano* |
ms | Malay* |
es | Spanish* |
* Only support Fishermen Gold.
ResultName | Description | Type and Limit | Required? |
---|---|---|---|
Token# | Token for login | String | Y |
DisplayName* | Internal assigned username | String (32) | Y |
GameURL | Complete URL to launch "Game Lobby", "Slot Game", "Table Game" or "Fishing Game". Follow the different instruction to launch the games: Game Lobby Slot Game Table Game Fishing Game | String | N |
ErrorMsgId | Error message: 0: Success 129: System under maintenance 130: User account is locked (disabled) 133: Create user failed 134: Game code not found 135: Game access denied | Byte | Y |
ErrorMsg | Error message detail | String | Y |
# If login request failed, there is no Token node in the response.
* All username will be added a suffix @xxx. The DisplayName will be the actual username in our database.