Balance

Retrieve tenant balance

get

Retrieve tenant's balance.

Authorizations
Responses
curl -L \
  --url 'https://HOSTNAME:8887/api/tenant/balance' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "balance": 1
}

Recharge the tenant

post

Recharge into the tenant's account.

Authorizations
Body
balancenumber · doubleoptional

User balance. Precision is five digits.

Responses
curl -L \
  --request POST \
  --url 'https://HOSTNAME:8887/api/tenant/balance' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "balance": 1
  }'

No body

Was this helpful?