# L402 Protocol Spec

> Specification for HTTP 402 Lightning payment authentication with macaroons

Canonical: https://satsforbots.com/tool/l402-protocol-spec/

[← Directory](https://satsforbots.com/directory/)

## L402 Protocol Spec
[Protocols](https://satsforbots.com/category/protocols/)

Specification for HTTP 402 Lightning payment authentication with macaroons
[Visit L402 Protocol Spec ↗](https://github.com/lightninglabs/L402)

 | Website | [https://github.com/lightninglabs/L402](https://github.com/lightninglabs/L402)
 | Category | Protocols
 | Last verified | 2026-10-16

## Related
[Protocols](https://satsforbots.com/category/protocols/)
### [Nostr Wallet Connect (NWC)](https://satsforbots.com/tool/nostr-wallet-connect-nwc/)
Open protocol for apps and agents to control a remote Lightning wallet with scoped permissions

[Protocols](https://satsforbots.com/category/protocols/)
### [Cashu](https://satsforbots.com/tool/cashu/)
Chaumian ecash protocol on Bitcoin/Lightning used for private agent micropayments
