mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-24 01:14:20 +01:00
Add support for Bitpay invoice create property "paymentCurrencies" (#1589)
This commit is contained in:
@@ -82,5 +82,9 @@ namespace BTCPayServer.Models
|
||||
|
||||
[JsonProperty(PropertyName = "redirectAutomatically", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
||||
public bool? RedirectAutomatically { get; set; }
|
||||
|
||||
//Bitpay compatibility: create invoice in btcpay uses this instead of supportedTransactionCurrencies
|
||||
[JsonProperty(PropertyName = "paymentCurrencies", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
||||
public IEnumerable<string> PaymentCurrencies { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user