Check wallet balance and status.
POST https://api.moolre.com/open/account/status
To test in sandbox, use https://sandbox.moolre.com/open/account/status instead.
| Header Name | Type | Required | Description |
|---|---|---|---|
X-API-USER | string | Yes | Your Moolre username. |
X-API-KEY | string | Yes | Your API Key. (Not required in Sandbox) |
| Parameter | Type | Required | Description |
|---|---|---|---|
type | integer | Yes | Must be 1. |
accountnumber | string | Yes | Account number to check. |
Balance and status returned.
{
"status": 1,
"code": "SW01",
"message": "Wallet Found",
"data": {
"balance": 10.67,
"accountname": "Zagey",
"callback": "https://moolre.requestcatcher.com/test"
},
"go": null
}
API Access not activated.
{
"status": 0,
"code": "AIN04",
"message": "Authentication Error, API Access not activated.",
"data": "all",
"go": null
}