Skip to content

Account Status

POST
/open/account/status

The Wallet Status API gives you the details about your wallet including Wallet balance and other configurations eg. Callback Url etc. Call it from your server with your username and private key.

history

Request History

Your request history will appear here.

Headers

X-API-USER stringrequired

This is your Moolre username.

X-API-KEY stringrequired

Your Private API Key. A public key is refused (AIN12), in this header or in X-API-PUBKEY.

Body Params

typerequired

ID of the account status function. Must be 1.

accountnumberrequired

Account number of the account/wallet you want to check.

Responses

RESPONSE BODY
statusinteger
codestring
messagestring
dataobject
balancedecimal
accountnamestring
activatedstring
Whether the wallet is activated.
  • 1Activated
  • 0Not activated
callbackstring
webhookinteger
webhook_urlstring
emailinteger
API Access not activated for this account.
A public key cannot read balances or statements. Send your username and private API key (X-API-USER and X-API-KEY) from your server.

Language

curl --request POST \     --url 'https://api.moolre.com/open/account/status' \     --header 'X-API-USER: Your Username' \     --header 'X-API-KEY: YOUR_API_KEY' \     --header 'Content-Type: application/json' \     --data '{  "type": 1,  "accountnumber": ""}'

Response

Body

{  "status": 1,  "code": "SW01",  "message": "Wallet Found",  "data": {    "balance": 10.67,    "accountname": "Zagey",    "activated": "1",    "callback": "https://moolre.requestcatcher.com/test",    "webhook": 0,    "webhook_url": "",    "email": 0  },  "go": null,  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}