text: import { axiosInstance as axios } from './requestInterceptor'
  import { TC_API_URL } from '../config/constants'
  
  /**
   * Get billing accounts based on project id
   *
   * @param {String} projectId Id of the project
   *
   * @returns {Promise<Object>} Billing accounts data
   */
  export function fetchBillingAccounts(projectId) {
    return axios.get(`${TC_API_URL}/v5/projects/${projectId}/billingAccounts`)
  }
  
  
  /**
   * Get billing account based on project id
   *
   * @param {String} projectId Id of the project
   *
   * @returns {Promise<Object>} Billing account data
   */
  export function fetchBillingAccount(projectId) {
    return axios.get(`${TC_API_URL}/v5/projects/${projectId}/billingAccount`)
  }
  