SatBotly

Can an agent pay with L402 (Lightning HTTP 402)?

YES
protocoll402lightning

Lightning Labs' standard for charging for API endpoints with a Lightning invoice plus a macaroon credential.

Visit docs.lightning.engineering ↗← Back to the full list

Proof

“L402 allows services to charge for API endpoints in a way that is easy for AI agents to participate.”

Details

Verdict
Yes: there is a documented way for an agent to pay with no human per payment.
Kind
protocol
Rails
l402, lightning
Last checked
2026-10-18

More in Can an agent pay?