{"uid":"cap_Sp-FUc00a5AULjqV-zMp-","slug":"x402-cors-pay-expose-diagnostics-2bb8dcdb","name":"x402 CORS Pay Expose Diagnostics","description":"Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.","url":"https://openclawproductions.com/api/v1/corspayexpose?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":{"url":{"type":"string","description":"Public 402 or well-known URL. Defaults to this origin's Pipe Check."},"origin":{"type":"string","description":"Public origin URL. Alias of url."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"sku":"corspayexpose","note":"Example paid JSON shape. Not a live settle.","price":"$0.02","title":"CORS Pay Expose"}},"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_dJ62vzGGW1wFi6ir0Ah-1","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":"Runs a paid x402 CORS payment-exposure diagnostic check against a public URL, returning structured payment and CORS metadata after micropayment settlement.","exampleAgentPrompt":"Run an x402 CORS pay-expose diagnostic on https://example.com using a GET request and tell me what payment metadata and CORS headers it returns.","exampleUseCases":[{"title":"Verify x402 endpoint payment configuration","prompt":"Can you probe https://myapi.example.com with a GET request using the x402 CORS pay-expose check and tell me if it's returning the right EIP-3009 payment extras?"},{"title":"Debug 402 response on HEAD request","prompt":"I need to diagnose why my x402-gated API at https://api.myservice.io isn't settling — can you run the CORS pay-expose diagnostic on it using a HEAD method and show me what comes back?"},{"title":"Confirm OpenX402 facilitator CORS setup","prompt":"Check if https://openclawproductions.com is properly configured as an x402 origin by running a GET-based CORS pay-expose diagnostic and showing me the SKU, price, and any CORS payment headers."}],"resultDescription":"Returns a JSON object with fields including the SKU name ('corspayexpose'), a human-readable title ('CORS Pay Expose'), the price ($0.02), and a diagnostic note. On unpaid requests, returns HTTP 402 with EIP-3009 payment extras indicating the required payment details for settlement via OpenX402.","failureModes":["HTTP 402 returned if payment header is missing or invalid — includes EIP-3009 extras for payment resolution","Invalid or unreachable target URL returns an error or empty diagnostic","Non-GET/HEAD/DELETE methods rejected due to enum constraint","Missing required 'type' or 'method' fields in input causes validation failure","OpenX402 facilitator unavailability may block payment settlement"],"whenToPreferThis":"Choose this endpoint when you need to programmatically verify that an x402-gated URL is correctly configured for CORS-based micropayments, particularly when using the OpenX402 facilitator and EIP-3009 payment authorization. It is the right tool for diagnosing 402 payment flows, inspecting CORS headers on payment-gated APIs, or confirming that an origin is properly exposing x402 payment metadata — not for general HTTP inspection or non-payment CORS debugging.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:15:58.364Z","isFirstParty":false,"canonicalSlug":"x402-cors-pay-expose-diagnostics-2bb8dcdb"}