What actually shipped
Lightning Labs put up a dedicated website for L402 this week, branding it "the protocol for machine-to-machine commerce on Lightning." That's the whole news: not a new protocol, a new front door for one that's already been running. L402 has quietly powered parts of Lightning Labs' own infrastructure for a while; what changed is that it now has a pitch, a name people can point at, and a comparison point in the market it's trying to compete in — agent payments ([The Defiant](https://thedefiant.io/news/infrastructure/lightning-labs-launches-site-for-l402-bitcoin-agent-payments)).
The pitch, per Lightning Labs: "With L402, agents can pay with bitcoin and natively authenticate. No accounts, no intermediaries, no humans involved." That's a company describing its own protocol — worth stating plainly, since "no intermediaries" is doing a lot of marketing work for what is, mechanically, an HTTP status code and a Lightning invoice.
How L402 actually works
The mechanics are genuinely clean, and they're the part worth understanding regardless of which chain you're building on. L402 reuses HTTP's existing 402 Payment Required status code — a code that's been sitting unused in the spec for decades, waiting for exactly this. When a client hits a metered endpoint, the server responds with a 402 and a WWW-Authenticate header carrying a macaroon-style token plus a Lightning invoice. The token bakes in the invoice's payment hash. The client pays the invoice, gets back a payment preimage, and presents token + preimage together to access the endpoint.
The server checks both against each other and never has to phone a payments database to do it — Lightning Labs calls this "stateless verification." For a machine paying per API call thousands of times a day, that's the part that matters: no session cookies, no merchant account, no human clicking "approve." It's a legitimately good pattern for metering access at agent scale — the question is adoption, not design.
Where it's actually running today
Here's the claimed-vs-shown line: L402 isn't a paper spec. Aperture, Lightning Labs' L402 implementation, currently sits in front of Lightning Loop, the company's non-custodial Bitcoin-to-Lightning swap service. That's one real, operating integration — not a hundred partners, not a testnet demo. Everything else on the new site is positioning for what L402 *could* power next: any API that wants to charge agents per call without building its own billing stack.
L402 vs x402 — same problem, different rail
This is where it gets interesting for anyone tracking agent payment rails, not just Bitcoin maximalists. Coinbase's x402 attacks the identical problem — HTTP 402, pay-per-call, agent-native — but settles on Ethereum/Base with USDC, and has Google, Stripe, and Visa attached to varying degrees. Visa separately shipped a CLI payment tool for agents. L402 is the Bitcoin-and-Lightning answer to the same design question: how does a machine pay a machine without a human, an account, or a card network in the loop.
None of these have "won" anything yet. What exists is: one production integration for L402 (Lightning Loop), a growing but still early set of merchants and rails for x402, and a genuine architectural fork in how the agent economy might settle — Bitcoin's Lightning Network vs. EVM stablecoins. Different money, same shape of problem. Builders picking a payment rail for an agent right now are choosing between those two shapes, not between marketing pages.
What to watch
A protocol getting a website is not the same as a protocol getting adopters. The number that matters next isn't the new site's traffic — it's how many APIs beyond Lightning Labs' own products start returning a 402 instead of a login form. Watch for a second real integration outside Lightning Loop; that's the tell for whether L402 becomes a rail other builders reach for, or stays a well-designed protocol with one customer.
Sources
- ▸[Lightning Labs Launches Site for L402 Bitcoin Agent Payments — The Defiant](https://thedefiant.io/news/infrastructure/lightning-labs-launches-site-for-l402-bitcoin-agent-payments)