Balance

Retrieve tenant balance

get

Retrieve tenant's balance.

Authorizations
Responses
200
OK
application/json
get
GET /api/tenant/balance HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "balance": 1
}

Recharge the tenant

post

Recharge into the tenant's account.

Authorizations
Body
balancenumber · doubleOptional

User balance. Precision is five digits.

Responses
200
OK
post
POST /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