Payment Bots. Glossary.

L402

L402 is a protocol for charging for an API endpoint over HTTP 402 with a Lightning Network payment.

Updated .

Last verified . How we verify · Corrections

Definition

Crypto

L402 is a protocol for charging for an API endpoint over HTTP 402 with a Lightning Network payment. The server's 402 response carries a token and a Lightning invoice. The client pays the invoice and then presents the token together with the payment preimage as proof. The documentation says it is built with a focus on agentic commerce. Status: live. The documentation says its Aperture proxy is used today by Lightning Loop.

Last verified

Why it matters

It applies the same pay-per-request idea as x402 to the Lightning Network, so it is another way an agent can pay for an API.

Sources

Questions and answers

What is L402?

L402 is a protocol for charging for an API endpoint over HTTP 402 with a Lightning Network payment. The server's 402 response carries a token and a Lightning invoice. The client pays the invoice and then presents the token together with the payment preimage as proof. The documentation says it is built with a focus on agentic commerce. Status: live. The documentation says its Aperture proxy is used today by Lightning Loop.

Why does L402 matter for agent payments?

It applies the same pay-per-request idea as x402 to the Lightning Network, so it is another way an agent can pay for an API.

More terms

See the full glossary, the topics and the safety guide. This page and the glossary are free.