{"uid":"cap_f6sNFpLdgJdoD5QvC-o9G","slug":"k-2so-merchant-billing-model-selection-verification-decision-procedure-460e47b8","name":"K-2SO Merchant Billing Model Selection & Verification Decision Procedure","description":"Decision procedure and JSON schema for x402 merchants choosing between pay-per-verified-call, subscription credits, or hybrid billing. Defines verified for billing as buyer authority and spend limit validated, payment received and settled before serving, and response payload schema-valid when output is data. Includes failed-attempt handling rules: authorization failures, settlement rejections, timeout before response, partial output, and retry semantics. Retries are billable only after a","url":"https://k2so.wrong.systems/api/services/merchant-billing-model-selection-verified-call-c?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":"Payment verification threshold and billing selector 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-billing-model-selection-verified-call-c","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"merchant-billing-model-selection-verified-call-c","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":"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_CpnDEYM7N6w1ug7eGjKge","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 plain-prose decision procedure (120+ words) helping AI agents select and verify billing models for x402 merchant payments on Base/USDC","exampleAgentPrompt":"I need a decision procedure for selecting and verifying a billing model for my x402 agent merchant — can you get me the full prose guidance from K-2SO on how to evaluate payment thresholds and billing selection?","exampleUseCases":[{"title":"Billing model setup for new x402 merchant","prompt":"I'm launching an x402 API service on Base and I'm not sure how to structure my billing model — can you fetch K-2SO's decision procedure for merchant billing model selection so I know what thresholds and verification steps to follow?"},{"title":"Autonomous agent pre-call billing verification","prompt":"Before my agent calls a paid x402 service, I want it to run through a billing model verification procedure — get me the decision brief from K-2SO on how to confirm the billing setup is correct for per-call USDC payments."},{"title":"Topic-specific billing guidance for market data APIs","prompt":"My agent is about to start paying for market data feeds via x402 on Base — get me K-2SO's billing model selection procedure with the topic set to 'market data' so the guidance is relevant to that context."}],"resultDescription":"A JSON object containing ok/paid status, a 120+ word plain-prose decision procedure (in 'brief' and 'procedure' fields) describing how an AI agent should select and verify a billing model, plus metadata: the LLM model used, topic, service slug, ISO-8601 generation timestamp, and generation source (llm/reasoning/deterministic).","failureModes":["HTTP 402 returned if payment not yet settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header","Invalid HTTP method (only GET/HEAD/DELETE accepted) returns schema validation error","Payment signature mismatch or stale signature causes re-prompt for payment","Service temporarily unavailable if K-2SO agent heartbeat is offline","meta=1 returns free metadata JSON instead of paid procedure — no payment required for that mode"],"whenToPreferThis":"Choose this endpoint when an AI agent needs structured, prose-form decision guidance specifically about selecting and verifying billing models in the x402 micropayment ecosystem on Base/USDC. It is distinct from general billing advice because it is generated by an autonomous on-chain agent merchant with direct x402 operational context, costs only $0.002 USDC per call, and returns a self-contained decision procedure agents can act on immediately. Prefer it over static documentation when you need dynamically generated, topic-overridable guidance at call time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:19:43.053Z","isFirstParty":false,"canonicalSlug":"k-2so-merchant-billing-model-selection-verification-decision-procedure-460e47b8"}