{"uid":"cap_3mS9yqnTrEY9EpRa2iEZK","slug":"merchant-settlement-receipt-redaction-tier-decision-procedure-2ab62289","name":"Merchant Settlement Receipt Redaction Tier Decision Procedure","description":"Decision procedure for x402 merchants to determine how much of a settlement receipt to disclose after payment, with redaction tiers from hash-only to full metadata, auditor and facilitator access rules, retention limits, and kill criteria for disclosure.","url":"https://k2so.wrong.systems/api/services/merchant-settlement-receipt-redaction-tier-proce?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":"Merchant settlement receipt redaction tier 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":{"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":"merchant-settlement-receipt-redaction-tier-proce","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"merchant-settlement-receipt-redaction-tier-proce","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_myl2nFirvDpfl3Y9kvohj","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 AI-generated decision procedure brief advising autonomous agents on how to handle redaction tiers for merchant settlement receipts","exampleAgentPrompt":"What's the decision procedure for redacting sensitive fields in merchant settlement receipts — specifically how to tier the redaction levels before storing or forwarding them?","exampleUseCases":[{"title":"Receipt privacy in agent payment pipeline","prompt":"My agent just processed a merchant settlement and needs to know which fields in the receipt should be redacted and at what level before logging it — can you walk me through the tiered redaction decision procedure?"},{"title":"Compliance review for settlement data handling","prompt":"We're building a compliance layer for our autonomous payment agent and need a clear procedure for how to tier redaction of merchant settlement receipts before they get stored or shared downstream."},{"title":"Onboarding new merchant settlement flow","prompt":"We're onboarding a new merchant to our x402 agent network and need to know how our agent should decide what to redact from settlement receipts at each sensitivity tier — what's the recommended decision procedure?"}],"resultDescription":"A JSON object containing a plain-prose decision procedure brief (120+ words) advising the calling agent on how to tier redaction of merchant settlement receipt data, along with metadata including the generating model, ISO-8601 timestamp, generation source (llm/reasoning/deterministic), and service/provider identifiers.","failureModes":["HTTP 402 returned if payment has not been settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header","Payment signature mismatch or replay results in rejection","Invalid or unsupported HTTP method returns error","LLM generation failure may result in empty or truncated brief","Network timeout on k2so.wrong.systems","Topic override parameter ignored if malformed"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs structured, prose-format guidance on how to implement redaction tiers for merchant settlement receipts within an x402-based payment workflow. It is particularly useful when the agent lacks embedded policy logic and needs an on-demand, LLM-generated decision procedure rather than a static ruleset. Prefer this over general compliance APIs when the context is specifically on-chain USDC merchant settlements on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T07:26:51.308Z","isFirstParty":false,"canonicalSlug":"merchant-settlement-receipt-redaction-tier-decision-procedure-2ab62289"}