mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Pluginize Webhooks and support Payouts (#5421)
Co-authored-by: d11n <mail@dennisreimann.de>
This commit is contained in:
12
BTCPayServer/HostedServices/Webhooks/IWebhookProvider.cs
Normal file
12
BTCPayServer/HostedServices/Webhooks/IWebhookProvider.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
#nullable enable
|
||||
using System.Collections.Generic;
|
||||
using BTCPayServer.Client.Models;
|
||||
|
||||
namespace BTCPayServer.HostedServices.Webhooks;
|
||||
|
||||
public interface IWebhookProvider
|
||||
{
|
||||
public Dictionary<string,string> GetSupportedWebhookTypes();
|
||||
|
||||
public WebhookEvent CreateTestEvent(string type, params object[] args);
|
||||
}
|
||||
Reference in New Issue
Block a user