@model EditWebhookViewModel @using BTCPayServer.Client.Models; @using BTCPayServer.HostedServices.Webhooks @inject WebhookSender WebhookSender @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData.SetActivePage(StoreNavPages.Webhooks, "Webhook Settings", Context.GetStoreData().Id); } @section PageHeadContent { }

@ViewData["Title"]

The endpoint receiving the payload must validate the payload by checking that the HTTP header BTCPAY-SIG of the callback matches the HMAC256 of the secret on the payload's body bytes.

Events

@foreach (var evt in WebhookSender.GetSupportedWebhookTypes()) {
}
@if (Model.IsNew) { } else { }
@if (!Model.IsNew && Model.Deliveries.Count > 0) {

Recent deliveries

}
@section PageFootContent { }