Add crypto code for invoice and pull payment payout API response (#3099)

* Add "cryptoCode" for invoice payment method API endpoint response

* Add "cryptoCode" for pull payment payout API endpoint response

* Add "#nullable enable" to GreenFieldInvoiceController

* Add "#nullable enable" to GreenfieldPullPaymentController
This commit is contained in:
Umar Bolatov
2021-11-14 21:25:59 -08:00
committed by GitHub
parent 03d2b6eabe
commit d5c38ef336
7 changed files with 67 additions and 9 deletions

View File

@@ -21,6 +21,7 @@ namespace BTCPayServer.Client.Models
public string PullPaymentId { get; set; }
public string Destination { get; set; }
public string PaymentMethod { get; set; }
public string CryptoCode { get; set; }
[JsonConverter(typeof(NumericStringJsonConverter))]
public decimal Amount { get; set; }
[JsonConverter(typeof(NumericStringJsonConverter))]