LoginRequest

It is the function to request the login token. If the username doesn’t exist, it will be created automatically.

Parameters
NameDescriptionType and LimitRequired?
methodMust be “LoginRequest”String (32)Y
KeySecret keyString (32)Y
TimeCurrent time in “yyyyMMddHHmmss” formatDateTimeY
UsernameUsernameString (28)Y
CurrencyTypeCurrency:
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
LangLanguage codeStringN
MobileMobile version
1 - Enable mobile
0 - Disable mobile
BoolN
Lang parameter
CodeDescription
zh_TWTraditional Chinese
zh_CNSimplified Chinese
en_USEnglish
thThai
vnVietnamese
jpJapanese
idBahasa Indonesia
itItaliano*
msMalay*
esSpanish*

* Only support Fishermen Gold.

Result
NameDescriptionType and LimitRequired?
Token#Token for loginStringY
DisplayName*Internal assigned usernameString (32)Y
GameURLComplete 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
StringN
ErrorMsgIdError 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
ByteY
ErrorMsgError message detailStringY

# 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.

Leave a Reply