# 3.4 Login request

Method : [Post]
Url : https://api-dev.prettygaming.asia/apiRoute/member/loginRequest
Headers : content-type application/json

# Request Body

Parameter Type Required Description
agentUsername String Yes Agent account , Account length is restricted to 36 chars at most
agentApiKey String Yes System generate key ID after crate Agent
playerUsername String Yes Player account , Account length is restricted to 36 chars at most
betLimit arrayNumber Yes betLimit can containt maximum 6 values depends on the currency. you can see the limits in this table: Currency / Bet Limit

# Example Request Body

{
  "agentUsername": "sb234567123",
  "agentApiKey": "33c0d59d-51b9-45e0-ba7f-4ca442cd8421",
  "playerUsername": "as001",
  "betLimit": [
    1001,
    1006,
    1012
  ]
}
1
2
3
4
5
6
7
8
9
10

# Response Body

Parameter Type Description
code Number Result Code Reference.
msg String
data Object Object response.
playerApiId String
playerApiUsername String Player username from Pretty Gaming system.
playerUsername String Player username from partner system.
tkUuid String Can use only 1 time. limit to 24 hours from generate time.
uriDesktop String Game link(Desktop version)
uriMobile String Game link(Mobile version)

# Response Code

Parameter Description
0 success
41001 Error Request body is not an object.
61001 IP address is not allowed.
71004 missing filed 'playerUsername'.
71005 playerUsername must be between 4 and 36 characters long.
71006 username must not contain any special characters and can only contain letters a-z and numbers 0-9.
71007 invalid bet limit id.

# Example Response Code

{
  "code": 0,
  "msg": "SUCCESS",
  "data": {
    "playerApiId": "5ebd1f57dc7cdc7900125a64",
    "playerApiUsername": "seamless@sb234567123",
    "playerUsername": "seamless",
    "tkUuid": "5ebd1f57dc7cdc7900125a65",
    "uriDesktop": "http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65",
    "uriMobile": "http://m.hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65"
  }
}
1
2
3
4
5
6
7
8
9
10
11
12

You can add a value (BAC, DRA, SIC, ROU, MUL, STEP, SED, FT, HILO) to the parameter in the of the link (&game=) to redirect players to the specific games

Download Icon (opens new window)

Name Value of parameter Image icon
Baccarat BAC
Dragon-Tiger DRA
Roulette ROU
SicBo SIC
Multi-Table MUL
Parlay STEP
Sedie SED
Fantan FT
Hilo HILO

Baccarat : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=BAC
Dragon-Tiger : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=DRA
Roulette : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=ROU
SicBo : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=SIC
Multi-Table : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=MUL
Parlay : https://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=STEP
Sedie : https://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=SED
Fantan : https://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=FT
Hilo : https://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=HILO
Direct Game Room : https://hippo168.com/?game=BAC&room=bac-1

# Language

Remark: please use exactly code with example.

Language Value of parameter
English EN
Thai TH
Chinese Mandarin CNM
Chinese Cantonese CNC
Korean KOR
Vietnam VT
Myanmar MY
Cambodia KM
Laos LO
Indonesia ID
Malaysia MS
Japanese JP

English : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=BAC&lang=EN
Thai : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=BAC&lang=TH
Chinese Mandarin : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=BAC&lang=CNM
Chinese Cantonese : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=BAC&lang=CNC
Korean : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=BAC&lang=KOR
Vietnam : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=BAC&lang=VT Myanmar : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=BAC&lang=MY
Cambodia : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=BAC&lang=KM
Laos : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=BAC&lang=LO
Indonesia : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=BAC&lang=ID
Malaysia : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=BAC&lang=MS
Japanese : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=BAC&lang=JP

Baccarat : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=BAC&url=input your link here(full link with https://
Dragon-Tiger : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=DRA&url=input your link here(full link with https://)
Roulette : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=ROU&url=input your link here(full link with https://)
SicBo : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=SIC&url=input your link here(full link with https://)
Multi-Table : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=MUL&url=input your link here(full link with https://)
Parlay : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=STEP&url=input your link here(full link with https://)
Sedie : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=SED&url=input your link here(full link with https://)
Fantan : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=FT&url=input your link here(full link with https://)
Hilo : http://hippo168.com/?tkuuid=5ebd1f57dc7cdc7900125a65&game=HILO&url=input your link here(full link with https://)