Billing
Retrieve details of tenant billing configurations.
Authorizations
Responses
200
OK
application/json
4XX
Error
get
GET /api/tenant/billing HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"enabled": false,
"account": "TENANT",
"type": "OFFLINE"
}
Update tenant billing configurations.
Authorizations
Body
enabledbooleanOptionalDefault:
Enable call billing or not.
false
accountstring · enumOptionalDefault:
The billing account:
Can be either:
TENANT
: Use company account for billing.USER
: Use private user account for billing.
TENANT
Possible values: typestring · enumOptionalDefault:
The billing type:
Can be either:
OFFLINE
: Use offline charging for billing.ONLINE
: Use online charging for billing.
OFFLINE
Possible values: Responses
200
OK
4XX
Error
post
POST /api/tenant/billing HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"enabled": false,
"account": "TENANT",
"type": "OFFLINE"
}
No content