{"uid":"cap_o2J4O8YKMvv8O5MoawpBV","slug":"kevaremesh-x402-challenge-decode-245678fa","name":"KEVAREMESH x402 Challenge Decode","description":"Buyer-first MCP procurement gateway that discovers, compares and routes live x402 APIs without making the buyer choose a provider.","url":"https://kevaremesh-web.vercel.app/api/x402/x402-challenge-decode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"payment_required":{"type":"string","maxLength":131072}}},"responseSchema":{"type":"json","example":{"result":{"error":"Payment required","safety":{"funds_moved":false,"decoded_only":true,"payment_signed":false,"network_request":false},"accepts":[{"asset":"USDC","payTo":"0x0000000000000000000000000000000000000000","amount":"1000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":60}],"resource":{"url":"https://merchant.example/api"},"accept_count":1,"x402_version":2,"extensions_present":false},"product":"kevaremesh_x402_challenge_decode_v2","service":"KEVAREMESH","tool_name":"kevaremesh_x402_challenge_decode","limitations":["Decode/inspect only; never signs or submits payment"],"generated_at":"2026-09-18T00:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.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_3VEElbNnz2-dRBY_zp8tG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes and inspects an x402 HTTP 402 Payment Required challenge header to reveal payment terms, asset, network, and recipient — without signing or submitting any payment.","exampleAgentPrompt":"I just got a 402 Payment Required response from an API — can you decode the payment_required challenge string for me so I can see what asset, amount, and wallet address it's asking for before I decide to pay?","exampleUseCases":[{"title":"Inspect API payment terms before authorizing","prompt":"Before I approve any payment, can you decode this x402 payment_required header and tell me the USDC amount, the payTo address, and which network it's on?"},{"title":"Audit x402 challenge in procurement pipeline","prompt":"My procurement agent hit a 402 on a data API — decode the payment_required string so I can log the payment terms and resource URL for our records without actually paying yet."},{"title":"Debug unexpected 402 from a new API","prompt":"I'm integrating a new API and it's returning a 402 with a payment_required field I don't recognize — decode it and tell me what x402 version it's using and whether there are any extensions present."}],"resultDescription":"A JSON object containing the fully decoded x402 challenge: the list of accepted payment options (each with asset, payTo address, amount, scheme, network, and maxTimeoutSeconds), the protected resource URL, the x402 version number, whether extensions are present, a count of accepted payment methods, and a safety attestation confirming no funds were moved, no payment was signed, and no network payment request was made.","failureModes":["Malformed or non-x402 payment_required string returns an error field in the result object","Empty or missing payment_required field results in a decode error","Payload exceeding 131072 character limit may be rejected","Unsupported x402 version may produce incomplete field extraction"],"whenToPreferThis":"Use this endpoint when an AI agent or procurement system needs to inspect x402 payment terms safely before deciding whether to authorize a payment — it is purely read-only and guarantees no funds are moved. Prefer it over raw HTTP parsing when you need structured access to the payTo address, asset, network, and amount from a 402 challenge in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T00:31:13.134Z","isFirstParty":false,"canonicalSlug":"kevaremesh-x402-challenge-decode-245678fa"}