{"uid":"cap_9-A74ailo2t8Y2cXFaYJ7","slug":"x402-tools-pay-to-health-diagnostic-02444db5","name":"x402-tools Pay-to-Health Diagnostic","description":"Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.","url":"https://openclawproductions.com/api/v1/paytohealth?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"payTo":{"type":"string","description":"Settlement 0x address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}},"inputSchema":{"type":"object","required":["type","properties"],"properties":{"type":{"type":"string","const":"object"},"required":{"type":"array","items":{"type":"string"}},"properties":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"sku":"paytohealth","note":"Example paid JSON shape. Not a live settle.","price":"$0.03","title":"PayTo Health"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WwekO2THqAeeXqvHMp6Ui","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns x402 payment-gated health diagnostics for the OpenX402 facilitator, requiring a $0.03 USDC micropayment via EIP-3009; unpaid requests return HTTP 402 with structured payment challenge extras.","exampleAgentPrompt":"Run the x402 pay-to-health diagnostic against my settlement address 0xAbC1234567890abcdef1234567890abcdef123456 and tell me if the OpenX402 facilitator is responding correctly.","exampleUseCases":[{"title":"End-to-end x402 payment flow test","prompt":"Can you run the x402 health diagnostic for my wallet 0xDe12345678901234567890123456789012345678 so I can confirm my EIP-3009 payment setup is working with the OpenX402 facilitator?"},{"title":"Debugging a rejected micropayment","prompt":"My x402 payments keep getting rejected — can you probe the pay-to-health endpoint using settlement address 0xFa98765432109876543210987654321098765432 and show me what the 402 challenge response looks like?"},{"title":"Verifying facilitator is live before launch","prompt":"Before I go live, I need to confirm OpenX402 is up and accepting payments — run the diagnostics check with settlement address 0xBb11223344556677889900aAbBcCdDeEfF001122 and tell me the health status."}],"resultDescription":"A JSON response containing x402 diagnostic health data including facilitator status, EIP-3009 payment extras, and confirmation that the payment flow completed. If payment was not provided, returns HTTP 402 with a structured payment challenge including the required USDC amount and EIP-3009 authorization parameters.","failureModes":["HTTP 402 returned when payment header is missing or invalid — expected behavior for unpaid requests, includes EIP-3009 challenge extras","Invalid or malformed payTo address causes a 400 bad request error","OpenX402 facilitator unavailable returns a 5xx error","Network timeout if the facilitator is temporarily unreachable","Payment amount mismatch (not exactly $0.03 USDC) causes payment rejection"],"whenToPreferThis":"Choose this endpoint when you specifically need to test or diagnose the x402 payment protocol flow using the OpenX402 facilitator, particularly when validating EIP-3009 authorization, confirming a settlement address is correctly configured, or debugging why micropayments are being rejected. Not suitable for general health checks unrelated to x402 payment mechanics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:46:32.709Z","isFirstParty":false,"canonicalSlug":"x402-tools-pay-to-health-diagnostic-02444db5"}