{"uid":"cap_rLkkKVigd34Fgtfcoefni","slug":"vibes-coded-facilitator-payload-lint-api-4c86ce6b","name":"Vibes-Coded Facilitator Payload Lint API","description":"Pay-per-call JSON for AI agents: skill search, listing optimization, install plans, productization, and artifact risk scoring. HTTP 402 → USDC. Full skill marketplace on-site.","url":"https://vibes-coded.com/api/v1/outcomes/facilitator-payload-lint","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"ok":true,"ok_for_cdp":false,"fail_reasons":["sibling_resource","sibling_extensions"],"lean_payload":{"payload":{},"accepted":{},"x402Version":2},"stripped_keys":["resource","extensions"]}},"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_ObL0LAhRGh1j9tyPHTd3P","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 and lints an x402 facilitator payload, checking compliance for CDP and stripping non-conformant keys to return a lean, safe payload.","exampleAgentPrompt":"Can you lint this x402 facilitator payload and tell me if it's valid for CDP, what's failing, and give me back the stripped lean version without the bad keys?","exampleUseCases":[{"title":"Debug failing x402 payment flow","prompt":"My x402 facilitator payload keeps getting rejected — can you run it through the linter and tell me exactly which fields are causing the failure and what a clean version would look like?"},{"title":"Pre-flight CDP compatibility check","prompt":"Before I submit this facilitator payload to Coinbase Developer Platform, can you validate it and confirm it passes the CDP check? Here's the payload with resource and extensions fields included."},{"title":"Strip non-conformant keys before relay","prompt":"I need to relay this x402 payload to a facilitator but I'm not sure all the keys are compliant — can you lint it, strip anything invalid, and hand me back just the lean safe version?"}],"resultDescription":"Returns a JSON object with: `ok` (boolean overall validity), `ok_for_cdp` (boolean CDP-specific compliance), `fail_reasons` (array of string codes like 'sibling_resource' or 'sibling_extensions' explaining failures), `lean_payload` (cleaned payload object with only compliant fields), and `stripped_keys` (list of keys that were removed for non-compliance).","failureModes":["Payload missing required x402Version field causing validation error","Malformed JSON body rejected before linting begins","HTTP 402 returned if USDC payment header is missing or insufficient","Payload with no issues returns ok:true but stripped_keys may still be populated if optional fields were cleaned","Unknown fail_reason codes if payload structure is deeply malformed"],"whenToPreferThis":"Use this endpoint when you need to pre-validate or debug an x402 facilitator payload before sending it to a live facilitator or CDP integration. Prefer this over manual inspection when you need a machine-readable list of fail reasons and a ready-to-use lean payload with bad keys already stripped. Ideal for agents that construct x402 payment flows dynamically and need a compliance gate before relay.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:43:39.795Z","isFirstParty":false}