SatsPay Server - LNbits extension
Create payment pages that accept both Lightning and on-chain Bitcoin. Includes webhook support for integrating payments into your applications.
Create charges with customizable amounts, expiry times, and payment options. Share the payment page with your customer. When paid, webhooks notify your backend and the user can be redirected to a success page.
- Lightning and on-chain payment support
- Configurable invoice expiry
- Webhook notifications on payment
- Custom redirect URLs after payment
- Payment status tracking
- BIP21 Support
-
Create a new charge
-
Fill out the invoice fields
- Description for the payment
- Amount in sats
- Expiry time in minutes
- Webhook URL for payment notifications
- Redirect URL after successful payment
- Button text for the success page
- Select payment methods (on-chain, Lightning, or both)
- Choose the receiving wallets
-
The charge appears in the Charges section
-
Your customer sees the payment page and can choose Lightning
Or on-chain
-
Track payment status in LNbits
LNbits is a free and open-source lightning accounts system.
Mempool HTTP requests and live WebSocket updates use LNbits core destination validation, IP pinning and response limits. Redirects and environment proxies are disabled. Public destinations cannot target the LNbits server's own addresses.
An administrator using a trusted LAN or localhost mempool service must enable
mempool_allow_private_ips in the extension settings. This defaults to false,
including after upgrading an existing installation; private services require an
explicit opt-in. The exception applies only to the configured mempool origin and
base path, never to charge webhooks. It allows RFC1918, IPv6 ULA and loopback
addresses; link-local/cloud metadata, multicast and unspecified addresses remain
blocked. The canonical LNbits origin remains blocked. Use a separate port for a
local mempool service. Hostnames are resolved and pinned on each connection.
These extension changes require the accompanying updated LNbits core utilities.





