Get account billing details
Returns the authenticated account’s complete billing summary, including its plan limits, current usage period, available wallet balance, and subscription state. Organization accounts use Driver Billing data. Unmigrated legacy accounts return their wallet balance with plan, period, and subscription set to null.
Authorizations
A workspace API key from Settings → API keys in the dashboard (https://app.driver.dev), sent as a bearer token.
Response
Complete billing details for the authenticated account.
WorkOS organization ID. Null for an unmigrated legacy account.
Billing account status. Legacy accounts return legacy.
Current plan, or null for an unmigrated legacy account.
Current usage period, or null for an unmigrated legacy account.
Current prepaid wallet balance.
Current subscription, or null when the account has no subscription.