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 URL | https://api.hanzo.ai |
| Operations | 1 |
| Auth | Authorization: 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.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | ID is the settlement id from the URL — the deterministic keccak(from|nonce) key an x402 receipt is issued under (the `id |
How is this guide?