Account Balance
This endpoint allows you to retrieve the details of all wallets associated with a user, including a list of currencies and their corresponding amounts.
get
Header parameters
general_api_keystringRequired
Your General API Key for authentication and authorization.
Content-TypestringRequiredDefault:
application/json
Responses
200
Successful operation
application/json
get
import requests
url = 'https://api.oxapay.com/v1/general/account/balance'
headers = {
'general_api_key': 'YOUR_GENERAL_API_KEY',
'Content-Type': 'application/json'
}
response = requests.get(url, headers=headers)
result = response.json()
print(result)
200
Successful operation
{
"data": {
"BNB": 0,
"DGB": 0,
"XMR": 0,
"BTC": 0.35029492,
"ETH": 0,
"USDC": 0,
"POL": 0,
"SOL": 0,
"NOT": 0,
"SHIB": 0,
"TRX": 0,
"USDT": 1074682.71394,
"DOGS": 0,
"TON": 0,
"BCH": 0,
"DOGE": 0,
"LTC": 0
},
"message": "Operation completed successfully!",
"error": {},
"status": 200,
"version": "1.0.0"
}
Last updated