{"uid":"cap_Z_hJUsYb4Hn5RXaXH0PaT","slug":"x402-tools-fail-receipt-diagnostic-f574ca3f","name":"x402-tools Fail Receipt Diagnostic","description":"Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.","url":"https://openclawproductions.com/api/v1/failreceipt?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.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lENpAMFul_nUWUcnCJ6Dq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a paid diagnostic response for testing x402 HTTP 402 payment-gated API flows, including EIP-3009 payment receipt validation via OpenX402 facilitator.","exampleAgentPrompt":"Run the x402 fail-receipt diagnostic against the OpenX402 facilitator using a GET request so I can verify my EIP-3009 payment token is being accepted correctly.","exampleUseCases":[{"title":"Testing x402 agent payment integration","prompt":"I'm building an AI agent that pays for APIs using x402. Can you hit the fail-receipt diagnostic endpoint with a GET request so I can confirm the EIP-3009 payment flow is working end to end?"},{"title":"Debugging 402 payment gate rejections","prompt":"My requests keep getting rejected with HTTP 402 errors. Can you call the x402 diagnostics fail-receipt endpoint via GET to see what the EIP-3009 extras look like in the response so I can figure out what's wrong?"},{"title":"Validating OpenX402 facilitator setup","prompt":"I just configured OpenX402 as my facilitator. Can you make a GET request to the x402-tools fail-receipt endpoint and show me the payment receipt details so I know the facilitator is wired up correctly?"}],"resultDescription":"A paid diagnostic response containing EIP-3009 payment receipt data and x402 protocol extras, confirming whether the payment token was accepted by the OpenX402 facilitator. If the payment header is missing or invalid, the endpoint returns HTTP 402 with eip3009 challenge extras instead.","failureModes":["Missing payment header returns HTTP 402 with EIP-3009 challenge extras","Invalid or expired payment token causes 402 rejection","Non-OpenX402 facilitator tokens are rejected (facilitator lock-in)","Incorrect HTTP method returns 422 or 405 (only GET, HEAD, DELETE, POST accepted)","Insufficient USDC balance causes payment failure at facilitator level","Network timeout from blockchain payment settlement"],"whenToPreferThis":"Use this endpoint when you need to test or debug x402 HTTP payment-gating flows specifically with the OpenX402 facilitator and EIP-3009 payment tokens. It is the right choice for verifying that your AI agent's payment middleware correctly attaches and processes USDC micropayment headers before calling production paid APIs. Prefer this over mock endpoints when you need a real $0.04 USDC end-to-end transaction to confirm live payment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:38:53.189Z","isFirstParty":false,"canonicalSlug":"x402-tools-fail-receipt-diagnostic-f574ca3f"}