{"uid":"cap_uXK2uLg6BzZbEAIbNES7f","slug":"earn-shop-pay-per-download-fact-pdf-8c7895d3","name":"Earn Shop – Pay-per-Download Fact PDF","description":"Pay-per-download PDF documents in USDC on Base via the x402 protocol. Settlement runs through the public x402 facilitator; a direct transfer + tx-hash route is also accepted. Failed delivery is refunded.","url":"https://46-225-73-168.sslip.io/buy/fact","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tx":{"type":"string","description":"Direct-transfer route: tx hash of a USDC transfer to payTo covering the price"},"xpayment":{"type":"string","description":"x402 payment payload (base64 JSON), same as the X-PAYMENT/PAYMENT-SIGNATURE header"}}},"responseSchema":{"type":"string","format":"binary"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2rufSXvhdlKKsa9GioRTJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Delivers a pay-gated PDF document (fact sheet) via a micropayment of $0.05 USDC on Base using the x402 protocol or a direct USDC transfer.","exampleAgentPrompt":"Can you buy and download the fact PDF from Earn Shop for me? Pay the $0.05 USDC fee on Base using the x402 payment payload I have ready.","exampleUseCases":[{"title":"Automated fact-sheet purchase for research","prompt":"I need that fact PDF from the Earn Shop — go ahead and pay the 5-cent USDC fee using my x402 payment payload and download it for me."},{"title":"Direct USDC transfer document retrieval","prompt":"I already sent 0.05 USDC on Base to cover the price — here's the transaction hash, use it to retrieve the fact PDF from Earn Shop without going through the x402 facilitator."},{"title":"Agent-triggered content unlocking on purchase event","prompt":"Whenever a user completes their order, automatically buy the corresponding fact PDF from Earn Shop using the x402 payment flow and attach it to their confirmation email."}],"resultDescription":"Returns the PDF document as a binary file stream. If payment settlement fails or delivery cannot be completed, the $0.05 USDC payment is refunded to the sender.","failureModes":["Invalid or malformed x402 payment payload — payment not accepted, document not delivered","Transaction hash not found or insufficient USDC amount — direct-transfer route rejected","Payment settlement failure via x402 facilitator — triggers automatic refund","Network error on Base L2 — transaction unconfirmed, delivery delayed","Double-spend or replay of payment payload — rejected by facilitator"],"whenToPreferThis":"Choose this endpoint when you need to programmatically purchase and retrieve a specific PDF document gated behind a $0.05 USDC micropayment on Base, and you are already integrated with the x402 payment protocol or have a raw USDC transaction hash. Prefer this over free content APIs when the document is exclusively distributed through this pay-per-download channel.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:37:26.040Z","isFirstParty":false}