...
For the REST endpoint (JSON)
If query is ok:
{
Code Block |
---|
{ "creditBalance": "100", |
"status": "0", |
} |
If query invalid:
Code Block |
---|
{ "status": <errorStatusCode>, } |
E.g. for invalid login/password it will return status: 3 meaning "Authentication failed"