{"uid":"cap_AtkXvcf0ydi_6FfKRnrDO","slug":"forgemesh-x402-payment-envelope-validator-8b9c1986","name":"ForgeMesh x402 Payment Envelope Validator","description":"x402 utility APIs for AI agents: documents/OCR, PDFs, vision, audio, embeddings, web extraction, dictionary and slang lookups, games, chess/legal-move logic, math, conversions, time utilities, market and economic data, space/geo data, domain vetting, content-signal checks, and x402 ecosystem intelligence. Agents POST JSON, receive a 402 challenge, pay USDC on Base, and retry for the result.","url":"https://x402.forgemesh.io/validate-payment-envelope","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"x402 endpoint URL to health-check, e.g. https://x402.example.com/some-route"}}},"responseSchema":{"type":"json","example":{"url":"https://library.forgemesh.io/business-management","grade":"A","is_402":true,"findings":["Valid x402 v2 envelope found in the header.","WWW-Authenticate: Payment header also present — this endpoint speaks both x402 and MPP dual-stack, reaching agents on either payment stack."],"reachable":true,"http_status":402,"method_used":"GET","x402_envelope":"header","envelope_valid":true,"mpp_dual_stack":true,"accepts_summary":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x85df5380DEbe236AD6BF49dE788243924B080267","amount":"3000","scheme":"exact","network":"eip155:8453"}],"envelope_errors":[],"response_time_ms":214}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BVvEwLXU2XZMqTI_XgUXv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and health-checks an x402 payment envelope at a given URL, confirming it is reachable, returns a proper 402 challenge, and reporting envelope quality, dual-stack support, and accepted payment details.","exampleAgentPrompt":"Can you health-check the x402 endpoint at https://x402.example.com/some-route and tell me if the payment envelope is valid, what grade it gets, and whether it supports dual-stack MPP?","exampleUseCases":[{"title":"Pre-launch x402 endpoint audit","prompt":"Before I go live, can you validate the x402 payment envelope at https://x402.myservice.io/premium-data and tell me if it's correctly configured, what grade it earns, and whether there are any envelope errors I need to fix?"},{"title":"Debugging a broken payment wall","prompt":"My x402 endpoint at https://api.myapp.com/gated-route isn't working — can you probe it, tell me if it's reachable, what HTTP status it returns, and whether the 402 envelope is valid or malformed?"},{"title":"Checking dual-stack MPP support","prompt":"Can you check https://x402.partnerapi.com/endpoint and confirm whether it supports both x402 and MPP dual-stack, and what USDC address and asset it accepts for payment?"}],"resultDescription":"Returns a JSON object with a letter grade (e.g. A), reachability flag, HTTP status code, whether a valid x402 v2 envelope was found, whether the endpoint speaks MPP dual-stack, a summary of accepted payment assets (token address, payTo address, amount, scheme, network), any envelope errors, and response time in milliseconds.","failureModes":["URL is unreachable — reachable: false with no HTTP status","URL does not return a 402 — is_402: false, grade may be F","Envelope is present but malformed — envelope_valid: false with errors listed in envelope_errors","Invalid or missing URL input — likely a 400 error or validation failure","Network timeout on the probed endpoint — may return error or low grade"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that a specific x402 endpoint is correctly configured, reachable, and serving a valid payment envelope — especially before integrating it into an agent workflow, auditing a fleet of x402 services, or debugging a non-functional payment wall. It is the right choice when you want structured diagnostic output (grade, errors, dual-stack flag, accepted assets) rather than just a raw HTTP probe.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:14.533Z","isFirstParty":false}