List Bill Sub-Categories
Get a list of bill subcategories from a bill category Terraswitch supports
POST {{BASE_URL}}/v1/corporate/bill-sub-categories
Body Parameters
Property
Data Type
Description
Example
Required
categoryId
string or number
The bill category id
4
Yes
import Axios from 'axios';
// set the api url
const API_URL = `${BASE_URL}/v1/corporate/bill-sub-categories`;
// make request using axios
Axios({
method: "GET",
url: `${API_URL}`,
headers: {
lg: 'en',
ch: 'web'
Authorization: `Bearer ${API_KEY}`,
'Content-Type': 'application/json',
}
}).then((resp) => {
console.log(resp)
}).catch((err) => {
console.log(err)
})
Last updated