Zaprite

Add Lightning Payments To Your Invoices Using LNbits

Connect your own node via LNbits and offer your clients the option to pay in Lightning, directly to your own self-custody node wallet.

Zaprite Team

3 min read

add lightning payments to your invoices using lnbits
On this page

Zaprite now offers the ability to add Lightning payments on all invoices. You can connect your own node via LNbits API key and offer your clients the option to pay in Lightning, directly to your own self-custody node wallet.

Connect your node

The following is a short guide on how you can connect your own node using LNbits.

Step 1: Activate LNbits Plugin

LNbits payments first need to be activated at the account level. Simply visit Connections and click the ‘Connect’ link under the LNbits card.

Activate the LNbits plugin in your Zaprite account.

Once activated, the card will now show ‘Settings’ which you can click to configure your connection.

Step 2: Configure your connection

The next step involves adding your node URL and LNbits Invoice API key.

LNbits Settings Screen

Configure the LNbits connection settings for your node.

On your node (Umbrel, MyNode, etc.), click into your LNbits app and generate a new wallet.

Generate a new wallet on your node using LNbits, or using an LNbits.com demo wallet.

Node URL

You can add a Tor onion URL (http) or a clearnet URL (https). You cannot add a Tor URL using https. SSL is only supported on clearnet URLs.

If you are connecting your own node—for example, Umbrel or MyNode—you will need to use the Tor onion address for your LNbits app. This is different to the general node Tor address. It is specific to the LNbits app.

You can find this by simply logging into your node over Tor, clicking into the LNbits app within your node dashboard and then copying the URL in the browser address bar. For MyNode users, you can also find your LNbits Tor address in the Tor Services section.

Example Umbrel/MyNode URL (Tor):

If you are using the hosted demo at LNbits.com, then your clearnet node URL will be:

API Key

Find your Invoice/read key and copy/paste it into the Invoice API field in your Zaprite account. The Invoice/read key is restricted to only generating receiving invoices. Zaprite never has access to control your funds. We can only ever generate receiving invoices on your behalf.

Step 3: Enable LNbits on new Invoices

Now you are free to enable Lightning payments via LNbits on new invoices. Simply click the LNbits toggle in Payments section to allow your client to pay over Lightning.

enable lnbits lightning payments on new invoices at zaprite

Enable LNbits Lightning payments on a new Invoice.

When you send a new Invoice, the recipient will now see a Lightning option and a QR code will be automatically generated by Zaprite using the live BTC rate at the time. When your invoice is paid, you will receive an email notification with the payment details and the payer will receive an email receipt.

zaprite hosted payment page showing an lnbits lightning payment option

Our hosted payment page will now show a Lightning payment option to the recipient.

That’s it! You should now have self-custody Lightning payment options enabled on your Zaprite invoices.

If you run into any issues connecting your node, or have general questions about using Zaprite, feel free to reach out at https://help.zaprite.com.

Published by Zaprite Team

Dec 21, 2021

Keep reading

More guides

Guides

How To Connect Branta

Easily connect your Branta account to Zaprite and enable Branta's address verification features on your Checkouts.

2 min read

Zaprite Aqua Wallet Integration

Guides

How To Connect Your Aqua Wallet

Connect your Aqua Wallet Lightning Address to your Zaprite Checkouts and receive lightning payments directly into your self-custody wallet.

2 min read

Ready to get started?

Start your Free Trial today or reach out to our Sales team with any questions.