Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom expiry time for addinvoice #527

Open
kristapsk opened this issue Dec 8, 2022 · 1 comment
Open

Custom expiry time for addinvoice #527

kristapsk opened this issue Dec 8, 2022 · 1 comment

Comments

@kristapsk
Copy link

There is expiry in protobuf spec, but no way to set custom value for it in addinvoice call.

Recently LndHub support was added to SatSale payment processor. For CLN and LND backends expiry is set to configurable invoice expiry, which defaults to 3600 seconds. Would be useful to be able to do the same for LndHub, otherwise currently LN invoice expiry time is bigger than default invoice expiry time for SatSale, so there is higher possibility merchant will have to deal with returning payments.

@frpollg
Copy link

frpollg commented Jan 15, 2023

Any chance to set the expiration time when creating lightning invoices? Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants