Autional Autional
API Reference GitHub autional.com →

GET /billing/credit-balance/{tenant_id}

Get the tenant's credit balance, sourced from refunds, prorated downgrades, promotional credits, etc. Credit balance can be used to offset future invoices.

Billing Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
tenant_id path string Yes Tenant ID

Responses

StatusDescriptionSchema
200Credit balance query successfuldto.CreditBalanceDetailResponse
400Invalid request parametersobject
401Unauthorizedobject
500Internal server errorobject

Referenced Schemas

dto.CreditBalanceDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.CreditBalanceResponse No
message string No
timestamp string No

dto.CreditBalanceResponse

FieldTypeRequiredExampleConstraintsDescription
balance number No 150
currency string No CNY
tenant_id string No tnt_xyz789
updated_at string No 2026-05-12T10:00:00Z