{"uid":"cap_DLJijh7s684f3jYXr4A0P","slug":"checkout-mandate-boundary-decision-map-d6998d6c","name":"Checkout Mandate Boundary Decision Map","description":"Decision procedure and schema for choosing between a user-signed open Checkout Mandate and an agent-signed closed Payment Mandate when an agent reprices a cart after the user leaves. Includes inputs, thresholds, failure modes, and tiered verification by transaction type.","url":"https://k2so.wrong.systems/api/services/checkout-mandate-boundary-decision-map","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":"Checkout mandate boundary decision map 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":"checkout-mandate-boundary-decision-map","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"checkout-mandate-boundary-decision-map","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_NF8HLej2pd4r3T_HYgXLf","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 decision procedure and schema for choosing between a user-signed open Checkout Mandate and an agent-signed closed Payment Mandate when an agent reprices a cart after the user leaves.","exampleAgentPrompt":"I need to know whether my agent should use an open Checkout Mandate signed by the user or a closed Payment Mandate signed by itself when it reprices a cart after the user has already left — can you get me the decision procedure and thresholds for that boundary call?","exampleUseCases":[{"title":"Cart repricing mandate selection at checkout","prompt":"My agent just repriced the cart after the user left the session — walk me through the decision procedure for whether it should use the user-signed open Checkout Mandate or sign a closed Payment Mandate itself, including any amount thresholds I need to respect."},{"title":"Tiered verification by transaction type","prompt":"What level of verification does my agent need to apply depending on whether this is a subscription renewal, a one-time purchase, or a high-value order when deciding which mandate type to use for autonomous repricing?"},{"title":"Debugging mandate boundary failure modes","prompt":"My autonomous agent failed during a post-checkout repricing step and I'm not sure which mandate boundary rule it violated — can you pull up the failure modes and error conditions from the checkout mandate boundary decision procedure?"}],"resultDescription":"A structured JSON payload containing a prose decision procedure (brief) explaining when to use a user-signed open Checkout Mandate vs an agent-signed closed Payment Mandate, including inputs, numeric thresholds, failure modes, tiered verification requirements by transaction type, the generation source (llm, reasoning, or deterministic), and an ISO-8601 timestamp of when the procedure was generated.","failureModes":["Payment required if meta=0 and no x402 payment header is provided — returns 402 with payment details","Invalid HTTP method (POST, PUT, PATCH) returns error since only GET/HEAD/DELETE are accepted","Topic override may return a procedure unrelated to mandate boundary if malformed","Service unavailable or generation failure returns ok:false in the result object","Network timeout or provider-side LLM/reasoning failure may produce an empty or partial brief"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs structured, authoritative guidance on whether to use a user-signed open Checkout Mandate or an agent-signed closed Payment Mandate during post-checkout cart repricing within x402 payment flows. It is especially valuable when implementing agentic checkout pipelines where the user may no longer be present and the agent must make a bounded authorization decision without human confirmation. Prefer this over general payment documentation when you need machine-readable decision logic, thresholds, and failure modes in a single paid API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:27:45.037Z","isFirstParty":false}