{"uid":"cap_B1KnZXy81AKILMiDfs-Bh","slug":"x402-payment-challenge-payload-conformance-linter-9f59dccc","name":"x402 Payment Challenge & Payload Conformance Linter","description":"Static conformance lint of an x402 v2 402 challenge and/or a signed paymentPayload: version, resource URL/description cliff, accepts scheme/network/asset/atomic-amount/timeout/payTo, EIP-712 token metadata, bazaar extension shape, PAYMENT-REQUIRED header decodability, header-version mismatch, and payload authorization/nonce/expiry. Returns a signed conformant verdict with an exact remediation per failure. No network fetch.","url":"https://agents.daedalusdevelopmentgroup.com/v1/x402/402-lint?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":true},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{"ok":true}},"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BBKmG3EBx_QOSwGMnLHdr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Statically validates x402 v2 payment challenges and signed paymentPayload objects against the full protocol spec, returning a signed verdict with exact per-failure remediations — no network fetch required.","exampleAgentPrompt":"Can you lint this x402 v2 payment challenge for me and tell me exactly what's wrong with it? Here's the payload — I need to know if the accepts scheme, payTo address, EIP-712 metadata, and PAYMENT-REQUIRED header all conform to spec, and if not, what exactly to fix.","exampleUseCases":[{"title":"Debug a rejected x402 payment header","prompt":"My x402 payment header keeps getting rejected and I don't know why — can you lint the 402 challenge and paymentPayload I'm sending and give me the exact field-level errors and what to fix?"},{"title":"Pre-flight check before deploying a payable API","prompt":"Before I ship my new agent-payable endpoint, can you validate my x402 v2 402-challenge object to make sure the accepts scheme, network, asset, atomic-amount, timeout, and payTo fields all pass the spec?"},{"title":"Catch header-version mismatch in x402 integration","prompt":"I think I have a version mismatch between my PAYMENT-REQUIRED header and my paymentPayload — can you run a conformance lint on both and tell me if there's a mismatch and how to resolve it?"}],"resultDescription":"A signed conformance verdict indicating whether the submitted x402 challenge and/or paymentPayload passes validation, plus a structured list of every failure with an exact, field-level remediation instruction for each. No network calls are made; all checks are purely static.","failureModes":["Missing required fields in the 402 challenge object returns specific field-level errors","Invalid or unsupported accepts scheme/network/asset combination flagged as non-conformant","EIP-712 metadata shape mismatch returned with remediation","Header-version mismatch between PAYMENT-REQUIRED header and payload body flagged explicitly","Expired or missing nonce/expiry in paymentPayload returned as authorization failure","Malformed resource URL or description exceeding cliff limits returned with remediation","Bazaar extension shape violations returned as separate failure entries","Request body missing required 'input' or 'output' wrapper returns 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a fast, offline, static conformance check of an x402 v2 payment challenge or signed paymentPayload without making any network requests. It is ideal for pre-deployment validation, CI/CD lint steps, or debugging rejected payments when you need exact per-field remediations rather than a generic error. Prefer it over manual spec-reading or live facilitator round-trips when you need deterministic, signed verdicts you can act on immediately.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:32:40.155Z","isFirstParty":false,"canonicalSlug":"x402-payment-challenge-payload-conformance-linter-9f59dccc"}