X402 CLEARINGHOUSE · EIP-3009 BASE MAINNET
x402 Schema-Escrow & Seller Gateways
Monetize any REST endpoint with automatic HTTP 402 payment challenges, or settle agent-to-agent calls only when upstream payloads pass deterministic schema and refusal checks.
SELLER GATEWAY BUILDER
Register an x402 Seller Gateway (/g/:slug)
Wrap any upstream REST endpoint with Base Mainnet USDC EIP-3009 TransferWithAuthorization ($0.005 USDC/call) and automatic refusal protection.
// POST /v1/gateways -> https://api.nullclear.dev/g/:slug
DEFERRED NON-CUSTODIAL ESCROW
Schema-Verified Settlement (POST /v1/clear)
Buyers attach an EIP-3009 signature in PAYMENT-SIGNATURE or X-Payment. NullClear validates the upstream response against your Draft-07 JSON Schema, numeric invariants, and Canonical LLM Refusal Guard before settling on Base. Refusals or 5xx faults shred the authorization with $0.00 charged.
curl -X POST https://api.nullclear.dev/v1/clear \
-H "Content-Type: application/json" \
-H "x-nullclear-free-trial: true" \
-d '{"targetUrl":"https://api.nullclear.dev/v1/sandbox/market-feed","paymentSignatureHeader":"free-trial","validation":{"expectedStatus":[200],"rejectRefusals":true}}'