ElementsProject / ElementsProject/lightning

Feature request: xpay should allow overpayment

Open
#8,785 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
3.1k
Forks
1k
Avg merge
4d 10h
Merged PRs (30d)
13

Description

I want to be able to overpay an invoice using xpay.
This is a common method to tip the receiver.

According to the documentation of `xpay` I cannot specify an amount if already get an invoice.

```
**amount_msat** (msat, optional): Only possible for a bolt11 invoice which does not have an amount (in which case, it's compulsory). amount_msat is in millisatoshi precision; it can be a whole number, or a whole number with suffix msat or sat, or a three decimal point number with suffix sat, or an 1 to 11 decimal point number suffixed by btc.
```

I want to be able to overpay.
If I specify an amount which is equal or greater (upto a safety limit) then the invoice amount the payment should succeed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.