{"uid":"cap_bk4ft62oRPRP2UISQvJNw","slug":"earn-shop-pay-per-download-pdf-fa23362b","name":"Earn Shop – Pay-per-Download 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/bromley27","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.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jyOBzL_nQvsp2bbn3UeYf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sells and delivers a specific PDF document for $0.10 USDC on Base, accepting either an x402 payment payload or a direct USDC transfer transaction hash.","exampleAgentPrompt":"I want to buy and download the bromley27 PDF — go ahead and pay the $0.10 USDC using my x402 payment payload and give me the file.","exampleUseCases":[{"title":"Purchasing a gated research PDF","prompt":"I want to download the bromley27 research document — please pay the $0.10 USDC fee using my x402 payment and hand me the PDF file."},{"title":"Automated document acquisition with tx hash","prompt":"I already sent 0.10 USDC to the payTo address for the bromley27 PDF — here's my transaction hash, use it to claim and download the document for me."},{"title":"Agent-driven content purchase pipeline","prompt":"As part of the research workflow, purchase the bromley27 PDF from the Earn Shop for $0.10 USDC using x402 and save the downloaded file locally."}],"resultDescription":"Returns the raw binary content of the purchased PDF document (binary stream). If payment is invalid or delivery fails, a refund is issued and an error is returned.","failureModes":["Invalid or malformed x402 payment payload — payment rejected, no file delivered","Transaction hash not found or insufficient USDC amount — payment not recognized","Payment already used (replay) — rejected as duplicate","Network or settlement failure — refund issued by facilitator","File not found or server error — binary not returned"],"whenToPreferThis":"Use this endpoint when you need to programmatically purchase and retrieve a specific gated PDF document (bromley27) using a USDC micropayment on Base via the x402 protocol or a direct transfer. Prefer this over manual browser-based purchases when automating document acquisition in an agent workflow. Not suitable for free documents, non-PDF content, or payment methods other than USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:31:28.251Z","isFirstParty":false}