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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Billing {
    public var addCredits: AddCredits {
        AddCredits(path: path + "/add-credits")
    }

    public struct AddCredits {
        /// Path: `/api/billing/add-credits`
        public let path: String

        /// Add Credits
        ///
        /// Add credits to a user account. Staff only.
        public func post(_ body: GenAPI.AddCreditsSpec) -> Request<GenAPI.AddCreditsResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_billing_api_add_credits")
        }
    }
}
