{"uid":"cap_2HxkeLcohRDFn8st2pXiR","slug":"agentresolver-x402-cdp-canary-settlement-test-28178153","name":"AgentResolver x402 CDP Canary Settlement Test","description":"No-body $0.001 x402 settlement test for funded agents. Verifies the buyer wallet, facilitator, USDC payment path, and paid delivery end-to-end by returning a timestamped pong only after successful settlement.","url":"https://agentresolver.vercel.app/api/x402-cdp-canary?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"echo":{"type":"string","maxLength":256,"description":"Optional text echoed by the paid settlement response."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["pong","settledDelivery"],"properties":{"pong":{"type":"boolean","const":true},"settledDelivery":{"type":"boolean","const":true}},"additionalProperties":true}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QZDBXEWGnpJZeWlpwnnaT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a live end-to-end x402 micropayment settlement test, verifying buyer wallet, USDC payment path, and facilitator by returning a timestamped pong only after successful on-chain settlement.","exampleAgentPrompt":"Run a live x402 canary settlement test to confirm my funded agent wallet can complete a USDC micropayment end-to-end — echo back the word 'healthcheck' so I know the paid response came through.","exampleUseCases":[{"title":"Pre-deployment x402 payment smoke test","prompt":"Before I launch my agent, run a live x402 canary settlement against the AgentResolver test endpoint to confirm my CDP wallet, facilitator, and USDC payment path all work end-to-end. Echo back 'deploy-ready' in the response so I can verify paid delivery."},{"title":"CI pipeline payment health check","prompt":"As part of my automated CI run, fire a $0.002 x402 canary settlement test and confirm I get a pong with settledDelivery true — fail the build if the payment or delivery doesn't complete successfully."},{"title":"Diagnosing a broken agent payment flow","prompt":"My agent is failing to receive paid API responses — can you run the x402 CDP canary test to check whether the problem is the wallet, the facilitator, or the USDC settlement step? Echo 'debug-run' so I can trace which stage succeeded."}],"resultDescription":"Returns a JSON object with `pong: true` and `settledDelivery: true` only after the USDC micropayment has been successfully settled on-chain. Also echoes back any optional text provided via the `echo` query parameter, and includes a timestamp confirming the moment of paid delivery.","failureModes":["Insufficient USDC balance in buyer wallet — payment rejected before settlement","Invalid or misconfigured facilitator — settlement fails with payment error","Wallet not funded or not on correct network — 402 Payment Required returned without delivery","Echo parameter exceeds 256 characters — request rejected","Network congestion or blockchain latency — settlement timeout","TLS or endpoint verification failure — connection refused"],"whenToPreferThis":"Use this endpoint when you need to verify that a complete x402 micropayment stack — including buyer wallet, USDC balance, facilitator routing, and paid content delivery — works correctly end-to-end. It is the canonical canary/smoke-test for x402 CDP agents, costing only $0.002 USDC per call. Prefer this over preflight-only checks when you need to confirm actual settlement and paid delivery, not just payment requirements.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T18:39:26.261Z","isFirstParty":false,"canonicalSlug":"agentresolver-x402-cdp-canary-settlement-test-28178153"}