Retrieve tenant's balance.
OK
User balance. Precision is five digits.
const response = await fetch('http://127.0.0.1:8888/api/tenant/balance', { method: 'GET', headers: {}, }); const data = await response.json();
{ "balance": 0 }
Recharge into the tenant's account.
const response = await fetch('http://127.0.0.1:8888/api/tenant/balance', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();