Get balance
GET
/balance
const url = 'https://api.mixen.ai/v1/balance';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.mixen.ai/v1/balance \ --header 'Authorization: Bearer <token>'Available balance of the account that owns this API key, in rubles. The same balance is shared by the Telegram bot, the web cabinet and the API. balance_rub is a string with two decimals — parse it as a decimal, not a float, to avoid losing sub-cent precision. Read-only: recharges go through the cabinet.
Authorizations
Заголовок раздела «Authorizations»Responses
Заголовок раздела «Responses»Successful Response
Media typeapplication/json
Examplegenerated
example