Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Greenfield API endpoint for pull payment LNURL items (#4472)
* Add Greenfield API endpoint for pull payment LNURL items close #4365 * Rename GetLNURLs to GetPullPaymentLNURL * update "ln-url-not-supported" to "lnurl-not-supported" * remove hardcoding of "BTC" * update "PullPayments_LNURL" to "PullPayments_GetPullPaymentLNURL" * update description of 400 status code response Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
- Loading branch information
1 parent
de4ac2c
commit 438dcc4
Showing
6 changed files
with
126 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace BTCPayServer.Client.Models | ||
{ | ||
public class PullPaymentLNURL | ||
{ | ||
public string LNURLBech32 { get; set; } | ||
public string LNURLUri { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters