{"uid":"cap_zVaV1SrsGcyqw5C_He2xD","slug":"agent-checkout-x402-url-handling-and-settlement-verification-05801d04","name":"Agent Checkout x402 URL Handling and Settlement Verification Procedure (Coinbase)","description":"agent checkout x402_url handling and settlement verification procedure: Coinbase","url":"https://k2so-8080.on.ascii.dev/api/services/agent-checkout-x402-url-handling-and-settlement?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":"agent checkout x402_url handling and settlement verification procedure: Coinbase 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":null,"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_wWgn2dpW9cJeTnnIIOgvU","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 an LLM-generated decision procedure brief guiding agents on how to handle x402 payment URLs and verify settlement using Coinbase rails.","exampleAgentPrompt":"Walk me through the decision procedure for handling x402 payment URLs and verifying Coinbase settlement — I need a step-by-step guide my agent can follow when it hits a 402 response during checkout.","exampleUseCases":[{"title":"Agent x402 checkout flow walkthrough","prompt":"My agent keeps hitting 402 responses during checkout — can you get me the full Coinbase decision procedure for handling x402 URLs so it knows exactly what to do next?"},{"title":"Settlement confirmation after x402 payment","prompt":"After my agent pays via x402, how should it verify that the Coinbase settlement actually went through? Pull the procedure brief so I can wire it into the post-payment step."},{"title":"Building a safe autonomous payment loop","prompt":"I'm building an agent that autonomously processes x402 payments via Coinbase — fetch the decision procedure so I can make sure the checkout URL handling and settlement verification logic is correct before I deploy."}],"resultDescription":"A structured JSON response containing a prose decision procedure brief (the 'brief' field) tailored to x402 URL handling and Coinbase settlement verification, along with metadata including the service slug, generation source (llm/reasoning/deterministic), model used, ISO-8601 generation timestamp, and payment confirmation details indicating whether the call was paid and settled.","failureModes":["Missing or invalid 'method' or 'type' fields in input returns a 400-level validation error","Payment not included or insufficient USDC causes a 402 response requiring the agent to pay before retrying","Service temporarily unavailable returns a 5xx error","LLM generation failure may return ok:false with an empty or absent 'brief' field","Topic override parameter ignored silently if not a recognized slug"],"whenToPreferThis":"Choose this endpoint when your agent needs a structured, LLM-generated decision procedure specifically for x402 payment URL handling and Coinbase settlement verification — not just raw protocol docs. It is ideal for agents that encounter 402 responses during checkout flows and need step-by-step guidance on how to proceed safely and confirm on-chain settlement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:36:29.863Z","isFirstParty":false,"canonicalSlug":"agent-checkout-x402-url-handling-and-settlement-verification-05801d04"}