diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Accounts.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Accounts.json index 3c395a2..d2d6be9 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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -102,7 +102,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -192,7 +192,7 @@ "path": "/v2/accounts/9c9c2492-b0f3-4cfe-9243-b062c9985a9c", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -325,7 +325,7 @@ "path": "/v2/accounts/9c9c2492-b0f3-4cfe-9243-b062c9985a9c", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -372,7 +372,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -476,7 +476,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -518,7 +518,7 @@ "path": "/v2/accounts/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -579,7 +579,7 @@ "path": "/v2/accounts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -668,7 +668,7 @@ "body": "?enabled=true&default=true", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Balances.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Balances.json index 14071a1..f82c4e5 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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -59,7 +59,7 @@ "path": "/v2/balances/GBP", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -90,7 +90,7 @@ "path": "/v2/balances/GBP", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -186,7 +186,7 @@ "path": "/v2/balances/GBP", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -212,7 +212,7 @@ "path": "/v2/balances/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -281,7 +281,7 @@ "path": "/v2/balances/top_up_margin", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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 2a1b9d8..b985484 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Beneficiaries.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Beneficiaries.json @@ -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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -397,7 +397,7 @@ "path": "/v2/beneficiaries/c3dafe79-9394-4f43-a1a3-b7a518ab1cba", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -643,7 +643,7 @@ "path": "/v2/beneficiaries/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -825,7 +825,7 @@ "path": "/v2/beneficiaries/c3dafe79-9394-4f43-a1a3-b7a518ab1cba", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Client.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Client.json index e3d1102..5b7b543 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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -53,7 +53,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -112,7 +112,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -136,7 +136,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -188,7 +188,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -247,7 +247,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -271,7 +271,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -317,7 +317,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -363,7 +363,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -417,7 +417,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -441,7 +441,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -492,7 +492,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -516,7 +516,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -666,7 +666,7 @@ "path": "/v2/contacts/current", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -756,7 +756,7 @@ "path": "/v2/authenticate/close_session", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Funding.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Funding.json index fd800b7..3f16e05 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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Ibans.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Ibans.json index ec344cc..43333f2 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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, @@ -61,7 +61,7 @@ "query": "?currency=EUR", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -111,7 +111,7 @@ "path": "/v2/ibans/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -161,7 +161,7 @@ "path": "/v2/ibans/subaccounts/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Payers.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Payers.json index b9bd8fd..3222e87 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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -109,7 +109,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -163,7 +163,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -203,7 +203,7 @@ "path": "/v2/payers/9a234e2f-7d25-46f5-8fcf-b473e2b5b36d", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Payments.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Payments.json index 46c4a23..1b874ee 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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -109,7 +109,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -171,7 +171,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -217,7 +217,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -266,7 +266,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -328,7 +328,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -368,7 +368,7 @@ "path": "/v2/payments/855fa573-1ace-4da2-a55b-912f10103055", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -414,7 +414,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -463,7 +463,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -525,7 +525,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -566,7 +566,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -606,7 +606,7 @@ "path": "/v2/payments/855fa573-1ace-4da2-a55b-912f10103055", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -652,7 +652,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -701,7 +701,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -763,7 +763,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -803,7 +803,7 @@ "path": "/v2/payments/855fa573-1ace-4da2-a55b-912f10103055/submission", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -832,7 +832,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -881,7 +881,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -943,7 +943,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -983,7 +983,7 @@ "path": "/v2/payments/855fa573-1ace-4da2-a55b-912f10103055/confirmation", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1018,7 +1018,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1073,7 +1073,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1122,7 +1122,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1184,7 +1184,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1225,7 +1225,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1285,7 +1285,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1334,7 +1334,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1396,7 +1396,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1436,7 +1436,7 @@ "path": "/v2/payments/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1496,7 +1496,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1545,7 +1545,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1607,7 +1607,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1647,7 +1647,7 @@ "path": "/v2/payments/855fa573-1ace-4da2-a55b-912f10103055/delete", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1687,7 +1687,7 @@ "path": "/v2/payments/855fa573-1ace-4da2-a55b-912f10103055", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1723,7 +1723,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1755,7 +1755,7 @@ "query": "?payment_currency=USD&payment_destination_country=US&payment_type=regular", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Rates.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Rates.json index e0375a8..2422015 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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -140,7 +140,7 @@ "query": "?currency_pair=USDGBP", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Reference.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Reference.json index 4683874..6dad826 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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -121,7 +121,7 @@ "query": "?conversion_pair=USDGBP", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -280,7 +280,7 @@ "path": "/v2/reference/currencies", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -580,7 +580,7 @@ "query": "?currency=USD", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -631,7 +631,7 @@ "query": "?currency=EUR", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -675,7 +675,7 @@ "query": "?currency=INR&bank_account_country=IN", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -983,7 +983,7 @@ "query": "?identifier_type=iban&identifier_value=GB19TCCL00997901654515", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1021,7 +1021,7 @@ "path": "/v2/reference/payment_fee_rules", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1062,7 +1062,7 @@ "query": "?payment_type=regular", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1091,7 +1091,7 @@ "query": "?charge_type=ours", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/ReportRequests.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/ReportRequests.json index 4fc7a1e..99f2247 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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -229,7 +229,7 @@ "query": "?report_type=conversion", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -303,7 +303,7 @@ "path": "/v2/reports/report_requests/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Settlements.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Settlements.json index 1a01475..584ba5d 100644 --- a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Settlements.json +++ b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Settlements.json @@ -7,7 +7,7 @@ "method": "POST", "path": "/v2/authenticate/api", "headers": { - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -60,7 +60,7 @@ "body": "?type=net", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -95,7 +95,7 @@ "body": "?type=net", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -124,7 +124,7 @@ "path": "/v2/settlements/48143aee-0d27-4400-914c-8b417d67884f", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -159,7 +159,7 @@ "body": "?type=net", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -189,7 +189,7 @@ "query": "?order=created_at&order_asc_desc=desc&per_page=5", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -294,7 +294,7 @@ "body": "?type=net", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -323,7 +323,7 @@ "path": "/v2/settlements/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -428,7 +428,7 @@ "body": "?type=net", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -457,7 +457,7 @@ "path": "/v2/settlements/48143aee-0d27-4400-914c-8b417d67884f/delete", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -486,7 +486,7 @@ "path": "/v2/settlements/48143aee-0d27-4400-914c-8b417d67884f", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -522,7 +522,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -571,7 +571,7 @@ "body": "?type=net", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -601,7 +601,7 @@ "body": "?conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -698,7 +698,7 @@ "body": "?type=net", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -728,7 +728,7 @@ "body": "?conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -771,7 +771,7 @@ "body": "?conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -806,7 +806,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -855,7 +855,7 @@ "body": "?type=net", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -885,7 +885,7 @@ "body": "?conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -927,7 +927,7 @@ "path": "/v2/settlements/48143aee-0d27-4400-914c-8b417d67884f/release", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -975,7 +975,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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1024,7 +1024,7 @@ "body": "?type=net", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1054,7 +1054,7 @@ "body": "?conversion_id=5c4716dc-42dd-4571-b4bf-0aa299fff928", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1096,7 +1096,7 @@ "path": "/v2/settlements/48143aee-0d27-4400-914c-8b417d67884f/release", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -1138,7 +1138,7 @@ "path": "/v2/settlements/48143aee-0d27-4400-914c-8b417d67884f/unrelease", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Transfers.json b/Source/CurrencyCloud.Tests/Mock/Http/Recordings/Transfers.json index 721a3cf..4bac749 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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "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/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -133,7 +133,7 @@ "path": "/v2/transfers/b0c2df71-28db-42ef-b6b7-5710f22d2115", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -172,7 +172,7 @@ "query": "?short_reference=BT-20170118-VMSCBS", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { @@ -224,7 +224,7 @@ "path": "/v2/transfers/find", "headers": { "X-Auth-Token": "034d23d24490718e8766853e14d480b7", - "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.4.1" + "User-Agent": "CurrencyCloudSDK/2.0 .NET/5.5.5" } }, "response": { diff --git a/Source/CurrencyCloud.Tests/Properties/AssemblyInfo.cs b/Source/CurrencyCloud.Tests/Properties/AssemblyInfo.cs index 72e5376..b11d80d 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("5.4.1")] -[assembly: AssemblyFileVersion("5.4.1")] +[assembly: AssemblyVersion("5.5.5")] +[assembly: AssemblyFileVersion("5.5.5")]