// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation
import Get
import URLQueryEncoder

extension Paths.Billing {
    public var taxInfo: TaxInfo {
        TaxInfo(path: path + "/tax-info")
    }

    public struct TaxInfo {
        /// Path: `/api/billing/tax-info`
        public let path: String

        /// Get Tax Info
        ///
        /// Returns the tax rate that the user is subject to for Stripe subscriptions.
        /// Only works for users with active_subscription_platform = 'stripe' and active subscriptions.
        public var get: Request<GenAPI.TaxInfoSchemaResponse> {
            Request(path: path, method: "GET", id: "studio_api_bots_billing_api_get_tax_info")
        }
    }
}
