{"uid":"cap_kX-WvXNJfG8ozpD-NiPen","slug":"agent-rest-stop-journaltail-92bc3184","name":"Agent Rest Stop – JournalTail","description":"Last receipt ids for a buyer.","url":"https://agent-gas-station.agent-gas-station.workers.dev/v1/JournalTail?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"string"},"buyer_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_93NQ-47_h9kMPF2CsmKJT","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":"Returns the last N receipt IDs recorded for a given buyer, providing a tail view of that buyer's payment journal.","exampleAgentPrompt":"Show me the last 5 receipt IDs for buyer abc123 from the Agent Rest Stop journal.","exampleUseCases":[{"title":"Audit recent agent payment receipts","prompt":"Pull the last 10 receipt IDs for buyer agent-42 so I can verify which payments went through recently."},{"title":"Reconcile buyer transaction history","prompt":"Get me the most recent 3 receipt IDs for buyer wallet-9f2a so I can reconcile them against our records."},{"title":"Debug missing payment acknowledgment","prompt":"Something seems off with buyer b7c3d1 — can you fetch their last 5 receipts from the journal tail so I can see what was processed?"}],"resultDescription":"An ordered list of the most recent receipt IDs associated with the specified buyer, representing the tail of that buyer's payment journal. The number of entries returned is controlled by the n parameter.","failureModes":["Unknown buyer_id returns empty list or 404","Invalid or missing n parameter may return an error or default count","Service unavailable if Cloudflare Worker is down (503)","Payment not processed (402) if x402 payment header is missing or insufficient"],"whenToPreferThis":"Use this endpoint when you need a lightweight, paginated tail view of a specific buyer's receipt history — particularly useful for auditing recent transactions, debugging payment flows, or reconciling the last few receipts without fetching the full journal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:25.406Z","isFirstParty":false,"canonicalSlug":"agent-rest-stop-journaltail-92bc3184"}