x402 AI Playground
Pay per prompt with an unlinkable runtime key. The merchant never sees your wallet.
Unlinkable x402 AI Stream
The red button is a demo control: it should return HTTP 403 with 0.00 USDC deducted. Use the blue button for a real paid call.
Double-Blind Privacy Inspector
Live cryptographic proof of what each party saw.
Run a private x402 request to populate the inspector.
1. Origin Chain Saw
Aurora quote: —
Knows Solana note? NO — Confidential
2. Solana Anchor Vault Saw
Nullifier: —
Groth16 verified on-chain
3. AI Merchant Server Saw
PAYMENT-SIGNATURE: rk_live_* (wallet-free capability)
Wallet Bytes Sent: 0 BYTES
PAYMENT-REQUIRED: (challenge not captured)
PAYMENT-SIGNATURE: {"scheme":"zkapi-runtime-key","token":"rk_live_***"}
X-ZKAPI-RECEIPT: (no receipt yet)
X-Correlation-Id: —const res = await fetch("/api/v1/ai/chat", {
method: "POST",
headers: {
"PAYMENT-SIGNATURE": base64({ scheme: "zkapi-runtime-key", token }),
"content-type": "application/json",
},
body: JSON.stringify({ model: "gpt-4o-mini", messages }),
});
const receipt = res.headers.get("X-ZKAPI-RECEIPT");