mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Pluginize Webhooks and support Payouts (#5421)
Co-authored-by: d11n <mail@dennisreimann.de>
This commit is contained in:
@@ -30,7 +30,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
}
|
||||
public string Id { get; set; }
|
||||
public DateTimeOffset Time { get; set; }
|
||||
public WebhookEventType Type { get; private set; }
|
||||
public string Type { get; private set; }
|
||||
public bool Pruned { get; set; }
|
||||
public string WebhookId { get; set; }
|
||||
public bool Success { get; set; }
|
||||
@@ -57,7 +57,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
public bool Active { get; set; }
|
||||
public bool AutomaticRedelivery { get; set; }
|
||||
public bool Everything { get; set; }
|
||||
public WebhookEventType[] Events { get; set; } = Array.Empty<WebhookEventType>();
|
||||
public string[] Events { get; set; } = Array.Empty<string>();
|
||||
[Uri]
|
||||
[Required]
|
||||
public string PayloadUrl { get; set; }
|
||||
|
||||
@@ -4,6 +4,6 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
{
|
||||
public class TestWebhookViewModel
|
||||
{
|
||||
public WebhookEventType Type { get; set; }
|
||||
public string Type { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user