{"uid":"cap_UMVztJx-P8u_Hl-NIgUJr","slug":"x402-wallet-can-pay-diagnostic-ff59c404","name":"x402 Wallet Can Pay Diagnostic","description":"Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.","url":"https://openclawproductions.com/api/v1/walletcanpay?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":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE","POST"],"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}},"inputSchema":{"type":"object"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_icLfBxjaFaVv6-iChXGju","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a wallet has sufficient funds to pay for an x402-gated API request, returning payment eligibility and EIP-3009 payment metadata.","exampleAgentPrompt":"Can you check whether my wallet has enough USDC to pay for a GET request on this x402-gated endpoint? I want to know if it can cover the payment before I actually call it.","exampleUseCases":[{"title":"Pre-flight wallet payment check","prompt":"Before I call this paid API endpoint, can you verify whether my wallet is actually able to cover the x402 micropayment for a GET request? I don't want to get hit with a 402 error mid-workflow."},{"title":"Debugging 402 payment failures","prompt":"My agent keeps getting HTTP 402 errors when calling an x402 endpoint. Can you run the wallet payment diagnostic to see if the wallet is properly funded and what EIP-3009 extras are being returned?"},{"title":"Validating wallet before agent deployment","prompt":"I'm about to deploy an agent that calls x402-gated APIs using POST requests. Can you check upfront whether the wallet I've configured can actually pay for those calls so we don't run into issues at runtime?"}],"resultDescription":"Returns a JSON object indicating whether the specified wallet can pay for the requested HTTP operation under the x402 protocol, along with EIP-3009 payment extras and any relevant x402 payment requirements. If payment has not been made, the endpoint itself returns HTTP 402 with the EIP-3009 metadata needed to complete the payment via OpenX402.","failureModes":["HTTP 402 returned if the diagnostic call itself is not paid (requires $0.01 USDC via OpenX402 facilitator)","Invalid or missing 'method' enum value causes schema validation error","Missing required 'type' or 'method' fields returns 400 Bad Request","Wallet with insufficient USDC balance may cause payment facilitation failure","Non-OpenX402 facilitators not supported, causing payment rejection"],"whenToPreferThis":"Use this endpoint when you need to pre-validate whether a wallet can fulfill an x402 micropayment before committing to a paid API call, especially in automated agent workflows where silent 402 failures would be disruptive. Prefer this over ad-hoc trial calls when you want structured EIP-3009 diagnostic data and are already using OpenX402 as your x402 facilitator.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:50:06.526Z","isFirstParty":false,"canonicalSlug":"x402-wallet-can-pay-diagnostic-ff59c404"}