Create onchain and LN charges. Includes webhooks!
Easily create invoices that support Lightning Network and on-chain BTC payment.
- Create a "NEW CHARGE"

- Fill out the invoice fields
- set a description for the payment
- the amount in sats
- the time, in minutes, the invoice is valid for, after this period the invoice can't be paid
- set a webhook that will get the transaction details after a successful payment
- set to where the user should redirect after payment
- set the text for the button that will show after payment (not setting this, will display "NONE" in the button)
- select if you want on-chain payment, LN payment or both
- depending on what you select you'll have to choose the respective wallets where to receive your payment

- The charge will appear on the Charges section

- Your customer/payee will get the payment page
- they can choose to pay on LN

- or pay on-chain

- they can choose to pay on LN
- You can check the state of your charges 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
