logo
API REFERENCE

/v4/user/info

Get User Information

POST /v4/user/info

It returns the user information (name, balance amount, etc.).
If there is no user information, the code USER_NOT_FOUND is returned. If you try to search the user information of another agent, the code PERMISSION_ERROR is returned.

Headers

Name Value
Authorization Bearer <API_TOKEN>
Content-Type application/json
Accept application/json

Body

{
  "user_code": 3
}
NameTypeDescription
user_codeinteger(64bit)User's Code(Unique ID)

Response

{
  "code": 0,
  "message": "OK",
  "data": {
    "name": "test",
    "balance": 26500
  }
}
Key Type Description
code integer(32bit) Response Code
message string Response Message
name string User's Name
balance double User's Point

Last updated 1 year ago