How PayFence works
Three steps to turn any API into a revenue stream. No infrastructure, no billing code.
Connect your API
Point PayFence at any HTTP endpoint in seconds. Choose proxy mode for zero code changes, or add one middleware call to keep your domain. Your API stays exactly where it is — we handle authentication, quota enforcement, and billing automatically.
PayFence Dashboard
Configure in 2 minutes
PayFence Gateway
Enforcing quotas & auth
Your API
Unchanged, secure
Pricing Plans
Configure in dashboard
Free
1K requests/mo
Pro
Popular100K requests/mo
Enterprise
Unlimited + SLA
Metered billing, quotas, and overages — all automatic
Configure pricing
Create unlimited plans with custom quotas, monthly or annual billing, per-plan rate limits, and usage tiers. Set it once in the dashboard — PayFence enforces limits, sends quota warning webhooks at 80% usage, and bills customers automatically through Stripe. No invoice logic, no payment code.
Collect revenue
Customers subscribe via Stripe, get instant API access, and you receive payouts automatically. Track MRR, active subscribers, and per-plan revenue breakdowns in the dashboard. PayFence handles renewals, failed payments, quota enforcement, and quota warning alerts — you focus on building.
Revenue Dashboard
LIVEMonthly Revenue
$12,847
Subscribers
847
API Calls
2.4M
Uptime
99.9%
New subscriber: Pro plan
2m agoPayment received: $49
8m agoChoose your integration
Proxy for zero-code setup. Middleware to keep your domain.
| Feature | Reverse Proxy | Middleware |
|---|---|---|
| Code changes required | None | One line |
| Your domain | Custom domain or PayFence URL | Keep yours |
| Latency added | ~35ms (p50) | ~8ms (p50) |
| Security | HMAC-signed | Token validation |
| Quota enforcement | Automatic | Automatic |
| Setup time | 2 minutes | 5 minutes |
| Best for | Quick start | Custom domains |