mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
Add callback doc
This commit is contained in:
@@ -20,12 +20,6 @@ namespace BTCPayServer.Client.Models
|
||||
public string StoreId { get; set; }
|
||||
[JsonProperty(Order = 2)]
|
||||
public string InvoiceId { get; set; }
|
||||
|
||||
public T ReadAs<T>()
|
||||
{
|
||||
var str = JsonConvert.SerializeObject(this, DefaultSerializerSettings);
|
||||
return JsonConvert.DeserializeObject<T>(str, DefaultSerializerSettings);
|
||||
}
|
||||
}
|
||||
|
||||
public class WebhookInvoiceConfirmedEvent : WebhookInvoiceEvent
|
||||
|
||||
Reference in New Issue
Block a user