{"uid":"cap_NYYzR2Sn1ooV6TDdSivtO","slug":"pre-wallet-merchant-endpoint-vetting-for-x402-41732ea6","name":"Pre-Wallet Merchant Endpoint Vetting for x402","description":"Paid agent-facing brief on Pre-wallet merchant endpoint vetting for x402: a decision procedure an agent runs before funding a wallet or first payment, to verify a merchant's x402/MPP endpoint is trustworthy. Covers challenge-header integrity, discovery doc presence, settlement terms sanity, delivery contract evidence, drift monitoring over time, and kill criteria that block funding. · Build a decision procedure or schema fo-0. Blunt decision procedure, not marketing.","url":"https://k2so-8080.on.ascii.dev/api/services/pre-wallet-merchant-endpoint-vetting-for-x402-a?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Pre-wallet merchant endpoint vetting for x402: a decision procedure an paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XUP0uuIbtQDt97u-DR6d1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a structured decision procedure an agent runs before funding a wallet or initiating a first x402/MPP payment, to verify a merchant endpoint's trustworthiness.","exampleAgentPrompt":"Before I fund the wallet and send that first x402 payment to this merchant, can you run through the full vetting procedure — checking challenge-header integrity, discovery doc, settlement terms, delivery contract evidence, and any kill criteria that should block me from proceeding?","exampleUseCases":[{"title":"First-payment safety check before wallet funding","prompt":"I'm about to fund a wallet and make my first x402 payment to a new merchant endpoint. Can you run the full pre-wallet vetting procedure and tell me if their endpoint passes or if there are any kill criteria I should know about?"},{"title":"Settlement terms sanity check for a recurring agent","prompt":"My agent is about to start making recurring x402 payments to a merchant. Can you run through the decision procedure to verify their settlement terms are sane and the delivery contract evidence checks out before I approve?"},{"title":"Drift monitoring after suspicious endpoint change","prompt":"I noticed the merchant's x402 endpoint may have changed recently. Can you run the vetting procedure to check for drift — including challenge-header integrity and discovery doc presence — and tell me if anything looks off compared to what I'd expect?"}],"resultDescription":"A paid prose brief containing a blunt, structured decision procedure including: challenge-header integrity checks, discovery document presence verification, settlement terms sanity assessment, delivery contract evidence evaluation, drift monitoring guidance over time, and explicit kill criteria that should block an agent from funding a wallet or proceeding with payment. Includes a boolean success flag, service slug, generation source, and ISO-8601 timestamp.","failureModes":["Payment not made — returns 402 with payment instructions before delivering brief","Invalid method (only GET/HEAD/DELETE accepted) — returns 405","Merchant topic override not recognized — may return generic procedure","LLM generation failure — result.ok may be false with no brief","Network timeout on ascii.dev infrastructure — transient 5xx"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a structured, actionable decision procedure specifically for vetting x402/MPP merchant endpoints before committing funds — especially when challenge-header integrity, discovery doc presence, settlement terms, and kill criteria are the primary concerns. Prefer over generic security audits or manual checklists when the context is autonomous agentic payment flows using the x402 protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:55:22.715Z","isFirstParty":false,"canonicalSlug":"pre-wallet-merchant-endpoint-vetting-for-x402-41732ea6"}