Balance
Retrieve tenant's balance.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
OK
application/json
4XX
Error
get
/tenant/balanceGET /api/tenant/balance HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"balance": 1
}Recharge into the tenant's account.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
balancenumber · doubleOptional
User balance. Precision is five digits.
Responses
200
OK
No content
4XX
Error
post
/tenant/balancePOST /api/tenant/balance HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"balance": 1
}No content