/** * Spendable balance on the account this key bills. * * Sourced from the workspace wallet for a workspace-bound key, else the * caller's personal balance. While the segregated API wallet is enabled, both * key types instead read the API wallet that generation debits draw on (a * personal key resolves its bound workspace). * * Every amount is in US dollars. */ export interface BalanceResponse { /** Spendable balance. */ balance: number; /** Amount consumed in the current billing period; null for the non-expiring API wallet (see GET /v3/usage). */ spent?: (number | null) | undefined; /** ISO-4217 currency code for every amount in this response. */ currency: string; }