Make APIs economically accessible.
Agents don't authenticate with credentials. They authenticate with payment. Lightning Enable is the infrastructure layer that turns payment into authentication.
For agents and API consumers — infrastructure handled behind the scenes.
Everything you need to use L402 APIs. Free, open source, no account required.
15 tools for AI agent payments. Works with Claude Code, Cursor, Windsurf, VS Code, and any MCP-compatible client.
Read the setup guide →Drop-in HTTP client. Handles 402 challenges, payments, and credential caching automatically.
Higher-level SDK for building agents with built-in L402 payment capabilities.
Compatible wallets: LND, Strike, Alby Hub, CoinOS. OpenNode/Primal work for direct payments but don't return preimage for L402.
Three lines. Paid APIs just work.
Install the library. Set one env var. Write normal code. Invoices are paid automatically, credentials cached, budgets enforced.
"Buy a Lightning Enable snapback for my colleague's birthday."
Agent browses catalog → selects product → pays Lightning invoice → returns claim link. No account. No credit card. No human needed for the transaction.
Running in production at store.lightningenable.com
Deploy L402 payment gating. Your users and agents never need an account.
Connect your payment provider, configure your endpoints, and deploy. Lightning Enable turns your API into an L402-protected service. Consumers authenticate by paying — you never manage user accounts.
Use our dashboard to set per-endpoint pricing, manage API manifests for agent discoverability, and monitor revenue in real time. Your APIs become accessible to every L402-compatible agent — no integration work on their side.
Agents experience an accountless world. Builders configure infrastructure once so agents don't have to.
Your API is listed across multiple directories so agents can find you automatically.
Your agents become sellers, not just buyers. Create and verify L402 challenges programmatically.
Create a Lightning invoice + macaroon that your agent presents to other agents or users as a 402 challenge.
Verify an L402 token (macaroon + preimage) to confirm payment before granting access to your resource.
Serve both human customers and AI agents from the same infrastructure. Lightning Enable handles the payment protocol so you can focus on your product.
Bring Your Own API Key. Lightning Enable is middleware — your payment provider handles custody and settlement.
Any HTTP client hits a protected endpoint.
Server returns a Lightning invoice for the exact cost.
Payment settles in milliseconds. The preimage is cryptographic proof.
Payment hash is the credential. No accounts. No cookies.
You could run your own Lightning node, manage Docker containers, and implement L402 from scratch. Or you could ship this week.
No Lightning node. No Docker. No protocol expertise. Bring a Strike or OpenNode API key — we handle invoices, macaroons, preimage verification, and settlement. You write your app.
The only platform supporting both L402 (macaroon + preimage) and Machine Payments Protocol out of the box. Your APIs work with any agent — regardless of which payment standard they use.
Your APIs are automatically listed across multiple discovery channels: the Agent Commerce Store (21 live APIs, 1–10 sats/call), NostrWolfe (agent relay with encrypted negotiation and reputation attestations), and the L402 Registry.
$99–$299/mo flat. Zero per-transaction fees from us. Payments settle directly to YOUR provider account. We never touch your funds, control keys, or take a cut. You keep 100% of what agents pay.
Billing for developers and platform builders
Deploy L402 infrastructure with predictable, flat-rate billing.
Full L402 access for individual developers
Full Agentic Commerce for individual developers. L402 + settlement via Strike API.
Pay-per-request API monetization
For platforms monetizing APIs, AI access, or usage-metered services via Lightning.
Pay-per-request API monetization
For platforms monetizing APIs, AI access, or usage-metered services via Lightning.
Flat subscription — no per-transaction fees from us. Your provider may charge their own fees.*
30-Day Free Trial on Select Plans
No charge until trial ends. Card required. Cancel anytime during the trial at no cost. Available on Agentic Commerce plans.
Pay with Bitcoin — 10% off, Lightning invoice, no contracts.
Pay with BitcoinLightning Enable is API middleware. Your payment provider (Strike or OpenNode) facilitates custody and settlement. Consult legal counsel for your regulatory obligations.