Is your feature request related to a problem? Please describe.
Currently it is not possible to pay invoices created by the own node. Add a feature that enables this, possibly also taking fee computations (see rebalance-lnd) into account. For this, the channel/peer of the last hop needs to be specified.
Describe the solution you'd like
A new REST endpoint that accepts a target channel/peer, a target amount, and fee/reliability parameters. The implementation then automatically creates an invoice and sends funds back to the own node via the specified channel/peer, if the local balance does not exceed the given value.
Related to #32.
Is your feature request related to a problem? Please describe. Currently it is not possible to pay invoices created by the own node. Add a feature that enables this, possibly also taking fee computations (see rebalance-lnd) into account. For this, the channel/peer of the last hop needs to be specified.
Describe the solution you'd like A new REST endpoint that accepts a target channel/peer, a target amount, and fee/reliability parameters. The implementation then automatically creates an invoice and sends funds back to the own node via the specified channel/peer, if the local balance does not exceed the given value.