Skip to main content
GET
/
v0
/
billing
/
account-info
curl --request GET \
  --url 'https://api.unify.ai/v0/billing/account-info' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "billing_account_id": "integer",
    "credits": "number",
    "account_status": "string",
    "last_recharge_at": "string | null",
    "autorecharge": "boolean",
    "autorecharge_threshold": "number",
    "autorecharge_qty": "number"
}
Return billing account information for the authenticated user / org. The response includes credit balance, Stripe customer status, account status, and auto-recharge settings. Context (personal vs org) is derived from the API key.

Authorizations

Authorization
string
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
curl --request GET \
  --url 'https://api.unify.ai/v0/billing/account-info' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "billing_account_id": "integer",
    "credits": "number",
    "account_status": "string",
    "last_recharge_at": "string | null",
    "autorecharge": "boolean",
    "autorecharge_threshold": "number",
    "autorecharge_qty": "number"
}