---
title: "Retrieve tenant billing configurations."
method: GET
path: "/tenant/billing"
tags: ["Billing"]
---

# Retrieve tenant billing configurations.

`GET /tenant/billing`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/tenant/billing`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/tenant/billing/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve details of tenant billing configurations.

## Response `200`

OK

- object
  - `enabled` boolean: Enable call billing or not.
  - `account` 'TENANT' | 'USER': The billing account: Can be either: - `TENANT`: Use company account for billing. - `USER`: Use private user account for billing.
  - `type` 'OFFLINE' | 'ONLINE': The billing type: Can be either: - `OFFLINE`: Use offline charging for billing. - `ONLINE`: Use online charging for billing.

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
