
API to automate node operations
LNURL allows web services to use Lightning Network functionality in their API endpoints that clients who have implemented one or more of the various flows can interact with autonomously. The client can be a wallet application or even another web service.
Several “Flows” are currently part of the LNURL specifications. They are; Pay, Withdraw, Channel, and Auth. These Flows automate some otherwise manual steps for certain Lightning Network-based operations and standardize the HTTP request and responses.
URLs as Lightning invoices (bech32) #
Why URLs are encoded in this way.
Pay #
API for a service to generate invoices given some parameters.
Withdraw #
API to automate the withdrawal of funds from a service that has been allocated to the requesting client.
Channel #
API to request the creation of incoming channels from a service.
Auth (coming soon) #
Client authenticating to a service using their mnemonic