From 1862c91669441706ba274a29289d34212099925c Mon Sep 17 00:00:00 2001 From: jonathancouchman Date: Fri, 2 Sep 2022 13:58:21 +0100 Subject: [PATCH] Release 6.2.0 --- .../Mock/Http/Recordings/Accounts.json | 32 ++++---- .../Mock/Http/Recordings/BackoffRetry.json | 50 ++++++------ .../Mock/Http/Recordings/Balances.json | 16 ++-- .../Mock/Http/Recordings/Beneficiaries.json | 32 ++++---- .../Mock/Http/Recordings/Client.json | 54 ++++++------- .../Mock/Http/Recordings/Contacts.json | 38 ++++----- .../Mock/Http/Recordings/Conversions.json | 62 +++++++------- .../Mock/Http/Recordings/Funding.json | 6 +- .../Mock/Http/Recordings/Ibans.json | 12 +-- .../Mock/Http/Recordings/Payers.json | 12 +-- .../Mock/Http/Recordings/Payments.json | 80 +++++++++---------- .../Mock/Http/Recordings/Rates.json | 10 +-- .../Mock/Http/Recordings/Reference.json | 24 +++--- .../Mock/Http/Recordings/ReportRequests.json | 16 ++-- .../Mock/Http/Recordings/Transactions.json | 22 ++--- .../Mock/Http/Recordings/Transfers.json | 14 ++-- .../Mock/Http/Recordings/VirtualAccounts.json | 12 +-- .../Http/Recordings/WithdrawalAccounts.json | 10 +-- .../Properties/AssemblyInfo.cs | 4 +- Source/CurrencyCloud/Client.cs | 2 +- .../CurrencyCloud/Properties/AssemblyInfo.cs | 4 +- Source/CurrencyCloud/package.nuspec | 2 +- 22 files changed, 257 insertions(+), 257 deletions(-) diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Accounts.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Accounts.json index 5de41e1..6320f61 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Accounts.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Accounts.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -60,7 +60,7 @@ "body": "?account_name=Acme%20Ltd.&legal_entity_type=company&your_reference=POS-UID-23523&status=enabled&street=12%20Steward%20St&city=London&state_or_province=London&postal_code=E1%206FQ&country=GB&spread_table=no_markup&identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -102,7 +102,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -150,7 +150,7 @@ "body": "?account_name=Acme%20Ltd.&legal_entity_type=company&your_reference=POS-UID-23523&status=enabled&street=12%20Steward%20St&city=London&state_or_province=London&postal_code=E1%206FQ&country=GB&spread_table=no_markup&identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -192,7 +192,7 @@ "path": "/v2/accounts/9c9c2492-b0f3-4cfe-9243-b062c9985a9c", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -240,7 +240,7 @@ "body": "?account_name=Acme%20Ltd.&legal_entity_type=company&your_reference=POS-UID-23523&status=enabled&street=12%20Steward%20St&city=London&state_or_province=London&postal_code=E1%206FQ&country=GB&spread_table=no_markup&identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -283,7 +283,7 @@ "body": "?account_name=Company%20PLC&legal_entity_type=company&your_reference=0012345564ABC&status=enabled&street=12%20Steward%20St&city=London&state_or_province=&postal_code=E1%206FQ&country=GB&spread_table=flat_0.5_percent&identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -325,7 +325,7 @@ "path": "/v2/accounts/9c9c2492-b0f3-4cfe-9243-b062c9985a9c", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -372,7 +372,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -415,7 +415,7 @@ "query": "?account_name=Toptal&order=created_at&order_asc_desc=desc&per_page=5", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -476,7 +476,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -518,7 +518,7 @@ "path": "/v2/accounts/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -579,7 +579,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -626,7 +626,7 @@ "path": "/v2/accounts/e277c9f9-679f-454f-8367-274b3ff977ff/payment_charges_settings", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -668,7 +668,7 @@ "body": "?enabled=true&default=true", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/BackoffRetry.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/BackoffRetry.json index 1079751..463b285 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/BackoffRetry.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/BackoffRetry.json @@ -8,7 +8,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=nobody@nowhere.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -38,7 +38,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=nobody@nowhere.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -68,7 +68,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=nobody@nowhere.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -98,7 +98,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=nobody@nowhere.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -128,7 +128,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=nobody@nowhere.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -158,7 +158,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=nobody@nowhere.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -188,7 +188,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=nobody@nowhere.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -218,7 +218,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=nobody@nowhere.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -252,7 +252,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -275,7 +275,7 @@ "query": "", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -306,7 +306,7 @@ "query": "", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -337,7 +337,7 @@ "query": "", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -368,7 +368,7 @@ "query": "", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -399,7 +399,7 @@ "query": "", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -430,7 +430,7 @@ "query": "", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -461,7 +461,7 @@ "query": "", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -492,7 +492,7 @@ "query": "", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -527,7 +527,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -557,7 +557,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -587,7 +587,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -617,7 +617,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -647,7 +647,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -677,7 +677,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -707,7 +707,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -737,7 +737,7 @@ "path": "/v2/authenticate/api", "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Balances.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Balances.json index d8fd2c0..676ca65 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Balances.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Balances.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -59,7 +59,7 @@ "path": "/v2/balances/GBP", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -90,7 +90,7 @@ "path": "/v2/balances/GBP", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -117,7 +117,7 @@ "query": "?order=created_at&order_asc_desc=desc&per_page=5", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -186,7 +186,7 @@ "path": "/v2/balances/GBP", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -212,7 +212,7 @@ "path": "/v2/balances/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -281,7 +281,7 @@ "path": "/v2/balances/top_up_margin", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?currency=GBP&amount=450" }, diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Beneficiaries.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Beneficiaries.json index f0baf26..22cafd5 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Beneficiaries.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Beneficiaries.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -60,7 +60,7 @@ "body": "?payment_types[]=regular&payment_types[]=priority&bank_country=GB¤cy=GBP&beneficiary_country=GB&account_number=13071472&routing_code_type_1=sort_code&routing_code_value_1=200605", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -111,7 +111,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -171,7 +171,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -225,7 +225,7 @@ "path": "/v2/beneficiaries/c3dafe79-9394-4f43-a1a3-b7a518ab1cba", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -285,7 +285,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -340,7 +340,7 @@ "body": "?bank_account_holder_name=Martin%20McFly&bank_country=US¤cy=USD&name=Employee%20Funds&beneficiary_address=9303%20Roslyndale%20Ave.&beneficiary_country=US&account_number=13071472&routing_code_type_1=sort_code&routing_code_value_1=200606&routing_code_type_2=aba&routing_code_value_2=780&bic_swift=DABADKKK&iban=US89370400440532013000&default_beneficiary=true&bank_address=1%20Courthouse%20Square&bank_name=Emmet%20Bank&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Back%20to%20the%20Future&beneficiary_first_name=Martin&beneficiary_last_name=McFly&beneficiary_city=Hill%20Valley&beneficiary_postcode=91331&beneficiary_state_or_province=CA&beneficiary_date_of_birth=1968-06-09&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -397,7 +397,7 @@ "path": "/v2/beneficiaries/c3dafe79-9394-4f43-a1a3-b7a518ab1cba", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -460,7 +460,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -515,7 +515,7 @@ "query": "?name=Employee%20Funds&order=created_at&order_asc_desc=desc&per_page=5", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -589,7 +589,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -643,7 +643,7 @@ "path": "/v2/beneficiaries/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -717,7 +717,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -771,7 +771,7 @@ "path": "/v2/beneficiaries/c3dafe79-9394-4f43-a1a3-b7a518ab1cba/delete", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -825,7 +825,7 @@ "path": "/v2/beneficiaries/c3dafe79-9394-4f43-a1a3-b7a518ab1cba", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Client.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Client.json index d9af79c..b839a9b 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Client.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Client.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -29,7 +29,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -53,7 +53,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -75,7 +75,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -112,7 +112,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -136,7 +136,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -158,7 +158,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "3907f05da86533710efc589d58f51f45", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -188,7 +188,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -210,7 +210,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -247,7 +247,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -271,7 +271,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -293,7 +293,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -317,7 +317,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -339,7 +339,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -363,7 +363,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -385,7 +385,7 @@ "path": "/v2/balances/wrong", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -417,7 +417,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -441,7 +441,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -464,7 +464,7 @@ "query": "?identifier_type=iban&identifier_value=123abc456xyz", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -492,7 +492,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -516,7 +516,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -538,7 +538,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -576,7 +576,7 @@ "body": "?account_id=78618e58-da3c-447f-ad59-1796accfeff9&first_name=John&last_name=Smith&email_address=john.smith@company.com&phone_number=06554%2087845&your_reference=ACME12345&mobile_phone_number=07564%20534%2054&login_id=john&status=enabled&locale=en-US&timezone=Europe/London&date_of_birth=1980-01-22", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -613,7 +613,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none&on_behalf_of=12d4f6d3-7a52-47e1-8e35-6017a492e3e3", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -666,7 +666,7 @@ "path": "/v2/contacts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -703,7 +703,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -756,7 +756,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Contacts.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Contacts.json index 14d018f..a900b05 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Contacts.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Contacts.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -59,7 +59,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -97,7 +97,7 @@ "body": "?account_id=78618e58-da3c-447f-ad59-1796accfeff9&first_name=John&last_name=Smith&email_address=john.smith@company.com&phone_number=06554%2087845&your_reference=ACME12345&mobile_phone_number=07564%20534%2054&login_id=john&status=enabled&locale=en-US&timezone=Europe/London&date_of_birth=1980-01-22", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -134,7 +134,7 @@ "body": "?login_id=john", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -159,7 +159,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -197,7 +197,7 @@ "body": "?account_id=78618e58-da3c-447f-ad59-1796accfeff9&first_name=John&last_name=Smith&email_address=john.smith@company.com&phone_number=06554%2087845&your_reference=ACME12345&mobile_phone_number=07564%20534%2054&login_id=john&status=enabled&locale=en-US&timezone=Europe/London&date_of_birth=1980-01-22", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -238,7 +238,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -276,7 +276,7 @@ "body": "?account_id=78618e58-da3c-447f-ad59-1796accfeff9&first_name=John&last_name=Smith&email_address=john.smith@company.com&phone_number=06554%2087845&your_reference=ACME12345&mobile_phone_number=07564%20534%2054&login_id=john&status=enabled&locale=en-US&timezone=Europe/London&date_of_birth=1980-01-22", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -312,7 +312,7 @@ "path": "/v2/contacts/38b2e976-60c3-416a-be2e-51c700aed246", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -353,7 +353,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -391,7 +391,7 @@ "body": "?account_id=78618e58-da3c-447f-ad59-1796accfeff9&first_name=John&last_name=Smith&email_address=john.smith@company.com&phone_number=06554%2087845&your_reference=ACME12345&mobile_phone_number=07564%20534%2054&login_id=john&status=enabled&locale=en-US&timezone=Europe/London&date_of_birth=1980-01-22", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -428,7 +428,7 @@ "body": "?first_name=Emmet&last_name=Brown&email_address=dr.emmet.brown@company.com&phone_number=073%20789%201661&your_reference=doc&mobile_phone_number=073%20789%201661&login_id=emmet&status=enabled&locale=en-US&timezone=Europe/London&date_of_birth=1960-01-29", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -464,7 +464,7 @@ "path": "/v2/contacts/38b2e976-60c3-416a-be2e-51c700aed246", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -505,7 +505,7 @@ "path": "/v2/contacts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -542,7 +542,7 @@ "query": "?login_id=development@currencycloud.com&order=created_at&order_asc_desc=desc&per_page=5", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -597,7 +597,7 @@ "path": "/v2/contacts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -633,7 +633,7 @@ "path": "/v2/contacts/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -688,7 +688,7 @@ "path": "/v2/contacts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Conversions.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Conversions.json index 0220ab3..7d98e19 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Conversions.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Conversions.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -61,7 +61,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -117,7 +117,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -167,7 +167,7 @@ "path": "/v2/conversions/5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -223,7 +223,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -274,7 +274,7 @@ "query": "?conversion_ids%5B%5D=5c4716dc-42dd-4571-b4bf-0aa299fff928&order=created_at&order_asc_desc=desc&per_page=5", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -344,7 +344,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -394,7 +394,7 @@ "path": "/v2/conversions/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -464,7 +464,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -514,7 +514,7 @@ "path": "/v2/conversions/5c4716dc-42dd-4571-b4bf-0aa299fff928/cancellation_quote", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -550,7 +550,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -601,7 +601,7 @@ "body": "?notes=some notes here", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -634,7 +634,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -685,7 +685,7 @@ "query": "?new_settlement_date=2018-02-02", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -719,7 +719,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -770,7 +770,7 @@ "body": "new_settlement_date=2018-02-02T12:34:56+00:00", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -804,7 +804,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -855,7 +855,7 @@ "body": "new_settlement_date=2018-02-02T12:34:56+00:00", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -884,7 +884,7 @@ "body": "new_settlement_date=2018-03-05T12:34:56+00:00", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -918,7 +918,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -969,7 +969,7 @@ "query": "?amount=9370", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1017,7 +1017,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1068,7 +1068,7 @@ "body": "?amount=100", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1116,7 +1116,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1167,7 +1167,7 @@ "body": "?amount=9370", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1210,7 +1210,7 @@ "body": "?amount=6951", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1252,7 +1252,7 @@ "path": "/v2/conversions/5c4716dc-42dd-4571-b4bf-0aa299fff928/split_history", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1297,7 +1297,7 @@ "path": "/v2/conversions/56849fdd-95ff-41cc-a521-3bb0799003e7/split_history", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1346,7 +1346,7 @@ "path": "/v2/conversions/profit_and_loss", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1420,7 +1420,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=1000&term_agreement=true&conversion_date_preference=earliest", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Funding.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Funding.json index 180a6a5..6466a3e 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Funding.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Funding.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -60,7 +60,7 @@ "query": "?currency=GBP&order=created_at&order_asc_desc=desc&per_page=5", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Ibans.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Ibans.json index d0605d0..10ded19 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Ibans.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Ibans.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, @@ -61,7 +61,7 @@ "query": "?currency=EUR", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -111,7 +111,7 @@ "path": "/v2/ibans/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -161,7 +161,7 @@ "path": "/v2/ibans/subaccounts/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -211,7 +211,7 @@ "path": "/v2/ibans/subaccounts/e12e108b-52e2-4f02-9477-048638af2bce", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Payers.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Payers.json index 55b9a5d..b7f92e9 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Payers.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Payers.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -60,7 +60,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true&unique_request_id=my-unique-id", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -108,7 +108,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -162,7 +162,7 @@ "body": "?currency=EUR&beneficiary_id=c3dafe79-9394-4f43-a1a3-b7a518ab1cba&amount=10000&reason=Salary%20for%20March&reference=INVOICE%209876&payment_type=regular&payer_entity_type=individual&payer_company_name=Some%20Company%20LLC&payer_first_name=John&payer_last_name=Doe&payer_city=London&payer_address=27%20Colmore%20Row&payer_postcode=W11%202BQ&payer_state_or_province=TX&payer_country=GB&payer_date_of_birth=1980-10-10&payer_identification_type=none&conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -202,7 +202,7 @@ "path": "/v2/payers/9a234e2f-7d25-46f5-8fcf-b473e2b5b36d", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Payments.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Payments.json index 2329257..e42a2e6 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Payments.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Payments.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -60,7 +60,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true&unique_request_id=my-unique-id", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -108,7 +108,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -170,7 +170,7 @@ "body": "?currency=EUR&beneficiary_id=c3dafe79-9394-4f43-a1a3-b7a518ab1cba&amount=10000&reason=Salary%20for%20March&reference=INVOICE%209876&payment_type=regular&payer_entity_type=individual&payer_company_name=Some%20Company%20LLC&payer_first_name=John&payer_last_name=Doe&payer_city=London&payer_address=27%20Colmore%20Row&payer_postcode=W11%202BQ&payer_state_or_province=TX&payer_country=GB&payer_date_of_birth=1980-10-10&payer_identification_type=none&conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -216,7 +216,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true&unique_request_id=my-unique-id", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -264,7 +264,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -326,7 +326,7 @@ "body": "?currency=EUR&beneficiary_id=c3dafe79-9394-4f43-a1a3-b7a518ab1cba&amount=10000&reason=Salary%20for%20March&reference=INVOICE%209876&payment_type=regular&payer_entity_type=individual&payer_company_name=Some%20Company%20LLC&payer_first_name=John&payer_last_name=Doe&payer_city=London&payer_address=27%20Colmore%20Row&payer_postcode=W11%202BQ&payer_state_or_province=TX&payer_country=GB&payer_date_of_birth=1980-10-10&payer_identification_type=none&conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -366,7 +366,7 @@ "path": "/v2/payments/855fa573-1ace-4da2-a55b-912f10103055", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -412,7 +412,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true&unique_request_id=my-unique-id", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -460,7 +460,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -522,7 +522,7 @@ "body": "?currency=EUR&beneficiary_id=c3dafe79-9394-4f43-a1a3-b7a518ab1cba&amount=10000&reason=Salary%20for%20March&reference=INVOICE%209876&payment_type=regular&payer_entity_type=individual&payer_company_name=Some%20Company%20LLC&payer_first_name=John&payer_last_name=Doe&payer_city=London&payer_address=27%20Colmore%20Row&payer_postcode=W11%202BQ&payer_state_or_province=TX&payer_country=GB&payer_date_of_birth=1980-10-10&payer_identification_type=none&conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -563,7 +563,7 @@ "body": "?currency=EUR&beneficiary_id=c3dafe79-9394-4f43-a1a3-b7a518ab1cba&amount=0.23&reason=Prepayment%20of%20salary%20for%20April&reference=INVOICE%20122&payment_type=regular&payer_entity_type=individual&payer_company_name=Jens%20enskild%20firma&payer_first_name=Jennifer&payer_last_name=Waylon&payer_city=Stockholm&payer_address=22%20Garvargatan&payer_postcode=12332&payer_state_or_province=Stockholm&payer_country=SE&payer_date_of_birth=1981-12-10&payer_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -603,7 +603,7 @@ "path": "/v2/payments/855fa573-1ace-4da2-a55b-912f10103055", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -649,7 +649,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true&unique_request_id=my-unique-id", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -697,7 +697,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -759,7 +759,7 @@ "body": "?currency=EUR&beneficiary_id=c3dafe79-9394-4f43-a1a3-b7a518ab1cba&amount=10000&reason=Salary%20for%20March&reference=INVOICE%209876&payment_type=regular&payer_entity_type=individual&payer_company_name=Some%20Company%20LLC&payer_first_name=John&payer_last_name=Doe&payer_city=London&payer_address=27%20Colmore%20Row&payer_postcode=W11%202BQ&payer_state_or_province=TX&payer_country=GB&payer_date_of_birth=1980-10-10&payer_identification_type=none&conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -799,7 +799,7 @@ "path": "/v2/payments/855fa573-1ace-4da2-a55b-912f10103055/submission", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -828,7 +828,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true&unique_request_id=my-unique-id", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -876,7 +876,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -938,7 +938,7 @@ "body": "?currency=EUR&beneficiary_id=c3dafe79-9394-4f43-a1a3-b7a518ab1cba&amount=10000&reason=Salary%20for%20March&reference=INVOICE%209876&payment_type=regular&payer_entity_type=individual&payer_company_name=Some%20Company%20LLC&payer_first_name=John&payer_last_name=Doe&payer_city=London&payer_address=27%20Colmore%20Row&payer_postcode=W11%202BQ&payer_state_or_province=TX&payer_country=GB&payer_date_of_birth=1980-10-10&payer_identification_type=none&conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -978,7 +978,7 @@ "path": "/v2/payments/855fa573-1ace-4da2-a55b-912f10103055/confirmation", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1013,7 +1013,7 @@ "body": "?payment_ids[]=8e3aeeb8-deeb-4665-96de-54b880a953ac&payment_ids[]=f16cafe4-1f8f-472e-99d9-8c828918d4f8&payment_ids[]=d025f90f-a23c-46f9-979a-35a9f98d9491", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1068,7 +1068,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true&unique_request_id=my-unique-id", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1116,7 +1116,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1178,7 +1178,7 @@ "body": "?currency=EUR&beneficiary_id=c3dafe79-9394-4f43-a1a3-b7a518ab1cba&amount=10000&reason=Salary%20for%20March&reference=INVOICE%209876&payment_type=regular&payer_entity_type=individual&payer_company_name=Some%20Company%20LLC&payer_first_name=John&payer_last_name=Doe&payer_city=London&payer_address=27%20Colmore%20Row&payer_postcode=W11%202BQ&payer_state_or_province=TX&payer_country=GB&payer_date_of_birth=1980-10-10&payer_identification_type=none&conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1219,7 +1219,7 @@ "query": "?beneficiary_id=c3dafe79-9394-4f43-a1a3-b7a518ab1cba&conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928&order=created_at&order_asc_desc=desc&per_page=5", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1279,7 +1279,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true&unique_request_id=my-unique-id", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1327,7 +1327,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1389,7 +1389,7 @@ "body": "?currency=EUR&beneficiary_id=c3dafe79-9394-4f43-a1a3-b7a518ab1cba&amount=10000&reason=Salary%20for%20March&reference=INVOICE%209876&payment_type=regular&payer_entity_type=individual&payer_company_name=Some%20Company%20LLC&payer_first_name=John&payer_last_name=Doe&payer_city=London&payer_address=27%20Colmore%20Row&payer_postcode=W11%202BQ&payer_state_or_province=TX&payer_country=GB&payer_date_of_birth=1980-10-10&payer_identification_type=none&conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1429,7 +1429,7 @@ "path": "/v2/payments/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1489,7 +1489,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true&unique_request_id=my-unique-id", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1537,7 +1537,7 @@ "body": "?bank_account_holder_name=John%20Doe&bank_country=DE¤cy=EUR&name=Employee%20Funds&beneficiary_address=23%20Acacia%20Road&beneficiary_country=GB&bic_swift=COBADEFF&iban=DE89370400440532013000&default_beneficiary=true&bank_address=KAISERSTRASSE%2016&bank_name=COMMERZBANK%20AG&bank_account_type=checking&beneficiary_entity_type=company&beneficiary_company_name=Some%20Company%20LLC&beneficiary_first_name=John&beneficiary_last_name=Doe&beneficiary_city=London&beneficiary_postcode=W11%202BQ&beneficiary_state_or_province=TX&beneficiary_date_of_birth=1990-07-20&beneficiary_identification_type=none", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1599,7 +1599,7 @@ "body": "?currency=EUR&beneficiary_id=c3dafe79-9394-4f43-a1a3-b7a518ab1cba&amount=10000&reason=Salary%20for%20March&reference=INVOICE%209876&payment_type=regular&payer_entity_type=individual&payer_company_name=Some%20Company%20LLC&payer_first_name=John&payer_last_name=Doe&payer_city=London&payer_address=27%20Colmore%20Row&payer_postcode=W11%202BQ&payer_state_or_province=TX&payer_country=GB&payer_date_of_birth=1980-10-10&payer_identification_type=none&conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1639,7 +1639,7 @@ "path": "/v2/payments/855fa573-1ace-4da2-a55b-912f10103055/delete", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1679,7 +1679,7 @@ "path": "/v2/payments/855fa573-1ace-4da2-a55b-912f10103055", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1715,7 +1715,7 @@ "query": "?payment_date=2018-01-01&payment_type=regular¤cy=EUR&bank_country=IT", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1747,7 +1747,7 @@ "query": "?payment_currency=USD&payment_destination_country=US&payment_type=regular", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1779,7 +1779,7 @@ "path": "/v2/payments/855fa573-1ace-4da2-a55b-912f10103056", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1826,7 +1826,7 @@ "path": "/v2/payments/46ed4827-7b6f-4491-a06f-b548d5a7512d/tracking_info", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Rates.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Rates.json index 941f81b..3ef9abc 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Rates.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Rates.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -60,7 +60,7 @@ "query": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=6700", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -100,7 +100,7 @@ "query": "?buy_currency=GBP&sell_currency=USD&fixed_side=buy&amount=10000&conversion_date_preference=optimize_liquidity", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -140,7 +140,7 @@ "query": "?currency_pair=USDGBP", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Reference.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Reference.json index fd06e63..286b20f 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Reference.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Reference.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -60,7 +60,7 @@ "query": "?currency=GBP&bank_account_country=GB&beneficiary_country=GB", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -121,7 +121,7 @@ "query": "?conversion_pair=USDGBP", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -393,7 +393,7 @@ "path": "/v2/reference/currencies", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -693,7 +693,7 @@ "query": "?currency=USD", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -744,7 +744,7 @@ "query": "?currency=EUR", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -788,7 +788,7 @@ "query": "?currency=INR&bank_account_country=IN", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1096,7 +1096,7 @@ "query": "?identifier_type=iban&identifier_value=GB19TCCL00997901654515", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1134,7 +1134,7 @@ "path": "/v2/reference/payment_fee_rules", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1175,7 +1175,7 @@ "query": "?payment_type=regular", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -1204,7 +1204,7 @@ "query": "?charge_type=ours", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/ReportRequests.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/ReportRequests.json index 98fa75e..95a265d 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/ReportRequests.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/ReportRequests.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -61,7 +61,7 @@ "body": "description=New+Conversion+test+report?unique_request_id=1b3687dc-c779-4fe7-9515-00a6509632c4", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -103,7 +103,7 @@ "body": "description=New+Payment+test+report?unique_request_id=2422a1ee-b376-4358-a4f2-560aa953c461", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -144,7 +144,7 @@ "path": "/v2/reports/report_requests/de5c215d-93e2-4b24-bdc8-bffbcd80c60f", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -187,7 +187,7 @@ "path": "/v2/reports/report_requests/2d71d2de-bc17-4ffb-88f4-d644b327340f", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -229,7 +229,7 @@ "query": "?report_type=conversion", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -303,7 +303,7 @@ "path": "/v2/reports/report_requests/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Transactions.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Transactions.json index a99ac11..4b141a2 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Transactions.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Transactions.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -60,7 +60,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true&unique_request_id=my-unique-id", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -108,7 +108,7 @@ "query": "?order=created_at&order_asc_desc=desc&per_page=5", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -241,7 +241,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true&unique_request_id=my-unique-id", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -288,7 +288,7 @@ "path": "/v2/transactions/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -421,7 +421,7 @@ "body": "?buy_currency=EUR&sell_currency=GBP&fixed_side=buy&amount=10000.23&reason=Settling%20invoices&term_agreement=true&unique_request_id=my-unique-id", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -469,7 +469,7 @@ "query": "?order=created_at&order_asc_desc=desc&per_page=5", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -596,7 +596,7 @@ "path": "/v2/transactions/0c5c75f6-70ea-4f04-92ee-6148860c3b2b", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -639,7 +639,7 @@ "query": "?order=created_at&order_asc_desc=desc&per_page=5", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -766,7 +766,7 @@ "path": "/v2/transactions/sender/0c5c75f6-70ea-4f04-92ee-6148860c3b2b", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Transfers.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Transfers.json index 49f39f0..a284c2e 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Transfers.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Transfers.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -61,7 +61,7 @@ "body": "?source_account_id=a7117404-e150-11e6-a5af-080027a79e8f&destination_account_id=946f2d58-e150-11e6-a5af-080027a79e8f¤cy=JPY&amount=98765.43&reason=Funding", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -100,7 +100,7 @@ "body": "?source_account_id=1bd29e41-f019-0133-ed7e-0022194273c7&destination_account_id=d9c34271-b7a6-0133-9fe2-0022194273c7¤cy=EUR&amount=1234.56", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -133,7 +133,7 @@ "path": "/v2/transfers/b0c2df71-28db-42ef-b6b7-5710f22d2115", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -172,7 +172,7 @@ "query": "?short_reference=BT-20170118-VMSCBS", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -224,7 +224,7 @@ "path": "/v2/transfers/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/VirtualAccounts.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/VirtualAccounts.json index 9b719a8..6479b08 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/VirtualAccounts.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/VirtualAccounts.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, @@ -60,7 +60,7 @@ "path": "/v2/virtual_accounts/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -107,7 +107,7 @@ "path": "/v2/virtual_accounts", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -154,7 +154,7 @@ "path": "/v2/virtual_accounts/subaccounts/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -201,7 +201,7 @@ "path": "/v2/virtual_accounts/subaccounts/00d272ee-fae5-4f97-b425-993a2d6e3a46", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/WithdrawalAccounts.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/WithdrawalAccounts.json index 9206ee1..ccf0b0b 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/WithdrawalAccounts.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/WithdrawalAccounts.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" }, "body": "?login_id=development@currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }, @@ -34,7 +34,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, @@ -61,7 +61,7 @@ "query": "?account_id=72970a7c-7921-431c-b95f-3438724ba16f", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -108,7 +108,7 @@ "path": "/v2/withdrawal_accounts/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { @@ -166,7 +166,7 @@ "body": "?reference=PullFunds1&amount=100.0", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.1.0" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/6.2.0" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Properties/AssemblyInfo.cs b/Source/CurrencyCloud.Tests/Properties/AssemblyInfo.cs index 6ef54f2..2475578 100644 --- a/Source/CurrencyCloud.Tests/Properties/AssemblyInfo.cs +++ b/Source/CurrencyCloud.Tests/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("6.1.0")] -[assembly: AssemblyFileVersion("6.1.0")] +[assembly: AssemblyVersion("6.2.0")] +[assembly: AssemblyFileVersion("6.2.0")] diff --git a/Source/CurrencyCloud/Client.cs b/Source/CurrencyCloud/Client.cs index 03889b7..5d11c6c 100644 --- a/Source/CurrencyCloud/Client.cs +++ b/Source/CurrencyCloud/Client.cs @@ -36,7 +36,7 @@ public class Client private HttpClient httpClient; private Credentials credentials; private string onBehalfOf; - private const string userAgent = "CurrencyCloudSDK/2.0 .NET/6.1.0"; + private const string userAgent = "CurrencyCloudSDK/2.0 .NET/6.2.0"; internal string Token { diff --git a/Source/CurrencyCloud/Properties/AssemblyInfo.cs b/Source/CurrencyCloud/Properties/AssemblyInfo.cs index f27007d..d49b566 100644 --- a/Source/CurrencyCloud/Properties/AssemblyInfo.cs +++ b/Source/CurrencyCloud/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("6.1.0")] -[assembly: AssemblyFileVersion("6.1.0")] +[assembly: AssemblyVersion("6.2.0")] +[assembly: AssemblyFileVersion("6.2.0")] diff --git a/Source/CurrencyCloud/package.nuspec b/Source/CurrencyCloud/package.nuspec index 7e7d43d..4ec7e15 100644 --- a/Source/CurrencyCloud/package.nuspec +++ b/Source/CurrencyCloud/package.nuspec @@ -2,7 +2,7 @@ CurrencyCloud - 6.1.0 + 6.2.0 Currencycloud Client Library Currencycloud Currencycloud