How it works
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.
Features
- Lightning and on-chain payment support
- Configurable invoice expiry
- Webhook notifications on payment
- Custom redirect URLs after payment
- Payment status tracking
- BIP21 Support
Usage
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

API Reference
See the SatsPay API documentation for endpoint details.
Related Pages
- SatsPay API Reference: API endpoints for this extension
- All Extensions: Browse all LNbits extensions
