Skip to content

lnbits/satspay

Repository files navigation

LNbits

License: MIT Built for LNbits

SatsPay Server - LNbits extension

Create payment pages that accept both Lightning and on-chain Bitcoin. Includes webhook support for integrating payments into your applications.

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

  1. Create a new charge

    new charge

  2. 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

    charge form

  3. The charge appears in the Charges section

    charges

  4. Your customer sees the payment page and can choose Lightning

    offchain payment

    Or on-chain

    onchain payment

  5. Track payment status in LNbits

    invoice state

Powered by LNbits

LNbits is a free and open-source lightning accounts system.

Visit LNbits Shop Try myLNbits SaaS

About

Create onchain and LN charges

Resources

License

Stars

8 stars

Watchers

3 watching

Forks

Packages

 
 
 

Contributors