Powered by MPP · Machine Payment Protocol
Monetize any API or digital content with per-request micropayments. Apps, Gateways, Functions, or Files - pick your path.
Four ways to monetize
Generate API credentials and integrate SDK middleware to accept per-request payments in any framework.
Reverse-proxy your existing API with zero code changes. PayWeave handles payment collection transparently.
Deploy serverless TypeScript handlers with built-in pricing. Write code, set a price, start earning.
Sell digital downloads with per-download pricing. Upload datasets, models, or documents and let agents pay to access.
How It Works
Sign up and get wallets auto-provisioned. Create apps, gateways, functions, or file collections from the dashboard.
Use SDK middleware, set up a reverse-proxy gateway, deploy serverless handlers, or upload paid files - whichever fits.
Agents pay USD micropayments via MPP on every call. Payments settle in real time to your wallet.
Publish to the bazaar catalog. AI agents find, evaluate, and pay for your services automatically.
Apps give you API credentials and SDK middleware to accept per-request micropayments. Plug into your existing framework - no infrastructure changes needed.
API credentials
Generate app keys instantly. Authenticate every paid request with HMAC-signed headers.
SDK middleware
One-line integration for Express, Hono, Fastify, and Next.js. Add payments to any route.
Revenue dashboard
Track revenue, transactions, and unique payers per app with real-time analytics.
npm install @payweave/honoimport { Payweave } from '@payweave/hono' const pw = new Payweave(appId, secret) app.get('/api/weather', pw.charge({ price: '0.001' }), handler )
api.payweave.dev/gw/weather-apiapi.weather.com/v3Gateways sit in front of your existing API as a reverse proxy. Every request passes through PayWeave, which handles payment collection - zero code changes on your end.
Reverse proxy
Point to any upstream URL. PayWeave proxies requests and handles payment collection automatically.
Upstream authentication
Support for header, query param, and basic auth. Credentials encrypted at rest with AES-256.
Endpoint routing
Define endpoints with wildcard or exact path matching, individual pricing, and method restrictions.
Functions let you deploy serverless TypeScript handlers with built-in micropayments. Write code, set a price, and start earning - no infrastructure to manage.
Serverless handlers
Write TypeScript handlers that deploy instantly. Each handler gets its own URL and pricing.
Built-in playground
Test your handlers directly from the dashboard. Debug requests and responses in real time.
Bazaar discovery
Publish handlers to the discovery catalog so AI agents can find and pay for your services.
export default { price: '0.005', async handler(req) { const { text } = await req.json() const score = analyze(text) return { score, text } } }
Upload files to a collection, set a price per download, and let agents pay to access your data. Datasets, models, reports - any file becomes a paid product.
Any file type
Upload datasets, model weights, PDFs, archives, media - any file up to 100 MB with per-download pricing.
Agent discovery
Files appear in Bazaar discovery so AI agents can find, evaluate, and purchase your data autonomously.
Pay-per-download
No subscriptions or API keys. Agents pay per download via MPP and get the file immediately.
# Agent discovers file $ curl /fl/fc_abc/dataset.csv → 402 Payment Required ($0.50) # Agent pays & downloads $ npx mppx /fl/fc_abc/dataset.csv → 200 OK (2.4 MB, 340ms) # Payment-Receipt: settled ✓
Features
Accept USD on Tempo. Live and test modes with separate wallets.
Publish your endpoints so other agents can discover and interact with your paid services.
First-class middleware for Hono, Express, Fastify, and Next.js. One line to enable payments.
Real-time transaction feed, revenue charts, per-app breakdowns, and endpoint-level stats.
Powered by Privy. Tempo wallets created and managed for you. Withdraw anytime.
When a gateway, function, or file download fails after payment, a refund is created automatically. Process individually or batch with one signature.
Share payment URLs with ?ref=WALLET and earn a percentage of every transaction. Configurable per workspace - default 0.5%, powered by on-chain split payments.
No hidden fees. Pay only when you earn.
No subscription required
No card required
Lower fees, unlimited transactions
Save 2% on every transaction
Earn More
Share any payment URL with ?ref=YOUR_WALLET appended. When someone pays through your link, you earn a percentage - settled on-chain in the same transaction.
Append your wallet address as a ref parameter to any PayWeave payment URL - gateways, functions, or files.
When an agent or user pays through your referral link, your wallet receives a split of the payment automatically.
Referral rewards are paid via on-chain split payments in the same transaction. No claiming, no delays.
Workspace owners control the referral percentage from Settings.
Default: 0.5% per transaction · Configurable up to 10%