Feature req: Pay BOLT11 invoices via BTCPay Server API
See original GitHub issueHi all,
With LN being so hot right now, one feature that would be super useful to me as a merchant is the ability to pay BOLT11 invoices via the BTCPay Server API.
Not the whole lncli/lightning-cli API is needed. Just the ability to: 1) Initiate payment of an lnbc invoice and 2) Check the status of that payment.
How I imagine it would work:
When initiating a withdrawal, the initiate endpoint would need to create and return a withdrawal ID. The check status endpoint, when provided the withdrawal ID, would then return a success
, failure
, or processing
status of the withdrawal.
For reference see the OpenNode docs under Withdrawals Endpoints => Initiate a withdrawal & Withdrawal info
But why don’t you just SSH in and run the commands yourself?
I’d like to be able to this programmatically and save myself from making a separate webserver + authentication on the same VM as my BTCPay Server instance.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top GitHub Comments
There is still no API for most operations in any case. You need to wait till we plan it all
On Sun, Mar 10, 2019, 16:48 Ross Dyson notifications@github.com wrote:
Why not using the embedded Ride the Lightning or Spark wallet?