Account Status API

Check wallet balance and account status.

# Account Status API

Check wallet balance and status.

## Endpoint
- **Method**: POST
- **URL**: https://api.moolre.com/open/account/status

## Headers
| Header | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| X-API-USER | string | Yes | Your Moolre username. |
| X-API-KEY | string | Yes | Your Private API Key. |

## Request Body
| Parameter | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| type | integer | Yes | Must be 1. |
| accountnumber | string | Yes | Account number to check. |

## Response (200 Success)
Balance and status returned.

```json
{
  "status": 1,
  "code": "SW01",
  "message": "Wallet Found",
  "data": {
    "balance": 10.67,
    "accountname": "Zagey",
    "callback": "https://moolre.requestcatcher.com/test"
  },
  "go": null
}
```

## Response (200 (No transactions) No Transactions Found)
Known response returned when the account has no transaction history available to the status query.

```json
{
  "status": 1,
  "code": "ST09",
  "message": "Transactions not Found",
  "data": {
    "txcount": "0",
    "transactions": []
  },
  "go": null
}
```

## Response (401 Authentication Error)
API Access not activated.

```json
{
  "status": 0,
  "code": "AIN04",
  "message": "Authentication Error, API Access not activated.",
  "data": "all",
  "go": null
}
```

Back to the Moolre AI documentation index