{"uid":"cap_eNHrI_IW7rJbNUlOwCcvq","slug":"contextiq-x402-inspector-payment-challenge-validator-81946d14","name":"ContextIQ x402 Inspector — Payment Challenge Validator","description":"x402 Inspector scan (payment-challenge validation) — per call","url":"https://contextiq.trango-compute.com/api/v1/x402-inspector/x402-v2","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"status":{"type":"string","description":"valid, invalid, malformed, or no_challenge"},"target":{"type":"string"},"details":{"type":"object","description":"methodUsed, httpStatus, x402Version, accepts[]"},"evidence":{"type":"array","items":{"type":"string"}},"warnings":{"type":"array","items":{"type":"string"}},"expectedResult":{"type":"object","description":"Declared response shape, if the seller published a Bazaar discovery extension"}}},"responseSchema":null,"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_4OEH1y6LCGoWGlFcjH9J_","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":"Validates whether an HTTP 402 payment challenge (x402 protocol) is correctly formed, returning a structured scan result with status, warnings, and evidence.","exampleAgentPrompt":"Check whether this x402 payment challenge is valid — status is 'invalid', target is 'https://api.example.com/data', the method used was HTTP 402, x402 version is x402-v2, and there are warnings about a missing accepts field. Give me the full inspection report.","exampleUseCases":[{"title":"Pre-payment compliance check for agent","prompt":"Before my agent pays the 402 challenge from 'https://payments.vendor.com/api/premium', verify the challenge is valid — the status looks malformed, x402 version is x402-v2, and there's a warning about the accepts array being empty."},{"title":"Debug a misconfigured payment gate","prompt":"I set up an x402-v2 payment gate but payments are failing. Can you scan my challenge — status is 'malformed', target is 'https://myapi.io/protected', HTTP status returned 402, and evidence includes a missing 'x402Version' header?"},{"title":"Audit third-party API before integration","prompt":"I'm about to integrate a third-party API that uses x402-v2 payment challenges. Run an inspector scan on it — the challenge status is 'valid', target is 'https://thirdparty.io/inference', method used is POST, and the accepts array lists 'USDC/base'."}],"resultDescription":"A structured scan report indicating whether the x402 payment challenge is valid, invalid, malformed, or absent, along with details such as the HTTP method used, HTTP status code, x402 version, accepted payment methods, supporting evidence strings, any warnings about the challenge, and optionally the declared expected response shape from Bazaar discovery.","failureModes":["Missing or malformed input schema fields may result in a validation error response","If the target is unreachable or no challenge is detected, status returns 'no_challenge'","Unsupported x402 versions may produce incomplete scan results","Payment failure ($0.02 USDC) if x402 payment header is not properly sent with the request"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that an x402 payment challenge conforms to the x402-v2 protocol before committing a payment or integrating with a payment-gated API. It is especially valuable in agentic pipelines where an AI agent must autonomously decide whether a 402 response is trustworthy and safe to pay. Prefer this over manual inspection or generic HTTP debugging tools when you need structured, machine-readable validation output with explicit warnings and evidence.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:49:43.957Z","isFirstParty":false}