{"uid":"cap_5xByKmIpvdxUqCCuhieve","slug":"x402-seller-kit-cloudflare-worker-template-for-selling-files-with-usdc-fa4ce773","name":"x402 Seller Kit: Cloudflare Worker Template for Selling Files with USDC","description":"Worker template to sell a digital file for USDC on Base: x402 402 challenge, order-code checkout, one-time claims in D1, threat model. $29 USDC.","url":"https://x402-seller-kit.soloearn.workers.dev/download?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"binary","example":{"filename":"x402-seller-kit-v1.zip","contentType":"application/zip","description":"Worker template, orders.js engine, D1 schema, threat model, directory playbook, smoke test"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"29","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":"$29/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"29","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"29","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Amfi9E6NiZmt_jgoyalyu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"29","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Downloads a Cloudflare Worker template (ZIP) for selling digital files for USDC on Base using the x402 payment protocol, including D1 order tracking, one-time claim logic, and a threat model — costs $29 USDC per download.","exampleAgentPrompt":"I want to sell a digital file for USDC on Cloudflare Workers — get me the x402 Seller Kit template that includes the order engine, D1 schema, threat model, and smoke test for $29 USDC.","exampleUseCases":[{"title":"Launch a pay-per-download product","prompt":"I've built a Cloudflare Worker and want to sell access to a ZIP file for USDC — grab me the x402 Seller Kit template so I can set up the 402 challenge, order tracking in D1, and one-time claim logic for $29."},{"title":"Implement crypto paywall for indie tool","prompt":"I'm an indie developer shipping a CLI tool and want to gate the download behind a $29 USDC payment on Base — buy me the x402 Seller Kit worker template so I have the full engine with threat model included."},{"title":"Set up monetized file delivery on Workers","prompt":"I need a Cloudflare Worker template that handles USDC checkout via x402, stores order codes in D1, and enforces one-time download claims — purchase the x402 Seller Kit for me at $29 USDC."}],"resultDescription":"A binary ZIP file (x402-seller-kit-v1.zip) containing a complete Cloudflare Worker template for selling digital files via the x402 payment protocol, including: orders.js engine, D1 database schema, threat model documentation, directory playbook, and a smoke test suite.","failureModes":["Payment not provided or invalid x402 payment proof — 402 Payment Required response","Duplicate order code reuse attempt — one-time claim already consumed, access denied","Network or Worker availability issue — 5xx error from Cloudflare","Malformed request headers — 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need a production-ready, pre-built Cloudflare Worker template for selling digital files with USDC on Base via the x402 protocol, and want one-time-claim enforcement, D1 order tracking, and a threat model included out of the box — rather than building these components from scratch.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:00:58.606Z","isFirstParty":false,"canonicalSlug":"x402-seller-kit-cloudflare-worker-template-for-selling-files-with-usdc-fa4ce773"}