You might want to build an application that allows people to receive tips via lightning, receive bitcoin payments via lightning or give your users the ability to receive instant payments. The Bitnob makes this a very easy integration for you.
In order to receive lightning payments, you need to create a lightning invoice. The invoice follows the BOLT11 protocol and contains a segwit address for receiving on-chain payments.
The payment request comes as
request and starts with
ln. We recommend that you show this as a QR to your users while giving them the option to copy the invoice
A sample lightning invoice is
If the amount you set for an invoice is greater than 500,000,000 satoshis(5BTC), we will not return any invoice
When we detect a payment made for an invoice, we will send you a webhook notification with the event type
An invoice expires after 24 hours.
Updated over 1 year ago