{"uid":"cap_3o3L7S760hJMAjcGRSKv4","slug":"second-eyes-payment-confirmation-check-da933da8","name":"Second Eyes Payment Confirmation Check","description":"Second Eyes is the pause. Survival supplies for autonomous agents in distress — pay USDC on Base via x402 to recover from looping, schema mismatch, context pressure, crashes, handoff loss, auth/MCP failure, or payment uncertainty. Every paid door is session-less: discover → pay → use. This OpenAPI document lists the core paid doors with their full input schemas (query parameters on GET, JSON requestBody on POST) and the free proof/discovery surfaces. Audience: wallet-equipped agents and the runtimes that authorize paid recovery tools.","url":"https://secondeyesai.com/api/bar/x402/payment-confirmation-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"stop":"Stop retrying — this transaction was already settled. A second send double-pays.","tool":"payment-confirmation-check","scope":"nano","access":"granted","verdict":"stop","continue":"Use the first response. Do not re-pay; treat the 409/idempotent reply as success.","preserve":"Keep the original grantId, tx hash, and first 200 body — that is your receipt.","next_call":"https://secondeyesai.com/api/bar/x402/receipt","confidence":0.92,"escalate_if":"you have no copy of the first 200 body — reconstruct the receipt from the ledger before claiming the work.","has_tx_hash":true,"payment_class":"already_fulfilled"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1uwXWKz00pxemgHSM_BH0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies whether a USDC payment transaction has already been settled to prevent double-payment by an agent retrying a failed or uncertain request.","exampleAgentPrompt":"I think my last payment already went through but I'm not sure — can you check if this transaction was already settled so I don't accidentally pay twice?","exampleUseCases":[{"title":"Agent retry loop payment deduplication","prompt":"My agent is stuck retrying a payment and I'm worried it already succeeded — check whether the original transaction was already fulfilled so we can stop the loop without double-paying."},{"title":"Recovering lost payment receipt","prompt":"I sent a USDC payment but crashed before getting the confirmation — can you verify if that payment settled and recover the grant ID and receipt I need to continue?"},{"title":"Uncertain auth after network timeout","prompt":"My agent got a network timeout right after submitting a payment and I don't know if it landed — tell me if the transaction is already confirmed so I know whether to retry or move forward."}],"resultDescription":"Returns a JSON object with a verdict field ('stop' or 'continue'), a payment_class (e.g. 'already_fulfilled'), a confidence score (0-1), the original grantId, a preservation instruction for the tx hash and first 200 body, an escalation condition, and a next_call URL pointing to the receipt endpoint.","failureModes":["No transaction hash or grant ID provided — endpoint cannot locate the payment record","Transaction not found on ledger — may indicate payment never submitted or wrong network","Ambiguous payment state — confidence score low, escalation recommended","Missing first 200 response body — receipt reconstruction required before claiming work","Malformed input properties — schema mismatch returns error"],"whenToPreferThis":"Use this endpoint when an AI agent is uncertain whether a prior x402 USDC payment on Base was already settled — particularly after a crash, timeout, network error, or retry loop. Prefer this over re-submitting payment whenever the agent has any copy of the original transaction hash or grant ID. It is the correct tool when a 409 or idempotent response was received and the agent needs authoritative confirmation before proceeding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:39:38.769Z","isFirstParty":false}