{"uid":"cap_uks_bbd11ZDLE9acMS6Ag","slug":"x402-payment-ledger-query-de8d638d","name":"x402 Payment Ledger Query","description":"Query recent x402 payment history for seller","url":"https://risk-api-production-af85.up.railway.app/ledger?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"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.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_9gi0zQJhnZ8men7oAsPuy","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":"Retrieves recent x402 payment history for a seller on the Base blockchain","exampleAgentPrompt":"Pull up the recent x402 payment history for my seller account so I can see what micropayments have come in.","exampleUseCases":[{"title":"Audit API revenue from x402","prompt":"Show me the recent x402 payment ledger so I can audit how much revenue my API has collected from callers this week."},{"title":"Verify payment received before fulfilling","prompt":"Check my x402 payment ledger to confirm that a payment from a recent caller actually landed before I release the resource."},{"title":"Track micropayment activity over time","prompt":"Pull my x402 seller ledger so I can see the history of micropayments coming in and spot any unusual gaps or spikes in activity."}],"resultDescription":"A list of recent x402 payment records for the seller, including transaction details such as payment amounts, timestamps, and payer information recorded on the Base blockchain.","failureModes":["No payment history found — ledger is empty or seller has no x402 transactions","Upstream blockchain indexer unavailable — returns 503 or timeout","Invalid or missing authentication — returns 401/403 if seller identity cannot be established","Rate limit exceeded — returns 429 if too many queries in short period","Network connectivity issues to Railway-hosted service — returns 502 or connection error"],"whenToPreferThis":"Choose this endpoint when you need to audit or review x402 micropayment history for a seller account, especially when operating within the x402 payment protocol ecosystem on Base. Prefer this over generic blockchain explorers when you specifically need structured ledger data formatted for x402 payment flows and seller-side reconciliation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:32:43.585Z","isFirstParty":false,"canonicalSlug":"x402-payment-ledger-query-de8d638d"}