Lightning Labs Unveils Website for L402, Enabling AI Agent Payments
Lightning Labs has launched a dedicated website for L402, a protocol that enables AI agents to pay for API endpoints using Bitcoin on the Lightning Network.
L402 reuses HTTP's 402 status code, allowing services to charge for gated endpoints in a way that is easy for AI agents to participate.
The mechanism involves the server responding with an HTTP 402 Payment Required and a WWW-Authenticate header containing a token and a Lightning invoice.
The client pays the invoice and presents the token together with the payment preimage to access the endpoint, without querying a payment database.