Hanzo

X402

Package x402 is pay-per-request over HTTP 402: quote a price, take the payment, serve the resource.

Package x402 is pay-per-request over HTTP 402: quote a price, take the payment, serve the resource.

Base URLhttps://api.hanzo.ai
Operations1
AuthAuthorization: Bearer $HANZO_API_KEY

x402

Settlement reads one x402 payment receipt by id.

GET /v1/x402/settlements/{id}

Settlement reads one x402 payment receipt by id.

It is scoped to the caller's PAYER org — the ledger that was debited — so one tenant can never read another's settlement, and an id that exists but belongs to somebody else is a 404 exactly like one that does not exist. A caller with no billable identity is refused outright.

ParameterInTypeRequiredDescription
idpathstringyesID is the settlement id from the URL — the deterministic keccak(from|nonce) key an x402 receipt is issued under (the `id

All Hanzo APIs · Interactive reference

How is this guide?

On this page