{"uid":"cap_WuYGI8QGKTAfMh8mIJW2B","slug":"beggar-bot-x402-challenge-checker-2c068586","name":"Beggar Bot x402 Challenge Checker","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/x402check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"expect":{"type":"object","description":"optional {payTo, network, amount|atomic}"},"challenge":{"type":"object","description":"402 JSON body, base64 PAYMENT-REQUIRED header string, or accepts[]"}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Cyl4HAEuEt1Wgg0dpwySa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and decodes x402 payment challenge objects, checking whether a 402 response or payment header matches expected payTo address, network, and amount before an agent commits to paying","exampleAgentPrompt":"Before paying this 402 challenge, check it against Beggar Bot — the payTo should be 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7 on Base mainnet for $0.01 USDC — here's the raw challenge body: {\"accepts\":[{\"scheme\":\"exact\",\"network\":\"base\",\"amount\":\"10000\",\"asset\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\"payTo\":\"0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7\"}]}","exampleUseCases":[{"title":"Pre-flight check before agent pays","prompt":"Before my agent pays this 402 challenge, verify it — I'm expecting payTo 0xABC123 on Base mainnet for $0.05 USDC. Here's the challenge JSON body the server returned: {\"accepts\":[{\"scheme\":\"exact\",\"network\":\"base\",\"amount\":\"50000\",\"asset\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\"payTo\":\"0xABC123\"}]}"},{"title":"Decode unknown base64 payment header","prompt":"I got a base64-encoded PAYMENT-REQUIRED header from a third-party API and I want to know what's actually inside it — who it's paying, on which network, and for how much — before I approve anything."},{"title":"Check 402 challenge against expected operator on Sepolia","prompt":"Can you run this 402 response body through Beggar Bot's x402 checker on base-sepolia to confirm the payTo address and amount match what the operator told me to expect? I don't want to pay the wrong address."}],"resultDescription":"A JSON object indicating whether the 402 challenge is valid, decoded payment parameters (payTo address, network, token, amount), and whether the challenge matches the expected values provided in the request. Highlights any mismatches in address, network, or amount.","failureModes":["Malformed challenge object returns error with parsing details","Mismatch between expected and actual payTo/network/amount returns a failed validation result","Invalid base64 header string causes decoding error","Missing required challenge field returns descriptive JSON error","Network not supported (beyond base and base-sepolia) may return unsupported network error","Payment required ($0.02 USDC) not included — calling agent must itself pay via x402 first"],"whenToPreferThis":"Use this endpoint when an AI agent needs to inspect and validate an x402 402-payment-required challenge before committing USDC — especially to guard against payTo address substitution attacks or unexpected amounts. Prefer this over manual parsing when the challenge may be a raw base64 header, a JSON body, or an accepts array, as it handles all three formats. Best for Base mainnet and base-sepolia workflows using USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T18:18:23.994Z","isFirstParty":false,"canonicalSlug":"beggar-bot-x402-challenge-checker-2c068586"}