mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
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
This commit is contained in:
17
BTCPayServer.Client/Models/CreateLightningInvoiceRequest.cs
Normal file
17
BTCPayServer.Client/Models/CreateLightningInvoiceRequest.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using BTCPayServer.Lightning;
|
||||
using BTCPayServer.Lightning.JsonConverters;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace BTCPayServer.Client.Models
|
||||
{
|
||||
public class CreateLightningInvoiceRequest
|
||||
{
|
||||
[JsonProperty(ItemConverterType = typeof(LightMoneyJsonConverter))]
|
||||
public LightMoney Amount { get; set; }
|
||||
public string Description { get; set; }
|
||||
public TimeSpan Expiry { get; set; }
|
||||
public bool LightningPrivateRouteHints { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user