use super::SunoClient;
use super::types::BillingInfo;
use crate::errors::CliError;
impl SunoClient {
pub async fn billing_info(&self) -> Result<BillingInfo, CliError> {
let resp = self.get("/api/billing/info/").send().await?;
let resp = self.check_response(resp).await?;
Ok(resp.json().await?)
}
}