Inquiry Game Format hp

API to check format player id. This format player id is used for hp field in topup

Path

MethodPath
POSTapi/game/format

Test Case

Use below test case in development environment only.

game_codeResponse MessageDescription
103SUCCESSuserid|zoneid
135SUCCESSuserid
140SUCCESSrolename|userid|zoneid
127SUCCESSuserid|serverId
142SUCCESSrolename|serverId
104INQUIRY NOT NEEDED
1234CODE NOT FOUND

Request Body

AttributesTypeDescriptionMandatory
usernameStringYour registered phone numberYes
game_codeStringGame Code. See here for game_code listYes
signStringSignature. Value: md5(username+api_key+game_code)Yes
{
  "username"   : "123123123",
  "game_code"  : "103",
  "sign"       : "148c711ac48519014d2c361b6ebb50c2"
}
<?xml version="1.0"?>
<mp>
  <username>123123123</username>
  <game_code>103</game_code>
  <sign>148c711ac48519014d2c361b6ebb50c2</sign>
</mp>

Response

AttributesTypeDescriptionMandatory
formatGameIdStringPlayer id formatYes
statusDoubleList of status
1:Success 2:Failed
Yes
messageStringMessageYes
rcStringResponse code. See response code listYes
{
  "data": {
    "formatGameId": "[userid]",
    "status": 1,
    "message": "SUCCESS",
    "rc": "00"
  }
}
<?xml version="1.0"?>
<mp>
  <formatGameId>[userid]</formatGameId>
  <status>1</status>
  <message>SUCCESS</message>
  <rc>00</rc>
</mp>

Live Testing

Request URL
https://prepaid.iak.dev/api/game/format
Request Method
Request Header
Content-Type: application/json
Body
Result