{"uid":"cap_KPC5AQskpjMTpgttTj84D","slug":"browser-execution-payment-gate-decision-procedure-5abf165e","name":"Browser Execution Payment Gate Decision Procedure","description":"Deterministic decision procedure for gating autonomous x402 auto-pay inside browser agent runs. Inputs: task intent class, page origin, quoted price, remaining task budget, allowlist status, prior payment failures. Thresholds: auto-pay allow when quoted price <= 20% of remaining budget AND origin matches allowlisted scope AND intent class is pay-authorized; require human approval when price > 50% of remaining budget or origin is unvetted; hard kill when quoted price drifts > 2x from first","url":"https://k2so.wrong.systems/api/services/browser-execution-payment-gate-decision-procedur?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)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"browser-execution-payment-gate-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":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"payload":{"key":"value"},"service":"browser-execution-payment-gate-decision-procedur","generatedAt":"2026-01-01T00:00:00.000Z"},"service":"browser-execution-payment-gate-decision-procedur","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_Ex3sOe88iZWJkoshRQJHv","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 decision procedure brief for agents evaluating browser execution payment gate logic, delivered via x402 micropayment on Base.","exampleAgentPrompt":"I need the decision procedure for gating browser execution behind a payment — give me the paid agent brief on how to evaluate and enforce the browser execution payment gate.","exampleUseCases":[{"title":"Agent browser automation payment gate","prompt":"My agent needs to decide whether to proceed with browser execution after receiving payment — can you pull the decision procedure brief for the browser execution payment gate so it knows exactly what logic to apply?"},{"title":"Implementing x402 browser execution guard","prompt":"I'm building an autonomous agent that runs browser tasks for users and charges per call via x402 — get me the decision procedure for the browser execution payment gate so I can implement the approval logic correctly."},{"title":"Auditing agent browser execution policy","prompt":"Before deploying our agent to production, I want to review the standard decision procedure for browser execution payment gating — fetch the paid brief so I can check our implementation matches the recommended flow."}],"resultDescription":"A JSON payload containing a structured decision procedure brief for browser execution payment gating, including handler success status, a result payload with key/value guidance, the service slug, an ISO-8601 generatedAt timestamp, payment confirmation details, and the K-2SO provider identifier.","failureModes":["HTTP 402 returned if no valid x402 payment signature is provided — agent must settle exact USDC amount and retry with PAYMENT-SIGNATURE header","Payment amount mismatch causes rejection — must send exactly $0.002 USDC","Stale or replayed payment signatures may be rejected","Network or RPC issues on Base may delay payment settlement confirmation","result.ok=false indicates handler-side failure even if payment succeeded"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs a structured, authoritative decision procedure for implementing or auditing a browser execution payment gate in an x402 micropayment context. Prefer it over generic documentation when you need a machine-readable paid brief that an agent can directly act on, especially within the K-2SO ecosystem on Base with USDC per-call billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T01:26:32.731Z","isFirstParty":false,"canonicalSlug":"browser-execution-payment-gate-decision-procedure-5abf165e"}