diff --git a/Assemblies/BitPay.Net.Lib/net452/BitPay.dll b/Assemblies/BitPay.Net.Lib/net452/BitPay.dll index 252c4ed..82a0c52 100644 Binary files a/Assemblies/BitPay.Net.Lib/net452/BitPay.dll and b/Assemblies/BitPay.Net.Lib/net452/BitPay.dll differ diff --git a/Assemblies/BitPay.Net.Lib/net46/BitPay.dll b/Assemblies/BitPay.Net.Lib/net46/BitPay.dll index 173750f..6f54de8 100644 Binary files a/Assemblies/BitPay.Net.Lib/net46/BitPay.dll and b/Assemblies/BitPay.Net.Lib/net46/BitPay.dll differ diff --git a/Assemblies/BitPay.Net.Lib/net461/BitPay.dll b/Assemblies/BitPay.Net.Lib/net461/BitPay.dll index d67a188..e637d3b 100644 Binary files a/Assemblies/BitPay.Net.Lib/net461/BitPay.dll and b/Assemblies/BitPay.Net.Lib/net461/BitPay.dll differ diff --git a/Assemblies/BitPay.Net.Lib/net462/BitPay.dll b/Assemblies/BitPay.Net.Lib/net462/BitPay.dll index 41282a5..10d46ce 100644 Binary files a/Assemblies/BitPay.Net.Lib/net462/BitPay.dll and b/Assemblies/BitPay.Net.Lib/net462/BitPay.dll differ diff --git a/Assemblies/BitPay.Net.Lib/net47/BitPay.dll b/Assemblies/BitPay.Net.Lib/net47/BitPay.dll index 419ea8a..2fa4fd4 100644 Binary files a/Assemblies/BitPay.Net.Lib/net47/BitPay.dll and b/Assemblies/BitPay.Net.Lib/net47/BitPay.dll differ diff --git a/Assemblies/BitPay.Net.Lib/net471/BitPay.dll b/Assemblies/BitPay.Net.Lib/net471/BitPay.dll index 1797813..a6d7c48 100644 Binary files a/Assemblies/BitPay.Net.Lib/net471/BitPay.dll and b/Assemblies/BitPay.Net.Lib/net471/BitPay.dll differ diff --git a/Assemblies/BitPay.Net.Lib/net472/BitPay.dll b/Assemblies/BitPay.Net.Lib/net472/BitPay.dll index b182bf4..632698b 100644 Binary files a/Assemblies/BitPay.Net.Lib/net472/BitPay.dll and b/Assemblies/BitPay.Net.Lib/net472/BitPay.dll differ diff --git a/Assemblies/BitPay.Net.Lib/netcoreapp2.0/BitPay.deps.json b/Assemblies/BitPay.Net.Lib/netcoreapp2.0/BitPay.deps.json index 431a259..01db3b7 100644 --- a/Assemblies/BitPay.Net.Lib/netcoreapp2.0/BitPay.deps.json +++ b/Assemblies/BitPay.Net.Lib/netcoreapp2.0/BitPay.deps.json @@ -6,7 +6,7 @@ "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v2.0": { - "BitPay/4.0.2104": { + "BitPay/4.1.2111": { "dependencies": { "BouncyCastle": "1.8.9", "Microsoft.CSharp": "4.7.0", @@ -147,7 +147,7 @@ } }, "libraries": { - "BitPay/4.0.2104": { + "BitPay/4.1.2111": { "type": "project", "serviceable": false, "sha512": "" diff --git a/Assemblies/BitPay.Net.Lib/netcoreapp2.0/BitPay.dll b/Assemblies/BitPay.Net.Lib/netcoreapp2.0/BitPay.dll index 26f0165..8cb3775 100644 Binary files a/Assemblies/BitPay.Net.Lib/netcoreapp2.0/BitPay.dll and b/Assemblies/BitPay.Net.Lib/netcoreapp2.0/BitPay.dll differ diff --git a/Assemblies/BitPay.Net.Lib/netcoreapp2.1/BitPay.deps.json b/Assemblies/BitPay.Net.Lib/netcoreapp2.1/BitPay.deps.json index 909aab1..ac42496 100644 --- a/Assemblies/BitPay.Net.Lib/netcoreapp2.1/BitPay.deps.json +++ b/Assemblies/BitPay.Net.Lib/netcoreapp2.1/BitPay.deps.json @@ -6,7 +6,7 @@ "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v2.1": { - "BitPay/4.0.2104": { + "BitPay/4.1.2111": { "dependencies": { "BouncyCastle": "1.8.9", "Microsoft.CSharp": "4.7.0", @@ -137,7 +137,7 @@ } }, "libraries": { - "BitPay/4.0.2104": { + "BitPay/4.1.2111": { "type": "project", "serviceable": false, "sha512": "" diff --git a/Assemblies/BitPay.Net.Lib/netcoreapp2.1/BitPay.dll b/Assemblies/BitPay.Net.Lib/netcoreapp2.1/BitPay.dll index 95b0382..89a056b 100644 Binary files a/Assemblies/BitPay.Net.Lib/netcoreapp2.1/BitPay.dll and b/Assemblies/BitPay.Net.Lib/netcoreapp2.1/BitPay.dll differ diff --git a/Assemblies/BitPay.Net.Lib/netcoreapp2.2/BitPay.deps.json b/Assemblies/BitPay.Net.Lib/netcoreapp2.2/BitPay.deps.json index 97dd7cf..cafdbd3 100644 --- a/Assemblies/BitPay.Net.Lib/netcoreapp2.2/BitPay.deps.json +++ b/Assemblies/BitPay.Net.Lib/netcoreapp2.2/BitPay.deps.json @@ -6,7 +6,7 @@ "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v2.2": { - "BitPay/4.0.2104": { + "BitPay/4.1.2111": { "dependencies": { "BouncyCastle": "1.8.9", "Microsoft.CSharp": "4.7.0", @@ -137,7 +137,7 @@ } }, "libraries": { - "BitPay/4.0.2104": { + "BitPay/4.1.2111": { "type": "project", "serviceable": false, "sha512": "" diff --git a/Assemblies/BitPay.Net.Lib/netcoreapp2.2/BitPay.dll b/Assemblies/BitPay.Net.Lib/netcoreapp2.2/BitPay.dll index 77d0f1d..cfeb832 100644 Binary files a/Assemblies/BitPay.Net.Lib/netcoreapp2.2/BitPay.dll and b/Assemblies/BitPay.Net.Lib/netcoreapp2.2/BitPay.dll differ diff --git a/Assemblies/BitPay.Net.Lib/netstandard2.0/BitPay.deps.json b/Assemblies/BitPay.Net.Lib/netstandard2.0/BitPay.deps.json index c79af50..c3d4094 100644 --- a/Assemblies/BitPay.Net.Lib/netstandard2.0/BitPay.deps.json +++ b/Assemblies/BitPay.Net.Lib/netstandard2.0/BitPay.deps.json @@ -7,7 +7,7 @@ "targets": { ".NETStandard,Version=v2.0": {}, ".NETStandard,Version=v2.0/": { - "BitPay/4.0.2104": { + "BitPay/4.1.2111": { "dependencies": { "BouncyCastle": "1.8.9", "Microsoft.CSharp": "4.7.0", @@ -180,7 +180,7 @@ } }, "libraries": { - "BitPay/4.0.2104": { + "BitPay/4.1.2111": { "type": "project", "serviceable": false, "sha512": "" diff --git a/Assemblies/BitPay.Net.Lib/netstandard2.0/BitPay.dll b/Assemblies/BitPay.Net.Lib/netstandard2.0/BitPay.dll index 4e7384a..1387197 100644 Binary files a/Assemblies/BitPay.Net.Lib/netstandard2.0/BitPay.dll and b/Assemblies/BitPay.Net.Lib/netstandard2.0/BitPay.dll differ diff --git a/Assemblies/BitPay.Net.Lib_4.1.2111.zip b/Assemblies/BitPay.Net.Lib_4.1.2111.zip new file mode 100644 index 0000000..486f813 Binary files /dev/null and b/Assemblies/BitPay.Net.Lib_4.1.2111.zip differ diff --git a/BitPay/BitPay.cs b/BitPay/BitPay.cs index d7f12d3..e083731 100644 --- a/BitPay/BitPay.cs +++ b/BitPay/BitPay.cs @@ -21,8 +21,8 @@ /** * @author Antonio Buedo - * @date 19.04.2021 - * @version 4.0.2104 + * @date 08.11.2021 + * @version 4.1.2111 * * See bitpay.com/api for more information. */ diff --git a/BitPay/BitPay.csproj b/BitPay/BitPay.csproj index 7127aff..45dbd87 100644 --- a/BitPay/BitPay.csproj +++ b/BitPay/BitPay.csproj @@ -5,10 +5,10 @@ net452;net46;net461;net462;net47;net471;net472;netstandard2.0;netcoreapp2.0;netcoreapp2.1;netcoreapp2.2 latest - 4.0.2104.0 - 4.0.2104 - 4.0.2104 - 4.0.2104 + 4.1.2111.0 + 4.1.2111 + 4.1.2111 + 4.1.2111 Antonio Buedo BitPay Inc. BitPay, Inc. diff --git a/BitPay/Env.cs b/BitPay/Env.cs index ee8e28b..e9024ef 100644 --- a/BitPay/Env.cs +++ b/BitPay/Env.cs @@ -7,9 +7,9 @@ public class Env public const string TestUrl = "https://test.bitpay.com/"; public const string ProdUrl = "https://bitpay.com/"; public const string BitpayApiVersion = "2.0.0"; - public const string BitpayPluginInfo = "BitPay_DotNet_Client_v4.0.2104"; - public const string BitpayApiFrame = "custom"; - public const string BitpayApiFrameVersion = "2.0.0"; + public const string BitpayPluginInfo = "BitPay_DotNet_Client_v4.1.2111"; + public const string BitpayApiFrame = "std"; + public const string BitpayApiFrameVersion = "1.0.0"; public class Tokens { public string Merchant { get; set; } diff --git a/BitPay/Models/Invoice/Invoice.cs b/BitPay/Models/Invoice/Invoice.cs index 326568d..79f2ee4 100644 --- a/BitPay/Models/Invoice/Invoice.cs +++ b/BitPay/Models/Invoice/Invoice.cs @@ -155,7 +155,7 @@ public dynamic RefundAddresses public string BillId { get; set; } - public RefundInfo RefundInfo { get; set; } + public List RefundInfo { get; set; } public double AmountPaid { get; set; }