Paxiom
Paxiom · Receipt Specification & Verifier
Paxiom Receipts
Proof-bound receipts for x402-paid APIs.
Sheet PXM-RC-100· Spec: paxiom.receipt.v0· SDK: @paxiom/receipts@0.4.0· Open MIT Standard

x402 proves a payment. Paxiom proves what the payment bought.

Paxiom binds payment, request, JSON or binary payload digest, seller key identity, and settlement metadata into an Ed25519-signed Payment-Receipt header that agents and developers can verify offline — or counter-attest against live Base USDC settlement for free.

PAXIOM.RECEIPT.V0 (v0.4.0) · OPEN MIT STANDARD · FREE OFFLINE & PUBLIC LIVE VERIFIER

Why this exists

A payment response is not proof of delivery.

x402 makes paid HTTP resources effortless: an agent pays, the server answers. But a payment succeeding is not evidence of what was delivered. A buyer wallet, audit log, or downstream machine still needs to verify:

Instead of every x402 seller inventing an incompatible HMAC or signature header, paxiom.receipt.v0 defines one vendor-neutral Payment-Receipt format (with X-Paxiom-Receipt backward compatibility) and zero-dependency MIT tooling.

Capability matrix

Honest about what was checked — and what was only claimed.

Receipt v0.4.0 · Verification ModesOffline + Free Public Live Reference
Free Offline Verifier
  • JSON Schema & RFC 3339 timestamps
  • Ed25519 signature & keyId match
  • jcs-sha256 & raw-sha256 payload binding
  • Seller key & payTo pinning (unauthorized_issuer)
  • CAIP-2 EVM & Solana tx signature formats
  • trustedVerifierPublicKeys guard
  • 16-state deterministic verdict
Free Public Live Verifier
  • POST /v1/receipt/verify-live (60/min)
  • POST /v1/x402/preflight (30/min)
  • Base & Base Sepolia RPC failover
  • Canonical USDC Transfer log match
  • Upgrades to verified_settled
  • Ed25519 counter-attestation header
  • 100% free & MIT self-hostable
Out of Scope in v0
  • Live Solana RPC log adapter (schema ready)
  • Off-chain Arweave archive retrieval
  • Internal facilitator DB queries
  • Non-conforming receipt dialects
  • Legal or regulated audit opinions
Claim boundary

Schema-valid is never called receipt-verified. In offline mode, a receipt carrying an unverified transactionHash resolves to settlement_claimed_not_checked — never verified. Only independent on-chain log verification via POST /v1/receipt/verify-live (counter-signed by a pinned verifier key in /.well-known/x402-keys.json) upgrades settlement to verified_settled.

The verdict

One deterministic trust state.

Every verification call returns one unambiguous trust state alongside per-check diagnostics:

verified valid_signature_only settlement_claimed_not_checked unauthorized_issuer output_hash_mismatch settlement_failed invalid_signature unsupported_format expired

All sixteen trust states and their strict precedence order are documented in the specification. Read the trust states →

Try it now

Install from npm/PyPI or verify over HTTP.

The reference SDKs, CLI, and MCP server ship with zero required dependencies on npm (@paxiom/receipts@0.4.0, Node ≥18) and PyPI (paxiom-receipts==0.4.0, Python ≥3.10):

# Install in an x402 seller or buyer project:
npm install @paxiom/receipts

# Generate an Ed25519 seller keypair via CLI:
npx --yes --package=@paxiom/receipts paxiom-receipt keygen --out ./seller-key-01.pem --key-id seller-key-01

# Run the stdio MCP server (verify_receipt, explain_receipt, issue_receipt, preflight_x402_seller):
npx --yes --package=@paxiom/receipts paxiom-receipt-mcp

# Or install the zero-dependency Python 3.10+ / FastAPI SDK from PyPI:
pip install paxiom-receipts

Query the free public reference verifier at https://api.paxiom.org:

curl -s https://api.paxiom.org/version
curl -s https://api.paxiom.org/v1/receipt/demo
curl -s https://api.paxiom.org/.well-known/x402-keys.json
Public reference runtime

https://api.paxiom.org serves free offline verification (POST /v1/receipt/verify), pre-payment seller scanning (POST /v1/x402/preflight), and live Base Mainnet settlement verification + counter-attestation (POST /v1/receipt/verify-live). Published verifier keys live at /.well-known/x402-keys.json (and /.well-known/paxiom-keys.json).

Read the spec

Everything is public and inspectable.

Adopt & collaborate

Adopt the standard or collaborate on x402 extensions.

Open-standard ecosystem collaboration, facilitator interoperability, and optional fixed-scope engineering sprints.

  • wrap seller endpoints with withPaxiomReceipt, createReceiptMiddleware, or PaxiomReceiptMiddleware;
  • publish /.well-known/x402-keys.json so buyers and wallets can pin seller signing keys;
  • self-host the MIT reference verifier inside facilitators, agent wallets, or API gateways;
  • coordinate on the x402 v2 delivery-receipt extension or engage Driftbound Labs LLC for custom verification engineering.
Engineering context

Build Journal & technical prints.

Looking for the dated build log, the ten-sheet architectural drawing set, or our upstream Ethereum state-proof research? Those engineering records live in the Build Journal.

Open Build Journal