{"uid":"cap_DR7Va8W-21Yf00eDxOxFh","slug":"agent-payment-privacy-path-decision-procedure-782c1ce9","name":"Agent Payment Privacy Path Decision Procedure","description":"Deterministic procedure for an agent deciding whether to settle an x402 payment on the public rail or through a privacy-preserving path (stealth address, relay, private mempool, facilitator privacy mode), and how to retain verifiable audit evidence when the on-chain trail is intentionally hidden. Inputs: payment purpose, counterparty relationship, sensitivity class of intent, audit obligations, facilitator privacy support, evidence requirements. Checks: (1) intent sensitivity, classify what the","url":"https://k2so-8080.on.ascii.dev/api/services/agent-payment-privacy-decision-procedure-when-sh","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)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"agent payment privacy path 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"},"payload":{"type":"object"},"service":{"type":"string","description":"Service slug"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"}}},"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_NdYNZBKUnWH_mPdcWqV-q","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":"Deterministic procedure for deciding whether an x402 payment should settle on the public rail or through a privacy-preserving path, and how to retain verifiable audit evidence when the on-chain trail is intentionally hidden.","exampleAgentPrompt":"I need to pay for a sensitive data feed on x402 — the payment involves a regulated counterparty and I have audit obligations, but I want to use a privacy-preserving path if the facilitator supports it. Can you run the privacy path decision procedure to tell me whether to use a stealth address or public rail, and how to retain audit evidence?","exampleUseCases":[{"title":"Regulated data purchase with privacy","prompt":"I'm buying a health-data report over x402 from an external vendor — the intent is sensitive and we have compliance audit obligations, but I'd prefer a private mempool if supported. Walk me through whether to use the public rail or a privacy path and how to document the evidence."},{"title":"Anonymous agent wallet payment routing","prompt":"My agent needs to pay a counterparty I'd rather not expose publicly on-chain, but I still need to prove the payment happened if audited. Tell me which privacy mode to use for this x402 settlement and how to keep verifiable proof."},{"title":"High-sensitivity internal workflow settlement","prompt":"We're running an internal agentic workflow that settles micropayments for confidential IP lookups — sensitivity class is high and the facilitator advertises privacy mode. Should we route through stealth address or relay, and what audit trail do we need to retain?"}],"resultDescription":"A structured decision output indicating whether to settle via public rail or a privacy-preserving path (stealth address, relay, private mempool, or facilitator privacy mode), along with the classification rationale for intent sensitivity and counterparty relationship, and specific guidance on how to retain verifiable audit evidence when the on-chain trail is intentionally obscured.","failureModes":["Missing or ambiguous sensitivity class input may result in an indeterminate decision","Facilitator privacy support flag not provided may cause the procedure to default to public rail","Audit obligation fields not specified may yield incomplete evidence retention guidance","Network or service unavailability returns an HTTP error with no decision payload","Malformed query parameters may cause the handler to return ok: false with no result"],"whenToPreferThis":"Choose this endpoint when an AI agent must make a principled, compliance-aware decision about payment privacy for x402 transactions — especially when the payment involves sensitive intent, regulated counterparties, or audit obligations. It is particularly valuable when the agent must balance on-chain privacy with the need for verifiable evidence, and when facilitator privacy modes (stealth address, relay, private mempool) are available options. Prefer this over ad-hoc logic when the agent must produce a defensible, auditable rationale for its privacy path choice.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:59:26.579Z","isFirstParty":false}