Add support for Bitpay invoice create property "paymentCurrencies" (#1589)

This commit is contained in:
Andrew Camilleri
2020-05-24 12:11:26 +02:00
committed by GitHub
parent b5102c4269
commit 80563de587
2 changed files with 13 additions and 1 deletions

View File

@@ -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; }
}
}