mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
18 lines
535 B
C#
18 lines
535 B
C#
using System;
|
|
|
|
namespace BTCPayServer.Models.StoreViewModels
|
|
{
|
|
public class WebhooksViewModel
|
|
{
|
|
public class WebhookViewModel
|
|
{
|
|
public string Id { get; set; }
|
|
public string Url { get; set; }
|
|
public bool LastDeliverySuccessful { get; set; } = true;
|
|
public DateTimeOffset? LastDeliveryTimeStamp { get; set; } = null;
|
|
public string LastDeliveryErrorMessage { get; set; } = null;
|
|
}
|
|
public WebhookViewModel[] Webhooks { get; set; }
|
|
}
|
|
}
|