{"uid":"cap_xvGenwu3iQu6iEAjjowwC","slug":"agent-rest-stop-receipt-archive-c2add627","name":"Agent Rest Stop – Receipt Archive","description":"Appends one receipt line for an agent.","url":"https://agent-gas-station.agent-gas-station.workers.dev/v1/ReceiptArchive?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"receipt":{"type":"string"},"agent_id":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_OcPTUNq6-v4HwXoYDlfWU","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":"Appends a single receipt line entry to an agent's receipt archive.","exampleAgentPrompt":"Log a receipt for agent 'bot-42' with the line 'USDC 0.01 – API call to ReceiptArchive on 2025-01-15' so we have a record of this transaction.","exampleUseCases":[{"title":"Agent spending audit trail","prompt":"Append a receipt entry for agent 'data-scraper-7' with the text 'Charged $0.01 USDC for web lookup at 14:32 UTC' so I can audit what that agent has been spending."},{"title":"Multi-agent billing log","prompt":"After each task our orchestration agent completes, store a receipt line like 'Task: summarize-doc, cost: 0.01 USDC, timestamp: 2025-01-15T10:00Z' tied to agent ID 'orchestrator-main' so we can reconcile costs later."},{"title":"Real-time agent cost tracking","prompt":"Every time agent 'newsletter-bot' makes a paid API call, record a receipt with the details of that call so I can pull up a full cost history at the end of the month."}],"resultDescription":"A confirmation that the receipt line has been appended to the archive for the specified agent, typically returning a success status and possibly a record identifier.","failureModes":["Missing required fields (receipt or agent_id) returns a validation error","Invalid agent_id format may result in rejection","Duplicate receipt lines may be appended without deduplication, since operation is non-idempotent","Payment failure (x402) if USDC payment of $0.01 is not fulfilled","Service unavailability on the Cloudflare Workers runtime"],"whenToPreferThis":"Use this endpoint when you need a lightweight, per-call receipt logging mechanism for AI agents operating in x402 payment ecosystems. It is ideal for appending individual receipt lines to an ongoing audit trail rather than bulk-importing or querying receipt history. Prefer this over general-purpose databases when you need a simple, cost-tracked append operation tied to agent identity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:55.375Z","isFirstParty":false,"canonicalSlug":"agent-rest-stop-receipt-archive-c2add627"}