{"uid":"cap_TPYNxg2AKJptbxrT_jguh","slug":"k-2so-x402-authority-receipt-standard-decision-procedure-d411cdae","name":"K-2SO x402 Authority Receipt Standard Decision Procedure","description":"Paid agent-facing brief on Machine-readable x402 authority receipt standard: a procedure that validates and normalizes payment evidence (model run id, session key, policy id, payer wallet, merchant account, settlement id, retry window) into a uniform receipt schema agents can store, audit, and replay in disputes, distinct from the existing accountability-evidence and refund-path procedures-0. Blunt decision procedure, not marketing.","url":"https://k2so.wrong.systems/api/services/machine-readable-x402-authority-receipt-standard","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":"Machine-readable x402 authority receipt standard: a procedure that val 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":"machine-readable-x402-authority-receipt-standard","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"machine-readable-x402-authority-receipt-standard","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_4OMJ09mFlRcXat11L-2af","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 machine-readable decision procedure brief for validating and normalizing x402 payment evidence into a uniform receipt schema for agent storage, audit, and dispute replay","exampleAgentPrompt":"Give me the decision procedure for validating and normalizing x402 payment receipts — I need to know exactly which fields (model run id, session key, policy id, payer wallet, merchant account, settlement id, retry window) are required and how to store them for dispute replay.","exampleUseCases":[{"title":"Agent payment audit trail setup","prompt":"Walk me through the x402 authority receipt standard so I can build a system that stores normalized payment evidence my agent can replay if a merchant disputes a transaction."},{"title":"Dispute replay procedure for x402 agent","prompt":"My agent needs to replay payment evidence in a dispute — what fields does the x402 authority receipt standard require and how should they be validated before storing?"},{"title":"Distinguishing receipt types in agent payment stack","prompt":"I'm building an x402 payment stack and need to understand how the authority receipt procedure differs from the accountability-evidence and refund-path procedures so I don't conflate them."}],"resultDescription":"A structured prose brief (decision procedure) explaining how to validate and normalize x402 payment evidence fields (model run id, session key, policy id, payer wallet, merchant account, settlement id, retry window) into a uniform receipt schema, including guidance on storage, audit, and dispute replay, along with metadata like generation timestamp and source.","failureModes":["Payment not received (402): endpoint requires $0.002 USDC payment via x402 before returning the paid brief","Invalid method: only GET/HEAD/DELETE are accepted","Topic override not recognized: may fall back to default receipt standard topic","LLM/reasoning generation failure: brief may be empty or truncated if generation source fails"],"whenToPreferThis":"Choose this endpoint when your agent needs a concise, authoritative decision procedure for handling x402 payment receipt validation and normalization — specifically when you need to distinguish the receipt schema from related procedures (accountability-evidence, refund-path) and want a blunt, agent-optimized brief rather than marketing content. Prefer this over general x402 documentation when building dispute-resolution or audit-trail logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T16:26:43.258Z","isFirstParty":false}