Documentation
The product is the book — who paid which call; hold verify_url; export, policy, and evidence. Install paths are how agents reach the same stamped receipts: Install wires. No account. No API key. A wallet that can pay the 402 is enough. Register is only to hold the book after a collected receipt. Apache-2.0. Public beta at api.chit402.com. Paying it is mainnet USDC.
Chit's Broadcast receiver is on.
Steps from the Broadcast guide; we haven't yet run the full flow end to end on a fresh account.
Mint a book with POST /v1/openrouter/books. No wallet and no payment. The response returns book_id plus an ingest_key that is shown once.
In OpenRouter, enable Broadcast under Settings > Observability. Set the webhook URL to https://api.chit402.com/v1/openrouter/broadcast with header Authorization: Bearer <ingest_key>.
An optional key lets Chit check each generation against OpenRouter. Without an attached OpenRouter key they are marked "Reported via OpenRouter Broadcast (unverified)".
It covers new calls only, with no backfill of past calls.
Receipts are on the reported rail.
Reads are GET /v1/openrouter/books/:book_id/receipts, a JSON list of receipts. The cap is 200. Rows are not added to an agent's USDC spent total.
Collected vs client-attested, what a receipt proves, settled vs unsettled, daily anchors.
book
Stamp, Private Desk, and Private + Attest — book-first seats and what you hold after settle.
seats
Fastest receipt path — pay USDC, collect verify_url, start the book.
start
Paste a Base or Solana wallet. USDC out by counterparty, public receipt match, no signup. Incomplete scans show no total.
public
Draft v0. Specimen 1 and Specimen 2 are stamped listing payouts, with verify links.
draft
How to deploy the gateway, contracts, and prover.
ops
Possession book story — who paid which call, evidence, and policy.
story
Protocol design: settlement, proofs, circuits, governance.
v2.6
npx chit402-verify "https://api.chit402.com/receipt/xfuel-3155b7d8-4315-44bc-bfdc-bf6b78ff2d15".chit402.refusal.v1). chit402-verify 0.4.11 checks a signed refusal with npx chit402-verify and the refusal URL./preimage.vendor_blind for possession sessions — topology privacy, not prompt encryption.
product
Ledger escrow beside the book for high-value jobs. Settlement-tier escrow is paused while settlement proofs are unavailable.
book
Agent↔agent job_spec_hash flow on the book — open, fund, submit, release or challenge.
book
REST task submit, status, webhooks, quotes.
REST
Payment rail for the book — agent-side USDC on Base or Solana.
x402
Receipt for an x402 v2 call settled by Coinbase on Base. Evidence is foreign_ingest.
x402
Current ES256 key, issuer history, and chit402-verify.
trust
Recompute public receipt hashes and check the signed issuer key history.
verify
Exit codes and the reason anchors chit402-verify prints.
verify
Chat /v1 wire, Eliza, ACP, MCP, frameworks, Cloudflare, swarms — peers into the same book.
doors
Base verifier, gateway, manifests.
deploy
Contract matrix, gateway tests, zkLLM cargo tests.
755+
Public API at api.chit402.com.
api
Scope, safe harbour, and how findings are credited.
security
Trust ladder and settlement surfaces.
model
Unauthenticated POST /v1/chat/completions returns HTTP 402. Settle USDC, then retry with X-PAYMENT for a signed receipt with verify_url. Bring your OpenRouter key, get a Chit receipt for every call. Send it as X-OpenRouter-Key. Chit charges the $0.002 receipt and records the model that served plus the OpenRouter-reported cost, labelled paid-by-caller-to-OpenRouter.
Each signed receipt carries hub, model, amount, and verify_url. Each call is charged a quoted price and gets a receipt, paid in USDC on Base or Solana. GET|POST /v1/agents/:agent_id/book is possession-gated last-N collected spend. Tier-2 settlement proofs are off while we upgrade the proving system; standard $0.002 receipts are unaffected.
curl -sS -D - https://api.chit402.com/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{}'
# → HTTP 402 + PAYMENT-REQUIRED (USDC on Base or Solana)SDK (x402 payer):
npm install chit402-sdk
# client.chatCompletions({ model: 'xfuel/auto', messages: [...] })Lower-level M2M path: POST /task-request. Do not use createMockPayer against this host. Windows: curl.exe.