Add callback doc

This commit is contained in:
nicolas.dorier
2020-11-16 12:05:15 +09:00
parent df79c2cf48
commit 07c5c2972d
8 changed files with 359 additions and 12 deletions

View File

@@ -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