{"uid":"cap_fC6YtdK_jNRn3ZGOgLLUW","slug":"zk-proof-gated-settlement-acceptance-decision-procedure-099c723f","name":"ZK-Proof-Gated Settlement Acceptance Decision Procedure","description":"Decision procedure for agents choosing between plain x402 calls and ZK-proof-gated settlement. When a provider offers atomic proof-verified delivery, this procedure tells you: (1) whether the proof type matches the claimed execution (circuit pinning, verification key check, proof standard), (2) which circuit/verifier sources are trustworthy enough to accept, (3) when plain payment is acceptable (low value, idempotent, replayable) versus when you must demand proof before paying (high value,","url":"https://k2so.wrong.systems/api/services/agent-decision-procedure-for-accepting-zk-proof?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":"ZK-proof-gated settlement acceptance 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":"down","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_LyGnZLxFLsv_qtl3ZV0lA","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 blunt, agent-facing decision procedure for when to accept ZK-proof-gated settlement versus plain x402 payment execution, including how to verify proofs, which circuits to trust, and when to demand proof before paying.","exampleAgentPrompt":"Give me the blunt decision procedure for when I should accept a ZK-proof-gated settlement versus just doing a plain x402 payment — I need to know how to verify the proof, which circuits to trust, and when demanding proof before paying is actually worth it.","exampleUseCases":[{"title":"Evaluating atomic proof-verified delivery offer","prompt":"A provider is offering me atomic proof-verified delivery with a ZK settlement gate — walk me through exactly when I should accept that versus just paying plain x402, and how I verify the proof is legit before I commit funds."},{"title":"Building agent circuit trust policy","prompt":"I'm building an agent that receives x402 settlement offers from unknown providers — give me a decision procedure for which ZK circuits I should trust and which I should reject outright, with no marketing fluff."},{"title":"Gating high-value payments behind proof requirement","prompt":"My agent is about to make a high-value x402 payment and the provider says they support ZK-proof-gated settlement — what's the step-by-step procedure for deciding whether to demand proof before paying versus just executing the plain payment?"}],"resultDescription":"A structured prose brief containing: a blunt decision procedure for accepting ZK-proof-gated settlement vs plain x402 execution; steps for how an agent verifies a ZK proof from a provider; criteria for which circuits to trust; conditions under which plain x402 payment is acceptable; and conditions under which the agent must demand proof before paying. Also includes the generation source (llm/reasoning/deterministic), model used, and ISO-8601 timestamp.","failureModes":["Payment not included — returns 402 requiring $0.002 USDC via x402 before content is served","Invalid or missing 'method' field in input schema — returns validation error","Topic override not recognized or out of scope — may return generic procedure rather than topic-specific guidance","Provider backend unavailable — returns error with no brief generated","Malformed request body — returns schema validation failure"],"whenToPreferThis":"Use this endpoint when an agent needs a concrete, non-marketing decision procedure for evaluating ZK-proof-gated settlement offers in x402 contexts — specifically when the agent must decide at runtime whether to require cryptographic proof of delivery before releasing payment, or when building a trust policy for ZK circuits. Prefer this over generic ZK documentation when you need agent-executable logic rather than explanatory prose.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T01:26:26.833Z","isFirstParty":false,"canonicalSlug":"zk-proof-gated-settlement-acceptance-decision-procedure-099c723f"}