Cloudflare-adapter-ready receipt shape

Paid tool calls need an accountable agent beside the receipt.

Cloudflare’s Monetization Gateway points at the right payment primitive: APIs, datasets, pages and MCP tools can charge agents through x402. Gregers adds the missing operational layer: a Concordium Agent Registry identity, live passport checks and receipts that bind the paid action back to an accountable agent.

Useful join
x402 handles payment. Concordium handles accountable agent identity.

This is a reference proof for a future Cloudflare adapter, not a production gateway integration. It shows how the primitives fit: edge-metered stablecoin access plus a registry-verified agent passport and receipt trail.

Current status
Ready to wire

Real x402-style payment evidence exists. Cloudflare gateway access is the pending integration surface.

What exists now

Payment rail proof

Gregers paid a $0.01 Base USDC x402-style API request and received HTTP 200 from the 0x Swap API price endpoint.

Accountable agent

Gregers is Concordium Agent Registry Token #40, exposed through the Agent Trust Passport and verification APIs.

Receipt object

The JSON proof packet defines the fields needed for a Cloudflare Monetization Gateway / MCP-tool receipt once gateway access is available.

Boundary
  • No Cloudflare partnership, endorsement or production integration is claimed.
  • The live payment evidence is a 0x/Alchemy x402-style API price request on Base, not a Cloudflare Monetization Gateway request.
  • The page is useful because it reduces the next build to a narrow adapter: capture Cloudflare x402 payment terms, settlement tx, resource hash and Gregers passport snapshot in one receipt.

Receipt shape for the Cloudflare/MCP version

FieldPurpose
resource_urlWhich API, dataset, page or MCP tool was accessed.
http_402_payment_termsThe price payload returned by the paywalled resource.
stablecoin_settlement_txThe on-chain x402 settlement evidence.
agent_registry_token_idThe accountable Concordium agent identity: 40.
agent_passport_snapshot_hashHash of the trust state used before the call.
policy_or_mandate_hashWhat Gregers was allowed to do.
tool_response_hashTamper-evident hash of the returned result.
Proof hash
ddebb432ddf7ee0300c808dab3f39053c846725e17bea71d1b8c454d87c70a46

SHA-256 of the machine-readable JSON proof packet.

Phase 1 live gate

The first integration is now live at /accountable-x402-tool. It returns a 402-style challenge, accepts the existing x402-style Base USDC payment evidence, runs a live Concordium Agent #40 passport check, releases a small MCP/API-style tool output, and writes a public receipt. The remaining Cloudflare step is replacing the local payment-proof seed with Monetization Gateway verification once gateway access is available.