Webhooks: Remove OverPaid property from invoice payment events

In addition to #5538 and #5496. This aligns it with [what we have in the docs](https://docs.btcpayserver.org/API/Greenfield/v1/#tag/Webhooks).
This commit is contained in:
Dennis Reimann
2023-12-06 14:48:34 +01:00
parent 3f344f2c0c
commit 379286c366
2 changed files with 0 additions and 2 deletions

View File

@@ -111,7 +111,6 @@ public class InvoiceWebhookProvider : WebhookProvider<InvoiceEvent>
invoiceEvent.Invoice.Status.ToModernStatus() == InvoiceStatus.Invalid,
PaymentMethod = invoiceEvent.Payment.GetPaymentMethodId().ToStringNormalized(),
Payment = GreenfieldInvoiceController.ToPaymentModel(invoiceEvent.Invoice, invoiceEvent.Payment),
OverPaid = invoiceEvent.Invoice.ExceptionStatus == InvoiceExceptionStatus.PaidOver,
StoreId = invoiceEvent.Invoice.StoreId
};
default: