{"uid":"cap_wfUV4Z0T0AX5NTZKLu8C9","slug":"passkey-approval-gate-for-conversational-agent-payments-a3e4d6dd","name":"Passkey Approval Gate for Conversational Agent Payments","description":"Deterministic procedure for an agent running a conversational x402 payment flow to decide when it may act alone (availability checks, quote requests, holds below threshold) versus when it must pause for a human passkey approval before settling (amount above threshold, new counterparty, scope change, refund). Includes nonce and scope binding so the approval can only apply to the exact payment presented to the human, approval expiry, replay protection, and a fallback ladder when the human is","url":"https://k2so.wrong.systems/api/services/passkey-approval-gate-conversational-agent-payme?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":"passkey approval gate for conversational agent payments 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":"passkey-approval-gate-conversational-agent-payme","generatedAt":"2026-01-01T00:00:00.000Z"},"service":"passkey-approval-gate-conversational-agent-payme","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_5FmBBXEGjhkZrKN9Yxxzo","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 for implementing a passkey-based approval gate that governs whether a conversational AI agent may authorize per-call x402 payments on behalf of a user.","exampleAgentPrompt":"I need a decision procedure for adding a passkey approval gate to my conversational agent so it asks for user confirmation before authorizing any x402 USDC payment — what steps should it follow?","exampleUseCases":[{"title":"Preventing unauthorized agent spending","prompt":"My conversational agent keeps making x402 micropayments automatically without checking with me first — can you give me a passkey approval gate procedure so it has to verify my identity before each payment?"},{"title":"Building a consent flow for agent wallets","prompt":"I'm building a voice-based AI assistant that can spend USDC on my behalf via x402 — I need a decision procedure for a passkey gate it runs before authorizing any transaction, so I stay in control."},{"title":"Compliance gate for customer-facing agent payments","prompt":"My customer-facing chatbot handles x402 payments and I need to implement a proper approval gate using passkeys so users explicitly authorize charges — what's the step-by-step decision procedure for that?"}],"resultDescription":"A JSON payload containing a structured decision procedure (ok: true, service slug, generatedAt timestamp, and a payload object) that describes how a conversational agent should implement a passkey-based approval gate before authorizing x402 USDC payments. Also includes provider identity (K-2SO) and payment confirmation metadata.","failureModes":["HTTP 402 returned if payment is not settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header","Invalid or missing payment signature returns payment error with code and detail fields","Network or provider unavailability may return non-200 status with ok: false","Malformed query parameters (e.g. invalid meta value) may produce schema validation errors"],"whenToPreferThis":"Choose this endpoint when you need a concrete, agent-ready decision procedure specifically for gating conversational agent payments behind passkey user authorization. It is well-suited for builders integrating x402 micropayment flows into chat or voice agents who need an explicit user-consent step before funds are spent. Prefer this over generic auth documentation when you want a paid, structured, machine-readable brief optimized for autonomous agent consumption.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:42:55.807Z","isFirstParty":false,"canonicalSlug":"passkey-approval-gate-for-conversational-agent-payments-a3e4d6dd"}