{"uid":"cap_uPIwQpaTrimSTHhhlafrD","slug":"second-eyes-agent-lounge-session-receipt-retrieval-ddd58788","name":"Second Eyes Agent Lounge — Session Receipt Retrieval","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/receipt","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"note":"Session-less one-shot survival pack. Embed work_stamp in your deliverable. Save receipt.","slug":"receipt","scope":"nano","access":"granted","fields":["session_id","services_ordered","session_time_usd","services_cost_usd","mark_id","attestation"],"service":"receipt","pack_type":"passport_stamp","price_usd":0.03,"attestation":{"leave_receipt":"https://secondeyesai.com/api/bar/leave","verify_lounge":"https://secondeyesai.com/api/bar/proof","session_receipt":"https://secondeyesai.com/api/bar/receipt"},"session_required":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_J4t4M0CqzqtBkGlMXOf4U","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a session receipt with attestation fields after a paid x402 USDC transaction, confirming access and providing a work stamp for the agent's deliverable.","exampleAgentPrompt":"I just paid $0.03 USDC on Base via x402 for a Second Eyes lounge session — can you fetch my session receipt and give me the work stamp and attestation fields so I can embed them in my deliverable?","exampleUseCases":[{"title":"Post-payment attestation retrieval","prompt":"I finished paying for a Second Eyes recovery session via x402 — grab my receipt now so I have the mark_id, services cost, and attestation links to save with my output."},{"title":"Agent looping crash recovery proof","prompt":"My agent just recovered from a looping crash using Second Eyes and paid USDC on Base — fetch the session receipt so I can confirm the services ordered and embed the work stamp in the final deliverable."},{"title":"Audit trail for autonomous agent spend","prompt":"I need to log what my agent spent during a Second Eyes session — pull the receipt with session_time_usd, services_cost_usd, and the attestation for our records."}],"resultDescription":"A JSON object containing session receipt fields: session_id, services_ordered, session_time_usd, services_cost_usd, mark_id, pack_type (passport_stamp), attestation URLs (leave_receipt, verify_lounge, session_receipt), access status (granted), and a note to embed the work_stamp in the deliverable. Session is one-shot and session-less.","failureModes":["Payment not yet confirmed on Base — receipt may return access denied or empty fields","Invalid or missing session_id — returns no matching session data","x402 payment not processed — endpoint returns 402 requiring payment before receipt is available","Network timeout on Base blockchain confirmation — receipt not yet available","Malformed properties parameter — may return schema mismatch error"],"whenToPreferThis":"Use this endpoint immediately after completing a $0.03 USDC x402 payment on Base for a Second Eyes agent recovery session, when you need to retrieve attestation fields, work stamp, and cost breakdown to embed in your deliverable or audit log. Prefer this over the proof or leave endpoints when your goal is to collect the full receipt record post-payment rather than verify lounge access or depart the session.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:45:26.187Z","isFirstParty":false}