Hanzo AI
OpenapiBilling

List breakdown

Answers that same spendable credit split by grant tag, with the earliest expiry under each and the total across all of them.

GET /v1/billing/credit-balance/breakdown

Addresshttps://api.hanzo.ai/v1/billing/credit-balance/breakdown
MethodGET
Operationget_billing_credit-balance_breakdown
AuthAuthorization: Bearer $HANZO_API_KEY

Answers that same spendable credit split by grant tag, with the earliest expiry under each and the total across all of them.

The split is the point: it is how trial credit is told apart from bought credit, which is what a surface asks before it decides whether to spend any. An unregistered address answers 404 and a caller reads that as "no credit", so this being served is the difference between a customer with a trial grant being offered their trial and being told they have none.

A named handler, not a closure, so zipdoc can lift this prose into the registry.

Request

GET /v1/billing/credit-balance/breakdown takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200ok

200 body — 1 field.

FieldInTypeAlwaysDescription
(body)bodyanyyes

Failure carries the platform error shape — see Errors.

Examples

hanzo billing credit-balance breakdown

Billing API · All Hanzo APIs · Interactive reference

How is this guide?

On this page