/
Account Credit Balance

Account Credit Balance

Endpoint

 

  • REST (GET/POST): /services/rest/user/creditBalance?username=[]&password=[]

What information to return?

For the REST endpoint (JSON)

If query is ok:

{
    "creditBalance": "100",
    "status": "0",
}

 

If query invalid:

{
 "status": <errorStatusCode>,
}

E.g.  for invalid login/password it will return status: 3 meaning "Authentication failed"