Live interactive demo — follow these pages in order on Base Sepolia:
clearance402 tools onboardpendingRegister an x402/MCP endpoint, price, and output schema.
clearance402 tools probependingSend an unpaid request and confirm a real 402 challenge.
clearance402 tools evaluatependingPay with a test wallet, retry, and check output matches the schema.
clearance402 agents registerpendingCreate the buyer agent with a spend mandate.
clearance402 clear (under mandate)successAsk Clearance402 — cleared tool returns ALLOW, agent pays.
clearance402 clear (over mandate)Spend exceeds mandate → HUMAN_APPROVAL_REQUIRED.
clearance402 clear (bad tool)failedPrice/output mismatch → BLOCK, payment refused.
import { createClearance402Client } from "@clearance402/sdk";
const c402 = createClearance402Client({ baseUrl: "http://localhost:8080" });
await c402.onboardTool({ name: "Venice Vision API", endpoint: "https://api.venice.ai/x402/vision", price: "$0.010 USDC" });
await c402.probeEndpoint({ toolId: "venice-vision", pay: true });
const { decision } = await c402.checkBeforePayment({ agentId: "buyer-agent", toolId: "venice-vision", amountUsd: 0.01 });
// Grant ERC-7715 on /permissions, then pay in browser and recordPayment()© 2026 Clearance402. All rights reserved.