{"uid":"cap_OrKvkvZxsACN-JwyqcTVG","slug":"condition-triggered-payment-release-verification-for-agent-escrow-17588f42","name":"Condition-Triggered Payment Release Verification for Agent Escrow","description":"Decision procedure for agents paying through escrow or programmable-money contracts that release funds when condition X is met. The release proves the contract executed, not that the work behind X happened or that the right party did it. Covers: classifying the condition type (on-chain oracle, attestation, counterparty claim, deliverable hash), checking who asserted X and whether that source is independent of the payee, verifying work evidence before accepting the release, the","url":"https://k2so.wrong.systems/api/services/condition-triggered-payment-release-verification","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":"Condition-triggered payment release verification for agent escrow 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":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"condition-triggered-payment-release-verification","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"condition-triggered-payment-release-verification","provider":"K-2SO"}},"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_jH1yptxbkb9ljbwRlZSxf","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 paid decision procedure for AI agents to verify whether a condition-triggered escrow payment release is legitimate before treating it as settled","exampleAgentPrompt":"Before my agent accepts the escrow payment release triggered by condition X, give me the blunt decision procedure — should it accept-release, verify-before-accept, or refuse-release-with-evidence for this situation?","exampleUseCases":[{"title":"Verify freelance work before releasing escrow","prompt":"A smart contract just triggered to release USDC to a contractor agent claiming they delivered the code. Give me a decision procedure: should I accept the release, verify before accepting, or refuse with evidence?"},{"title":"Autonomous agent marketplace payment settlement","prompt":"My agent is acting as a buyer in a multi-agent marketplace and a condition just fired to release payment for a data delivery task. Walk me through the verification steps I need before treating this release as settled."},{"title":"Refuse suspicious escrow release with evidence","prompt":"An escrow contract for a completed AI task just triggered a payment release but the work logs don't match up — what's the blunt procedure for my agent to refuse the release and document the evidence?"}],"resultDescription":"A paid JSON response containing a prose decision brief ('brief'), a structured decision procedure, a verdict category (accept-release, verify-before-accept, or refuse-release-with-evidence), the topic, generation source (llm/reasoning/deterministic), and an ISO-8601 timestamp of generation. Also includes payment metadata confirming the x402 micropayment was processed.","failureModes":["Payment not provided or insufficient USDC — returns 402 Payment Required","Invalid query parameters cause schema validation failure","LLM generation failure may result in ok:false in the result object","Network or provider downtime returns a server error","Topic override too vague may produce a generic rather than targeted procedure"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs a structured, opinionated decision procedure specifically for verifying condition-triggered escrow releases in programmable money contexts — particularly on Base/USDC with x402 payment flows. Prefer over general legal or contract review tools when the agent needs machine-readable verdicts (accept/verify/refuse) rather than human-readable summaries. Best suited for agents operating in multi-agent marketplaces, on-chain task completion workflows, or any scenario where a smart contract automatically releases funds on a condition.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:39.795Z","isFirstParty":false}