Hanzo
OpenapiTreasury

Returns the reserve fund's health and the current revenue-share policy for any…

Returns the reserve fund's health and the current revenue-share policy for any validated caller.

GET /v1/treasury

Addresshttps://api.hanzo.ai/v1/treasury
MethodGET
Operationget_treasury
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the reserve fund's health and the current revenue-share policy for any validated caller. It is a TRANSPARENCY view — a partner or author can see that the pool backing their payouts is solvent — and NOT per-org money, which is the customer's own commerce balance at /v1/billing/balance. The policy is read-only here; only a SuperAdmin sets it.

Request

GET /v1/treasury takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200TreasuryReportok

200 body — 9 fields.

FieldInTypeAlwaysDescription
accruedCentsbodyintegerlifetime revenue-share into the fund
byProgramCentsbodyobjectprogram → lifetime paid
byProgramCents.*bodyinteger
paidCentsbodyintegerlifetime backed payouts out of the fund
policybodySharePolicy
policy.revenueShareBpsbodyinteger
policy.updatedAtbodyinteger
reserveCentsbodyintegerfund:reserve balance (available now)
solventForPayoutbodybooleanreserve > 0: at least some payout is backable

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Treasury API · All Hanzo APIs · Interactive reference

How is this guide?

On this page