{"uid":"cap_PbMrg_nWRP10xKWeoAR6H","slug":"industrial-platform-web-tools-payment-diagnostic-06745b33","name":"Industrial Platform Web Tools – Payment Diagnostic","description":"Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.","url":"https://x402-gateway-production-1f21.up.railway.app/commerce/payment-diagnostic?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["challenge","max_atomic_usdc","allowed_payees"],"properties":{"challenge":{"type":"object"},"allowed_payees":{"type":"array","items":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"maxItems":20,"minItems":1},"max_atomic_usdc":{"type":"string"},"supported_schemes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"status":"ready"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nJP5uti7dTi11Ef84XQUq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and diagnoses x402 payment challenge parameters before submitting a machine-payable API call","exampleAgentPrompt":"Can you run a payment diagnostic on this x402 challenge to make sure my setup is correct — the max payment is 1000 atomic USDC, the allowed payee is 0xAbCd1234567890abcdef1234567890abcdef1234, and I'm sending a POST with a JSON body?","exampleUseCases":[{"title":"Debug failing x402 payment setup","prompt":"My x402 payment keeps getting rejected — can you run a diagnostic with my challenge object, max atomic USDC of 500, payee address 0x1111111111111111111111111111111111111111, and a JSON POST body to see what's wrong?"},{"title":"Pre-flight check before paying for API call","prompt":"Before I send payment to this machine-payable API, run a payment diagnostic for me: challenge is from the 402 response header, max USDC is 2000 atomic units, allowed payee is 0xDeAdBeEf00000000000000000000000000000001, and it's a JSON POST."},{"title":"Verify payee address and scheme compatibility","prompt":"Check if my x402 payment config is ready — I want to allow payee 0xAAAABBBBCCCCDDDD1111222233334444AAAABBBB with a max of 750 atomic USDC, using the exact challenge object I got back, as a JSON POST request."}],"resultDescription":"Returns a JSON object with a 'status' field (e.g. 'ready') indicating whether the payment challenge parameters are valid and the payment diagnostic passed.","failureModes":["Missing required fields (challenge, max_atomic_usdc, allowed_payees) returns a validation error","Invalid Ethereum address format in allowed_payees (not matching 0x + 40 hex chars) triggers a schema error","Empty allowed_payees array or more than 20 entries rejected","Malformed challenge object may cause parsing failure","Network timeout on the Railway-hosted service"],"whenToPreferThis":"Use this endpoint when you need to validate x402 payment challenge parameters before committing to a micropayment — especially useful for debugging payment failures, pre-flighting API calls, or confirming payee address validity without spending funds. Prefer this over attempting a live payment when you are unsure whether your challenge configuration is correct.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T12:36:13.486Z","isFirstParty":false,"canonicalSlug":"industrial-platform-web-tools-payment-diagnostic-06745b33"}