{"uid":"cap_6nHJxIpGLy9PfTJAsrCox","slug":"earn-shop-pdf-download-a41f02b3","name":"Earn Shop PDF Download","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/ukrr","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_mkgf53tBHfDs19Ri76Ak2","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":"Delivers a pay-per-download PDF document in exchange for a USDC micropayment on Base via the x402 protocol, returning the binary file after successful payment settlement.","exampleAgentPrompt":"I want to buy and download the PDF at the Earn Shop listing /buy/ukrr — pay for it using my x402 payment payload and give me the file.","exampleUseCases":[{"title":"Purchase gated research report","prompt":"Buy me the PDF research report listed at the Earn Shop for 0.10 USDC using my x402 payment — I want the actual file downloaded so I can read it."},{"title":"Automated content delivery bot","prompt":"Every time a user submits a valid USDC transaction hash for the /buy/ukrr listing, fetch the corresponding PDF from Earn Shop and deliver it to them automatically."},{"title":"Direct transfer PDF purchase","prompt":"I already sent 0.10 USDC on Base to the payTo address — here's the tx hash, use it to claim and download the PDF from the Earn Shop."}],"resultDescription":"A binary PDF file is returned directly in the response body upon successful payment verification. If payment settlement fails or delivery cannot be completed, a refund is issued and no file is returned.","failureModes":["Invalid or unconfirmed tx hash — payment not recognized, no file delivered","Insufficient USDC amount in transfer — settlement rejected","Malformed x402 payment payload (bad base64 or JSON) — 400 error","Payment already used (replay) — duplicate payment rejected","Network or blockchain congestion causing settlement timeout","File delivery failure triggers automatic refund"],"whenToPreferThis":"Use this endpoint when you need to programmatically purchase and retrieve a specific pay-per-download PDF document using USDC micropayments on the Base network via the x402 protocol or a direct on-chain transfer. It is ideal for agents automating crypto-native content purchases where traditional subscription or API-key billing is not available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:30:31.828Z","isFirstParty":false}