Get User Info
GET/account/info
Endpoint for getting user information.
Request
Responses
- 200
- 400
- 500
Successfully loaded user info.
- application/json
- Schema
- Example (from schema)
Schema
status object
message string
A message describing the status of the operation.
error_code integer
Http Error Code.
errors string[]
A list of error messages (empty for success).
name string
User's name.
email email
User's email.
credit_balance integer
User's credit balance (sum of free credit and main credit).
{
"status": {
"message": "Status Message",
"error_code": 200,
"errors": []
},
"name": "John Doe",
"email": "johndoe@example.com",
"credit_balance": 150
}
Failed to load user info.
- application/json
- Schema
- Example (from schema)
Schema
message string
A message describing the status of the operation.
error_code integer
Http Error Code.
errors string[]
A list of error messages (empty for success).
{
"message": "Status Message",
"error_code": 200,
"errors": []
}
Internal Server Error.
- application/json
- Schema
- Example (from schema)
Schema
message string
A message describing the status of the operation.
error_code integer
Http Error Code.
errors string[]
A list of error messages (empty for success).
{
"message": "Status Message",
"error_code": 200,
"errors": []
}
Loading...