{"uid":"cap_s_oFbzOrQI9aovCQMOMi3","slug":"merchant-drift-re-vet-decision-procedure-a1764cc7","name":"Merchant Drift Re-Vet Decision Procedure","description":"Decision procedure for agents with long-running x402 payment loops to detect endpoint drift, decide when to re-probe a previously vetted merchant, and choose between re-vet, retire, or spend-cap actions with drift evidence logging.","url":"https://k2so-8080.on.ascii.dev/api/services/merchant-drift-revet-decision-procedure","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":"Merchant drift re-vet decision procedure 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_egcSn-8d_250QvrJz4OT2","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 decision procedure brief for AI agents to detect endpoint drift in long-running x402 payment loops and decide whether to re-probe, retire, or apply spend-cap actions on a previously vetted merchant.","exampleAgentPrompt":"I've been paying the same x402 merchant endpoint in a loop for weeks — can you run the drift re-vet decision procedure to figure out whether I should re-probe it, retire it, or apply a spend cap, and log the drift evidence?","exampleUseCases":[{"title":"Long-running payment loop safety check","prompt":"My agent has been autonomously paying the same x402 merchant for two months without re-vetting it — run the merchant drift re-vet decision procedure and tell me whether I should re-probe, retire the endpoint, or apply a spend cap."},{"title":"Suspicious merchant behavior after routine payments","prompt":"One of my agent's regular x402 payment endpoints started returning unexpected responses this week — use the drift detection decision procedure to evaluate whether this is endpoint drift and recommend the right action."},{"title":"Scheduled re-vet policy for agent payment loops","prompt":"I want my agent to periodically check all its long-running x402 merchant endpoints for drift — run the merchant drift re-vet decision procedure for the topic 'scheduled policy review' so I can set up the right re-vet or retire logic."}],"resultDescription":"A structured decision procedure brief (prose) for the agent, including: a recommendation among re-vet, retire, or spend-cap actions; drift evidence logging; generation metadata including ISO-8601 timestamp, model used, and whether the output came from an LLM, reasoning, or deterministic source; and a service slug for tracking.","failureModes":["Payment not received — endpoint requires $0.002 USDC via x402 and will not return paid content without valid payment","Invalid HTTP method — only GET, HEAD, DELETE are accepted; POST/PUT will be rejected","Invalid query param values — 'meta' must be '0' or '1'; other values may cause validation errors","Service unavailable — upstream LLM or reasoning engine may be temporarily unavailable","Empty or malformed topic override — may result in a generic rather than targeted decision brief"],"whenToPreferThis":"Choose this endpoint when your agent operates long-running x402 payment loops and needs a structured, LLM-generated decision procedure to handle merchant drift — specifically to determine whether to re-probe, retire, or apply spend-cap controls on a previously vetted endpoint. Prefer this over generic merchant vetting endpoints when drift detection and evidence logging are required, not initial vetting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:49:12.270Z","isFirstParty":false}