Files
btcpayserver/BTCPayServer.Client/Models/InvoiceRefundTriggerData.cs
Israel Ulelu b445f32b65 feat: exposed invoice accounting endpoint to facilitate refund on btcpayserver app project (#6818)
* feat: exposed invoice accounting endpoint to facilitate refund on btcpayserver app project

* merge from master

* refactor: optimizations

* refactor: added documentation, test assertions and renamed endpoint

* refactor: updated documentation based on code rabbit improvement suggestions

* refactor: updated refund properties terminology
2025-07-14 09:46:28 +09:00

16 lines
651 B
C#

namespace BTCPayServer.Client.Models
{
public class InvoiceRefundTriggerData
{
public decimal PaymentAmountNow { get; set; } = 0m;
public string CurrentRateText { get; set; }
public decimal PaymentAmountThen { get; set; } = 0m;
public decimal InvoiceAmount { get; set; } = 0m;
public decimal? OverpaidPaymentAmount { get; set; } = null;
public string InvoiceCurrency { get; set; } = string.Empty;
public string PaymentCurrency { get; set; } = string.Empty;
public int PaymentCurrencyDivisibility { get; set; }
public int InvoiceCurrencyDivisibility { get; set; }
}
}