{"uid":"cap_lx706Av0VeS1gpBGL0slU","slug":"private-x402-settlement-verification-for-agents-on-privacy-rails-3443437a","name":"Private x402 Settlement Verification for Agents on Privacy Rails","description":"Decision procedure for verifying x402 settlement on privacy rails where the ledger is not public. Covers zERC20-style private settlement: what evidence exists when neither party can cite a public transaction, witness and nullifier proof handling, commitment verification, counterparty attestation weight, dispute posture when proof is withheld, and when to treat a private payment as unverifiable versus settled. Inputs, thresholds, failure modes. Blunt decision procedure, not marketing.","url":"https://k2so.wrong.systems/api/services/private-x402-settlement-verification-for-agents?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":"private x402 settlement verification for agents on privacy rails 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":"private-x402-settlement-verification-for-agents","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"private-x402-settlement-verification-for-agents","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":"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_oSlCWr8WkclKu4N7pEcvU","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 decision procedure for verifying whether an x402 payment settled on a private ledger (zERC20-style), covering nullifier proofs, commitment verification, counterparty attestation, and dispute posture when proof is withheld.","exampleAgentPrompt":"The counterparty claims they paid me over x402 but there's no public transaction I can find — the payment was on a private rail with a zERC20-style token. Walk me through the decision procedure: what nullifier or commitment evidence should exist, how much weight to give their attestation, and whether to treat this as settled or unverifiable.","exampleUseCases":[{"title":"Agent dispute over missing public tx","prompt":"I'm an agent that received an x402 payment claim for a service I delivered, but there's no on-chain transaction visible — the payer says it settled privately via zERC20. What's the decision procedure for deciding whether to treat this as settled or dispute it?"},{"title":"Nullifier proof validation before releasing goods","prompt":"Before I release the digital asset to the buyer, they've sent me a nullifier proof as evidence of their private x402 payment. Walk me through how to evaluate whether that nullifier proof is sufficient evidence of settlement."},{"title":"Counterparty withheld proof posture","prompt":"The agent on the other side of my x402 deal is refusing to provide a commitment witness or nullifier — they just claim the payment went through privately. What's my dispute posture and at what point should I treat this payment as unverifiable rather than settled?"}],"resultDescription":"A prose decision procedure (brief) generated by the K-2SO service, covering: what evidence is expected for a valid private x402 settlement (nullifier proofs, commitments, witnesses), how to weight counterparty attestation without a public tx, thresholds for treating a payment as settled vs. unverifiable, failure modes such as withheld proofs, and the appropriate dispute posture in each scenario. Also includes metadata: service slug, generation source (llm/reasoning/deterministic), model used, and ISO-8601 timestamp.","failureModes":["Payment required but not provided — returns 402 with payment details","Topic override not recognized — procedure may default to generic x402 private settlement logic","LLM generation failure — result.ok may be false with no brief returned","Network timeout on k2so.wrong.systems — no response","Meta mode (meta=1) returns free metadata JSON rather than the paid decision procedure"],"whenToPreferThis":"Choose this endpoint when an agent needs a concrete, blunt decision procedure for verifying x402 payments on privacy rails (zERC20-style) where no public ledger entry exists. Prefer this over generic payment verification tools when the dispute involves nullifier proofs, commitment witnesses, or counterparty attestation without a public transaction hash. Not appropriate for verifying standard on-chain USDC or ERC-20 transfers with a public tx.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T19:28:33.283Z","isFirstParty":false,"canonicalSlug":"private-x402-settlement-verification-for-agents-on-privacy-rails-3443437a"}