d11n
7db510b5ca
Swagger: Fix errors, warnings and formatting ( #6410 )
...
* Fix linting errors
* Fix linting warnings
* Fix inconsistend indentation and unify formatting
* Extract StoreId schemas
* Extract CryptoCode parameter
* Extract AppId parameter
* More StoreId parameter references
* Extract WebhookId and DeliveryId parameters
* Extract InvoiceId parameter
* Formatting
2024-11-20 22:46:55 +09:00
A. I. Oleynikov
9e76b4d28e
Fix swagger ( #5380 )
2023-10-10 14:15:07 +09:00
d11n
0bc6967dbc
Greenfield: Add payment hash and preimage to Lightning invoices ( #4520 )
...
* Greenfield: Add payment hash and preimage to Lightning invoices
Closes #4475 .
* Greenfield: Add payment hash and preimage to invoice payment method details
* Refactor LN payment method details retrieval
2023-01-13 17:29:41 +09:00
Nicolas Dorier
cdac238f6d
[Greenfield]: Add DescriptionHashOnly to include a description hash in the BOLT11 ( #4411 )
...
* [Greenfield]: Add DescriptionHashOnly to include a description hash in the BOLT11
* Add CLN test case
* Improve description in Swagger file
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2022-12-13 18:56:33 +09:00
d11n
e56cbf0baa
Greenfield: Graceful return for in-flight HTLCs ( #4252 )
...
* Greenfield: Graceful return for in-flight HTLCs
Based on btcpayserver/BTCPayServer.Lightning#106 this closes #3781 .
* Update descriptions
2022-11-02 21:03:34 +09:00
d11n
6d7c11f1b1
Greenfield: Get Lightning invoices ( #4180 )
...
* Greenfield: Get Lightning invoices
Matching the data added in btcpayserver/BTCPayServer.Lightning#98 and btcpayserver/BTCPayServer.Lightning#99 .
* Small adjustments
Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2022-10-17 09:51:15 +02:00
d11n
4bee8e9bfe
Greenfield: Extend LN GetInfo data ( #4167 )
...
Matching the data added in btcpayserver/BTCPayServer.Lightning#97 .
2022-09-28 09:34:34 +09:00
Nicolas Dorier
eec54831ef
Update lightning lib, on-chain balance shouldn't be lightmoney ( #3945 )
2022-07-08 10:55:26 +09:00
d11n
61c6a2ab57
Greenfield: Add balance endpoint ( #3887 )
...
* Greenfield: Add balance endpoint
* Remove superfluous try/catch
2022-06-23 13:42:28 +09:00
d11n
6d76771b16
Lightning: Allow specifying explicit amount for invoices ( #3753 )
...
* Upgrade Lightning lib
* Lightning: Allow specifying explicit amount for invoices
* Fix tests
2022-05-18 14:57:36 +09:00
d11n
8981414705
API: Add Lightning Payment info endpoint ( #3557 )
...
* Upgrade Lightning lib
* API: Add Lightning Payment info endpoint
2022-04-12 18:01:58 +09:00
d11n
23049439c0
API: Add description hash to CreateLightningInvoiceRequest ( #3559 )
...
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
2022-03-17 10:15:27 +01:00
d11n
cd3807a3d8
Lightning payment info and fee handling ( #3454 )
...
* Lightning payment info and fee handling
Builds on the additions in btcpayserver/BTCPayServer.Lightning#59 and btcpayserver/BTCPayServer.Lightning#61 .
Adds payment information (total amount and fees) to the API response and allows to set an optional maximum fee percentage when paying.
* Add max fee flat
2022-02-17 18:01:39 +09:00
Andrew Camilleri
1ae6508a43
Make dates/timespan swagger docs more clear ( #2399 )
...
* Make dates/tiemspan swagger docs more clear
* fix schema conformity
2021-03-30 11:18:00 +09:00
nicolas.dorier
8dd6ecc0b8
Fix lightning implementation, docs and tests
2020-06-09 17:24:34 +09:00
nicolas.dorier
d9a93f996f
Merge branch 'master' of https://github.com/btcpayserver/btcpayserver
2020-05-29 18:47:40 +09:00
Kukks
4947fa4d45
Add also money json converter
2020-05-29 10:15:01 +02:00
Kukks
37f4b34b5e
Add Lightmoney json converter + do swagger defs for ln api
2020-05-29 10:04:28 +02:00
nicolas.dorier
66206399e1
Rename LightningPrivateRouteHint =>privateRouteHints
2020-05-29 09:03:07 +09:00
Andrew Camilleri
1e3f62718d
GreenField: Cross-implemenation Lightning Node API ( #1566 )
...
* GreenField: Cross-implemenation Lightning Node API
* switch to hard unrsstricted check
* fix
* set LightningPrivateRouteHints in swagger + stores api
* add priv route hint
* rename models and add swagger defs to models
2020-05-29 09:00:13 +09:00