From 07c91f27ac76472ef1b6c0bb6bf2e0ac93ed3231 Mon Sep 17 00:00:00 2001
From: Prathmesh Ranaut
Date: Thu, 17 Apr 2025 17:50:49 -0400
Subject: [PATCH 01/15] Bump version to 48.0.3
---
CHANGELOG.md | 3 +++
VERSION | 2 +-
src/Stripe.net/Constants/Version.cs | 2 +-
src/Stripe.net/Stripe.net.csproj | 2 +-
4 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 49cd0876a2..b106de53b6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
# Changelog
+## 48.0.3 - 2025-04-17
+* [#3104](https://github.com/stripe/stripe-dotnet/pull/3104) Fixed encoding of boolean query params
+
## 48.0.2 - 2025-04-15
* [#3101](https://github.com/stripe/stripe-dotnet/pull/3101) Replace Dictionary with ConcurrentDictionary in SerializablePropertyCache to fix a concurrency related error reported in [#3100](https://github.com/stripe/stripe-dotnet/issues/3100)
diff --git a/VERSION b/VERSION
index 0c27087fee..143775a017 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-48.0.2
+48.0.3
diff --git a/src/Stripe.net/Constants/Version.cs b/src/Stripe.net/Constants/Version.cs
index 9c6842553d..0a86422d82 100644
--- a/src/Stripe.net/Constants/Version.cs
+++ b/src/Stripe.net/Constants/Version.cs
@@ -2,6 +2,6 @@ namespace Stripe
{
internal class Version
{
- public const string Current = "48.0.2";
+ public const string Current = "48.0.3";
}
}
\ No newline at end of file
diff --git a/src/Stripe.net/Stripe.net.csproj b/src/Stripe.net/Stripe.net.csproj
index b75e797d3f..7d32ef515b 100644
--- a/src/Stripe.net/Stripe.net.csproj
+++ b/src/Stripe.net/Stripe.net.csproj
@@ -2,7 +2,7 @@
Stripe.net is a sync/async client and portable class library for the Stripe API, supporting .NET Standard 2.0+, .NET Core 3.1+, and .NET Framework 4.6.1+. (Official Library)
- 48.0.2
+ 48.0.3
8
Stripe, Jayme Davis
net5.0;net6.0;net7.0;net8.0;netcoreapp3.1;netstandard2.0;net461
From 000c2fa7413175d10caf79069a81f50ae777e5ab Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Thu, 17 Apr 2025 21:52:50 +0000
Subject: [PATCH 02/15] Update generated code for v1698
---
OPENAPI_VERSION | 2 +-
src/Stripe.net/Constants/ApiVersion.cs | 2 +-
.../Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 876acab358..0ec7458e57 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1697
\ No newline at end of file
+v1698
\ No newline at end of file
diff --git a/src/Stripe.net/Constants/ApiVersion.cs b/src/Stripe.net/Constants/ApiVersion.cs
index 39eb4aeab5..61d1e3b660 100644
--- a/src/Stripe.net/Constants/ApiVersion.cs
+++ b/src/Stripe.net/Constants/ApiVersion.cs
@@ -3,6 +3,6 @@ namespace Stripe
{
internal class ApiVersion
{
- public const string Current = "2025-03-31.preview";
+ public const string Current = "2025-04-30.preview";
}
}
\ No newline at end of file
diff --git a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs
index 792bac1d8e..d59209b5c3 100644
--- a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs
+++ b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs
@@ -39,8 +39,8 @@ public class WebhookEndpointCreateOptions : BaseOptions, IHasMetadata
/// 2022-08-01, 2022-11-15, 2023-08-16, 2023-10-16,
/// 2024-04-10, 2024-06-20, 2024-09-30.acacia,
/// 2024-10-28.acacia, 2024-11-20.acacia, 2024-12-18.acacia,
- /// 2025-01-27.acacia, 2025-02-24.acacia, 2025-03-01.dashboard, or
- /// 2025-03-31.basil.
+ /// 2025-01-27.acacia, 2025-02-24.acacia, 2025-03-01.dashboard,
+ /// 2025-03-31.basil, or 2025-04-30.basil.
///
[JsonProperty("api_version")]
#if NET6_0_OR_GREATER
From fd48d1cfb120504256e78b9ab808aace71bfb4a2 Mon Sep 17 00:00:00 2001
From: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com>
Date: Thu, 17 Apr 2025 18:23:26 -0400
Subject: [PATCH 03/15] Fixed changelog (#3109)
---
CHANGELOG.md | 3 ---
1 file changed, 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b106de53b6..49cd0876a2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,8 +1,5 @@
# Changelog
-## 48.0.3 - 2025-04-17
-* [#3104](https://github.com/stripe/stripe-dotnet/pull/3104) Fixed encoding of boolean query params
-
## 48.0.2 - 2025-04-15
* [#3101](https://github.com/stripe/stripe-dotnet/pull/3101) Replace Dictionary with ConcurrentDictionary in SerializablePropertyCache to fix a concurrency related error reported in [#3100](https://github.com/stripe/stripe-dotnet/issues/3100)
From dbf8e33a95d2caaac27c3828af8973c992b7b3e0 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Fri, 18 Apr 2025 17:20:19 +0000
Subject: [PATCH 04/15] Update generated code for v1704
---
OPENAPI_VERSION | 2 +-
.../Services/Subscriptions/SubscriptionService.cs | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 480ffa6dee..366c29c8ee 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1703
\ No newline at end of file
+v1704
\ No newline at end of file
diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionService.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionService.cs
index e0118620d0..342f051fee 100644
--- a/src/Stripe.net/Services/Subscriptions/SubscriptionService.cs
+++ b/src/Stripe.net/Services/Subscriptions/SubscriptionService.cs
@@ -39,7 +39,8 @@ public SubscriptionService(IStripeClient client)
/// href="https://stripe.com/docs/api#delete_invoiceitem">deleted. If you’ve set the
/// subscription to cancel at the end of the period, any pending prorations are also left in
/// place and collected at the end of the period. But if the subscription is set to cancel
- /// immediately, pending prorations are removed.
.
+ /// immediately, pending prorations are removed if invoice_now and prorate are
+ /// both set to true..
///
/// By default, upon subscription cancellation, Stripe stops automatic collection of all
/// finalized invoices for the customer. This is intended to prevent unexpected payment
@@ -63,7 +64,8 @@ public virtual Subscription Cancel(string id, SubscriptionCancelOptions options
/// href="https://stripe.com/docs/api#delete_invoiceitem">deleted. If you’ve set the
/// subscription to cancel at the end of the period, any pending prorations are also left in
/// place and collected at the end of the period. But if the subscription is set to cancel
- /// immediately, pending prorations are removed.
.
+ /// immediately, pending prorations are removed if invoice_now and prorate are
+ /// both set to true..
///
/// By default, upon subscription cancellation, Stripe stops automatic collection of all
/// finalized invoices for the customer. This is intended to prevent unexpected payment
From 871e1ffb1843c9cc787bc7dd85bfad45fcd90739 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Fri, 18 Apr 2025 20:04:02 +0000
Subject: [PATCH 05/15] Update generated code for v1707
---
OPENAPI_VERSION | 2 +-
.../RegistrationCountryOptions.cs | 18 +++++++++++++
.../RegistrationCountryOptionsBf.cs | 20 ++++++++++++++
.../RegistrationCountryOptionsCm.cs | 20 ++++++++++++++
.../RegistrationCountryOptionsCv.cs | 20 ++++++++++++++
.../RegistrationCountryOptionsBfOptions.cs | 20 ++++++++++++++
.../RegistrationCountryOptionsCmOptions.cs | 20 ++++++++++++++
.../RegistrationCountryOptionsCvOptions.cs | 20 ++++++++++++++
.../RegistrationCountryOptionsOptions.cs | 27 +++++++++++++++++++
9 files changed, 166 insertions(+), 1 deletion(-)
create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBf.cs
create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCm.cs
create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCv.cs
create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBfOptions.cs
create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCmOptions.cs
create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCvOptions.cs
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 366c29c8ee..b7bb7d52cf 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1704
\ No newline at end of file
+v1707
\ No newline at end of file
diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptions.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptions.cs
index 5f7f41ac71..b003607222 100644
--- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptions.cs
+++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptions.cs
@@ -80,6 +80,12 @@ public class RegistrationCountryOptions : StripeEntity
+ {
+ ///
+ /// Type of registration in country.
+ ///
+ [JsonProperty("type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("type")]
+#endif
+ public string Type { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCm.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCm.cs
new file mode 100644
index 0000000000..7ce22f8b33
--- /dev/null
+++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCm.cs
@@ -0,0 +1,20 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Tax
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class RegistrationCountryOptionsCm : StripeEntity
+ {
+ ///
+ /// Type of registration in country.
+ ///
+ [JsonProperty("type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("type")]
+#endif
+ public string Type { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCv.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCv.cs
new file mode 100644
index 0000000000..c1720050bd
--- /dev/null
+++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCv.cs
@@ -0,0 +1,20 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Tax
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class RegistrationCountryOptionsCv : StripeEntity
+ {
+ ///
+ /// Type of registration in country.
+ ///
+ [JsonProperty("type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("type")]
+#endif
+ public string Type { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBfOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBfOptions.cs
new file mode 100644
index 0000000000..4464d86437
--- /dev/null
+++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBfOptions.cs
@@ -0,0 +1,20 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Tax
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class RegistrationCountryOptionsBfOptions : INestedOptions
+ {
+ ///
+ /// Type of registration to be created in country.
+ ///
+ [JsonProperty("type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("type")]
+#endif
+ public string Type { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCmOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCmOptions.cs
new file mode 100644
index 0000000000..9fdfa8636b
--- /dev/null
+++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCmOptions.cs
@@ -0,0 +1,20 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Tax
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class RegistrationCountryOptionsCmOptions : INestedOptions
+ {
+ ///
+ /// Type of registration to be created in country.
+ ///
+ [JsonProperty("type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("type")]
+#endif
+ public string Type { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCvOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCvOptions.cs
new file mode 100644
index 0000000000..f03ae84f1d
--- /dev/null
+++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCvOptions.cs
@@ -0,0 +1,20 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Tax
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class RegistrationCountryOptionsCvOptions : INestedOptions
+ {
+ ///
+ /// Type of registration to be created in country.
+ ///
+ [JsonProperty("type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("type")]
+#endif
+ public string Type { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOptions.cs
index 9464cec0dd..fe0b1f40f6 100644
--- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOptions.cs
+++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOptions.cs
@@ -116,6 +116,15 @@ public class RegistrationCountryOptionsOptions : INestedOptions
#endif
public RegistrationCountryOptionsBeOptions Be { get; set; }
+ ///
+ /// Options for the registration in BF.
+ ///
+ [JsonProperty("bf")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("bf")]
+#endif
+ public RegistrationCountryOptionsBfOptions Bf { get; set; }
+
///
/// Options for the registration in BG.
///
@@ -197,6 +206,15 @@ public class RegistrationCountryOptionsOptions : INestedOptions
#endif
public RegistrationCountryOptionsClOptions Cl { get; set; }
+ ///
+ /// Options for the registration in CM.
+ ///
+ [JsonProperty("cm")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("cm")]
+#endif
+ public RegistrationCountryOptionsCmOptions Cm { get; set; }
+
///
/// Options for the registration in CO.
///
@@ -215,6 +233,15 @@ public class RegistrationCountryOptionsOptions : INestedOptions
#endif
public RegistrationCountryOptionsCrOptions Cr { get; set; }
+ ///
+ /// Options for the registration in CV.
+ ///
+ [JsonProperty("cv")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("cv")]
+#endif
+ public RegistrationCountryOptionsCvOptions Cv { get; set; }
+
///
/// Options for the registration in CY.
///
From 0b2d071984189fb8ac417a04838fe2ef03319262 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Fri, 18 Apr 2025 21:08:35 +0000
Subject: [PATCH 06/15] Update generated code for v1709
---
OPENAPI_VERSION | 2 +-
.../ConfirmationTokenPaymentMethodPreviewAcssDebit.cs | 9 +++++++++
.../Entities/PaymentMethods/PaymentMethodAcssDebit.cs | 9 +++++++++
3 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index b7bb7d52cf..f86b434356 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1707
\ No newline at end of file
+v1709
\ No newline at end of file
diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewAcssDebit.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewAcssDebit.cs
index a8eed08147..332d716eb8 100644
--- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewAcssDebit.cs
+++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewAcssDebit.cs
@@ -8,6 +8,15 @@ namespace Stripe
public class ConfirmationTokenPaymentMethodPreviewAcssDebit : StripeEntity
{
+ ///
+ /// Account number of the bank account.
+ ///
+ [JsonProperty("account_number")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("account_number")]
+#endif
+ public string AccountNumber { get; set; }
+
///
/// Name of the bank associated with the bank account.
///
diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodAcssDebit.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodAcssDebit.cs
index 12a7c5e07f..3c048a4329 100644
--- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodAcssDebit.cs
+++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodAcssDebit.cs
@@ -8,6 +8,15 @@ namespace Stripe
public class PaymentMethodAcssDebit : StripeEntity
{
+ ///
+ /// Account number of the bank account.
+ ///
+ [JsonProperty("account_number")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("account_number")]
+#endif
+ public string AccountNumber { get; set; }
+
///
/// Name of the bank associated with the bank account.
///
From cdd2cc76305aef2892fe3ff2b1b4fdcaaee61e2d Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Fri, 18 Apr 2025 22:58:15 +0000
Subject: [PATCH 07/15] Update generated code for v1710
---
OPENAPI_VERSION | 2 +-
.../CustomerPaymentMethods/CustomerPaymentMethodListOptions.cs | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index f86b434356..869105c2e2 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1709
\ No newline at end of file
+v1710
\ No newline at end of file
diff --git a/src/Stripe.net/Services/CustomerPaymentMethods/CustomerPaymentMethodListOptions.cs b/src/Stripe.net/Services/CustomerPaymentMethods/CustomerPaymentMethodListOptions.cs
index 454033a26f..33d2611084 100644
--- a/src/Stripe.net/Services/CustomerPaymentMethods/CustomerPaymentMethodListOptions.cs
+++ b/src/Stripe.net/Services/CustomerPaymentMethods/CustomerPaymentMethodListOptions.cs
@@ -11,8 +11,7 @@ public class CustomerPaymentMethodListOptions : ListOptions
///
/// This field indicates whether this payment method can be shown again to its customer in a
/// checkout flow. Stripe products such as Checkout and Elements use this field to determine
- /// whether a payment method can be shown as a saved payment method in a checkout flow. The
- /// field defaults to unspecified.
+ /// whether a payment method can be shown as a saved payment method in a checkout flow.
/// One of: always, limited, or unspecified.
///
[JsonProperty("allow_redisplay")]
From 26c933058b663e69a42eecfb94ce406e381ec838 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Fri, 18 Apr 2025 23:59:24 +0000
Subject: [PATCH 08/15] Update generated code for v1711
---
OPENAPI_VERSION | 2 +-
.../SessionCollectedInformationTaxId.cs | 40 ++++++-----
.../Sessions/SessionCustomerDetailsTaxId.cs | 40 ++++++-----
.../Entities/Invoices/InvoiceCustomerTaxId.cs | 40 ++++++-----
.../Entities/Orders/OrderTaxDetailsTaxId.cs | 40 ++++++-----
.../QuotePreviewInvoiceCustomerTaxId.cs | 40 ++++++-----
.../CalculationCustomerDetailsTaxId.cs | 40 ++++++-----
.../TransactionCustomerDetailsTaxId.cs | 40 ++++++-----
src/Stripe.net/Entities/TaxIds/TaxId.cs | 66 ++++++++++---------
.../CustomerTaxIdCreateOptions.cs | 60 +++++++++--------
.../Customers/CustomerTaxIdDataOptions.cs | 60 +++++++++--------
.../InvoiceCustomerDetailsTaxIdOptions.cs | 60 +++++++++--------
.../Orders/OrderTaxDetailsTaxIdOptions.cs | 60 +++++++++--------
.../CalculationCustomerDetailsTaxIdOptions.cs | 60 +++++++++--------
.../Services/TaxIds/TaxIdCreateOptions.cs | 60 +++++++++--------
15 files changed, 382 insertions(+), 326 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 869105c2e2..c83608f102 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1710
\ No newline at end of file
+v1711
\ No newline at end of file
diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionCollectedInformationTaxId.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionCollectedInformationTaxId.cs
index 3276c9999f..8f33029791 100644
--- a/src/Stripe.net/Entities/Checkout/Sessions/SessionCollectedInformationTaxId.cs
+++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionCollectedInformationTaxId.cs
@@ -28,28 +28,32 @@ public class SessionCollectedInformationTaxId : StripeEntityma_vat, by_tin, ao_tin, bs_tin, bb_tin,
/// cd_nif, mr_nif, me_pib, zw_tin, ba_tin,
/// gn_nif, mk_vat, sr_fin, sn_ninea, am_tin,
- /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin, or
+ /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin,
+ /// aw_tin, az_tin, bd_bin, bj_ifu, et_tin,
+ /// kg_tin, la_tin, cm_niu, cv_nif, bf_ifu, or
/// unknown.
/// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
- /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin,
- /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf,
+ /// ar_cuit, au_abn, au_arn, aw_tin, az_tin,
+ /// ba_tin, bb_tin, bd_bin, bf_ifu, bg_uic,
+ /// bh_vat, bj_ifu, bo_tin, br_cnpj, br_cpf,
/// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
/// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
- /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin,
- /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif,
- /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif,
- /// hk_br, hr_oib, hu_tin, id_npwp, il_vat,
- /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kh_tin, kr_brn, kz_bin, li_uid, li_vat,
- /// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
- /// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
- /// no_vat, no_voec, np_pan, nz_gst, om_vat,
- /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn,
- /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin,
- /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin,
- /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin,
- /// unknown, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin.
+ /// ch_vat, cl_tin, cm_niu, cn_tin, co_nit,
+ /// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
+ /// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
+ /// gb_vat, ge_vat, gn_nif, hk_br, hr_oib, hu_tin,
+ /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn,
+ /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// kz_bin, la_tin, li_uid, li_vat, ma_vat,
+ /// md_vat, me_pib, mk_vat, mr_nif, mx_rfc,
+ /// my_frp, my_itn, my_sst, ng_tin, no_vat,
+ /// no_voec, np_pan, nz_gst, om_vat, pe_ruc,
+ /// ph_tin, ro_tin, rs_pib, ru_inn, ru_kpp,
+ /// sa_vat, sg_gst, sg_uen, si_tin, sn_ninea,
+ /// sr_fin, sv_nit, th_vat, tj_tin, tr_tin,
+ /// tw_vat, tz_vat, ua_vat, ug_tin, unknown,
+ /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
+ /// vn_tin, za_vat, zm_tin, or zw_tin.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs
index a40e92c046..46fcbd4115 100644
--- a/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs
+++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs
@@ -28,28 +28,32 @@ public class SessionCustomerDetailsTaxId : StripeEntityma_vat, by_tin, ao_tin, bs_tin, bb_tin,
/// cd_nif, mr_nif, me_pib, zw_tin, ba_tin,
/// gn_nif, mk_vat, sr_fin, sn_ninea, am_tin,
- /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin, or
+ /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin,
+ /// aw_tin, az_tin, bd_bin, bj_ifu, et_tin,
+ /// kg_tin, la_tin, cm_niu, cv_nif, bf_ifu, or
/// unknown.
/// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
- /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin,
- /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf,
+ /// ar_cuit, au_abn, au_arn, aw_tin, az_tin,
+ /// ba_tin, bb_tin, bd_bin, bf_ifu, bg_uic,
+ /// bh_vat, bj_ifu, bo_tin, br_cnpj, br_cpf,
/// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
/// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
- /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin,
- /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif,
- /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif,
- /// hk_br, hr_oib, hu_tin, id_npwp, il_vat,
- /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kh_tin, kr_brn, kz_bin, li_uid, li_vat,
- /// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
- /// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
- /// no_vat, no_voec, np_pan, nz_gst, om_vat,
- /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn,
- /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin,
- /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin,
- /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin,
- /// unknown, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin.
+ /// ch_vat, cl_tin, cm_niu, cn_tin, co_nit,
+ /// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
+ /// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
+ /// gb_vat, ge_vat, gn_nif, hk_br, hr_oib, hu_tin,
+ /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn,
+ /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// kz_bin, la_tin, li_uid, li_vat, ma_vat,
+ /// md_vat, me_pib, mk_vat, mr_nif, mx_rfc,
+ /// my_frp, my_itn, my_sst, ng_tin, no_vat,
+ /// no_voec, np_pan, nz_gst, om_vat, pe_ruc,
+ /// ph_tin, ro_tin, rs_pib, ru_inn, ru_kpp,
+ /// sa_vat, sg_gst, sg_uen, si_tin, sn_ninea,
+ /// sr_fin, sv_nit, th_vat, tj_tin, tr_tin,
+ /// tw_vat, tz_vat, ua_vat, ug_tin, unknown,
+ /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
+ /// vn_tin, za_vat, zm_tin, or zw_tin.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs b/src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs
index c778a14147..9477751ff4 100644
--- a/src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs
+++ b/src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs
@@ -28,28 +28,32 @@ public class InvoiceCustomerTaxId : StripeEntity
/// ma_vat, by_tin, ao_tin, bs_tin, bb_tin,
/// cd_nif, mr_nif, me_pib, zw_tin, ba_tin,
/// gn_nif, mk_vat, sr_fin, sn_ninea, am_tin,
- /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin, or
+ /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin,
+ /// aw_tin, az_tin, bd_bin, bj_ifu, et_tin,
+ /// kg_tin, la_tin, cm_niu, cv_nif, bf_ifu, or
/// unknown.
/// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
- /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin,
- /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf,
+ /// ar_cuit, au_abn, au_arn, aw_tin, az_tin,
+ /// ba_tin, bb_tin, bd_bin, bf_ifu, bg_uic,
+ /// bh_vat, bj_ifu, bo_tin, br_cnpj, br_cpf,
/// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
/// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
- /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin,
- /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif,
- /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif,
- /// hk_br, hr_oib, hu_tin, id_npwp, il_vat,
- /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kh_tin, kr_brn, kz_bin, li_uid, li_vat,
- /// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
- /// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
- /// no_vat, no_voec, np_pan, nz_gst, om_vat,
- /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn,
- /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin,
- /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin,
- /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin,
- /// unknown, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin.
+ /// ch_vat, cl_tin, cm_niu, cn_tin, co_nit,
+ /// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
+ /// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
+ /// gb_vat, ge_vat, gn_nif, hk_br, hr_oib, hu_tin,
+ /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn,
+ /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// kz_bin, la_tin, li_uid, li_vat, ma_vat,
+ /// md_vat, me_pib, mk_vat, mr_nif, mx_rfc,
+ /// my_frp, my_itn, my_sst, ng_tin, no_vat,
+ /// no_voec, np_pan, nz_gst, om_vat, pe_ruc,
+ /// ph_tin, ro_tin, rs_pib, ru_inn, ru_kpp,
+ /// sa_vat, sg_gst, sg_uen, si_tin, sn_ninea,
+ /// sr_fin, sv_nit, th_vat, tj_tin, tr_tin,
+ /// tw_vat, tz_vat, ua_vat, ug_tin, unknown,
+ /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
+ /// vn_tin, za_vat, zm_tin, or zw_tin.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Orders/OrderTaxDetailsTaxId.cs b/src/Stripe.net/Entities/Orders/OrderTaxDetailsTaxId.cs
index 0ca508032f..496c071004 100644
--- a/src/Stripe.net/Entities/Orders/OrderTaxDetailsTaxId.cs
+++ b/src/Stripe.net/Entities/Orders/OrderTaxDetailsTaxId.cs
@@ -28,28 +28,32 @@ public class OrderTaxDetailsTaxId : StripeEntity
/// ma_vat, by_tin, ao_tin, bs_tin, bb_tin,
/// cd_nif, mr_nif, me_pib, zw_tin, ba_tin,
/// gn_nif, mk_vat, sr_fin, sn_ninea, am_tin,
- /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin, or
+ /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin,
+ /// aw_tin, az_tin, bd_bin, bj_ifu, et_tin,
+ /// kg_tin, la_tin, cm_niu, cv_nif, bf_ifu, or
/// unknown.
/// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
- /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin,
- /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf,
+ /// ar_cuit, au_abn, au_arn, aw_tin, az_tin,
+ /// ba_tin, bb_tin, bd_bin, bf_ifu, bg_uic,
+ /// bh_vat, bj_ifu, bo_tin, br_cnpj, br_cpf,
/// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
/// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
- /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin,
- /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif,
- /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif,
- /// hk_br, hr_oib, hu_tin, id_npwp, il_vat,
- /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kh_tin, kr_brn, kz_bin, li_uid, li_vat,
- /// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
- /// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
- /// no_vat, no_voec, np_pan, nz_gst, om_vat,
- /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn,
- /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin,
- /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin,
- /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin,
- /// unknown, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin.
+ /// ch_vat, cl_tin, cm_niu, cn_tin, co_nit,
+ /// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
+ /// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
+ /// gb_vat, ge_vat, gn_nif, hk_br, hr_oib, hu_tin,
+ /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn,
+ /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// kz_bin, la_tin, li_uid, li_vat, ma_vat,
+ /// md_vat, me_pib, mk_vat, mr_nif, mx_rfc,
+ /// my_frp, my_itn, my_sst, ng_tin, no_vat,
+ /// no_voec, np_pan, nz_gst, om_vat, pe_ruc,
+ /// ph_tin, ro_tin, rs_pib, ru_inn, ru_kpp,
+ /// sa_vat, sg_gst, sg_uen, si_tin, sn_ninea,
+ /// sr_fin, sv_nit, th_vat, tj_tin, tr_tin,
+ /// tw_vat, tz_vat, ua_vat, ug_tin, unknown,
+ /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
+ /// vn_tin, za_vat, zm_tin, or zw_tin.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceCustomerTaxId.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceCustomerTaxId.cs
index a5e9e617b4..6aefb18ed6 100644
--- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceCustomerTaxId.cs
+++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceCustomerTaxId.cs
@@ -28,28 +28,32 @@ public class QuotePreviewInvoiceCustomerTaxId : StripeEntityma_vat, by_tin, ao_tin, bs_tin, bb_tin,
/// cd_nif, mr_nif, me_pib, zw_tin, ba_tin,
/// gn_nif, mk_vat, sr_fin, sn_ninea, am_tin,
- /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin, or
+ /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin,
+ /// aw_tin, az_tin, bd_bin, bj_ifu, et_tin,
+ /// kg_tin, la_tin, cm_niu, cv_nif, bf_ifu, or
/// unknown.
/// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
- /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin,
- /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf,
+ /// ar_cuit, au_abn, au_arn, aw_tin, az_tin,
+ /// ba_tin, bb_tin, bd_bin, bf_ifu, bg_uic,
+ /// bh_vat, bj_ifu, bo_tin, br_cnpj, br_cpf,
/// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
/// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
- /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin,
- /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif,
- /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif,
- /// hk_br, hr_oib, hu_tin, id_npwp, il_vat,
- /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kh_tin, kr_brn, kz_bin, li_uid, li_vat,
- /// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
- /// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
- /// no_vat, no_voec, np_pan, nz_gst, om_vat,
- /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn,
- /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin,
- /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin,
- /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin,
- /// unknown, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin.
+ /// ch_vat, cl_tin, cm_niu, cn_tin, co_nit,
+ /// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
+ /// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
+ /// gb_vat, ge_vat, gn_nif, hk_br, hr_oib, hu_tin,
+ /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn,
+ /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// kz_bin, la_tin, li_uid, li_vat, ma_vat,
+ /// md_vat, me_pib, mk_vat, mr_nif, mx_rfc,
+ /// my_frp, my_itn, my_sst, ng_tin, no_vat,
+ /// no_voec, np_pan, nz_gst, om_vat, pe_ruc,
+ /// ph_tin, ro_tin, rs_pib, ru_inn, ru_kpp,
+ /// sa_vat, sg_gst, sg_uen, si_tin, sn_ninea,
+ /// sr_fin, sv_nit, th_vat, tj_tin, tr_tin,
+ /// tw_vat, tz_vat, ua_vat, ug_tin, unknown,
+ /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
+ /// vn_tin, za_vat, zm_tin, or zw_tin.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Tax/Calculations/CalculationCustomerDetailsTaxId.cs b/src/Stripe.net/Entities/Tax/Calculations/CalculationCustomerDetailsTaxId.cs
index 6aa809d361..c8aa4a2812 100644
--- a/src/Stripe.net/Entities/Tax/Calculations/CalculationCustomerDetailsTaxId.cs
+++ b/src/Stripe.net/Entities/Tax/Calculations/CalculationCustomerDetailsTaxId.cs
@@ -28,28 +28,32 @@ public class CalculationCustomerDetailsTaxId : StripeEntityma_vat, by_tin, ao_tin, bs_tin, bb_tin,
/// cd_nif, mr_nif, me_pib, zw_tin, ba_tin,
/// gn_nif, mk_vat, sr_fin, sn_ninea, am_tin,
- /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin, or
+ /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin,
+ /// aw_tin, az_tin, bd_bin, bj_ifu, et_tin,
+ /// kg_tin, la_tin, cm_niu, cv_nif, bf_ifu, or
/// unknown.
/// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
- /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin,
- /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf,
+ /// ar_cuit, au_abn, au_arn, aw_tin, az_tin,
+ /// ba_tin, bb_tin, bd_bin, bf_ifu, bg_uic,
+ /// bh_vat, bj_ifu, bo_tin, br_cnpj, br_cpf,
/// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
/// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
- /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin,
- /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif,
- /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif,
- /// hk_br, hr_oib, hu_tin, id_npwp, il_vat,
- /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kh_tin, kr_brn, kz_bin, li_uid, li_vat,
- /// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
- /// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
- /// no_vat, no_voec, np_pan, nz_gst, om_vat,
- /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn,
- /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin,
- /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin,
- /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin,
- /// unknown, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin.
+ /// ch_vat, cl_tin, cm_niu, cn_tin, co_nit,
+ /// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
+ /// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
+ /// gb_vat, ge_vat, gn_nif, hk_br, hr_oib, hu_tin,
+ /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn,
+ /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// kz_bin, la_tin, li_uid, li_vat, ma_vat,
+ /// md_vat, me_pib, mk_vat, mr_nif, mx_rfc,
+ /// my_frp, my_itn, my_sst, ng_tin, no_vat,
+ /// no_voec, np_pan, nz_gst, om_vat, pe_ruc,
+ /// ph_tin, ro_tin, rs_pib, ru_inn, ru_kpp,
+ /// sa_vat, sg_gst, sg_uen, si_tin, sn_ninea,
+ /// sr_fin, sv_nit, th_vat, tj_tin, tr_tin,
+ /// tw_vat, tz_vat, ua_vat, ug_tin, unknown,
+ /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
+ /// vn_tin, za_vat, zm_tin, or zw_tin.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Tax/Transactions/TransactionCustomerDetailsTaxId.cs b/src/Stripe.net/Entities/Tax/Transactions/TransactionCustomerDetailsTaxId.cs
index 4de6c81726..307d7cd482 100644
--- a/src/Stripe.net/Entities/Tax/Transactions/TransactionCustomerDetailsTaxId.cs
+++ b/src/Stripe.net/Entities/Tax/Transactions/TransactionCustomerDetailsTaxId.cs
@@ -28,28 +28,32 @@ public class TransactionCustomerDetailsTaxId : StripeEntityma_vat, by_tin, ao_tin, bs_tin, bb_tin,
/// cd_nif, mr_nif, me_pib, zw_tin, ba_tin,
/// gn_nif, mk_vat, sr_fin, sn_ninea, am_tin,
- /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin, or
+ /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin,
+ /// aw_tin, az_tin, bd_bin, bj_ifu, et_tin,
+ /// kg_tin, la_tin, cm_niu, cv_nif, bf_ifu, or
/// unknown.
/// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
- /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin,
- /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf,
+ /// ar_cuit, au_abn, au_arn, aw_tin, az_tin,
+ /// ba_tin, bb_tin, bd_bin, bf_ifu, bg_uic,
+ /// bh_vat, bj_ifu, bo_tin, br_cnpj, br_cpf,
/// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
/// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
- /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin,
- /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif,
- /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif,
- /// hk_br, hr_oib, hu_tin, id_npwp, il_vat,
- /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kh_tin, kr_brn, kz_bin, li_uid, li_vat,
- /// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
- /// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
- /// no_vat, no_voec, np_pan, nz_gst, om_vat,
- /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn,
- /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin,
- /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin,
- /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin,
- /// unknown, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin.
+ /// ch_vat, cl_tin, cm_niu, cn_tin, co_nit,
+ /// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
+ /// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
+ /// gb_vat, ge_vat, gn_nif, hk_br, hr_oib, hu_tin,
+ /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn,
+ /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// kz_bin, la_tin, li_uid, li_vat, ma_vat,
+ /// md_vat, me_pib, mk_vat, mr_nif, mx_rfc,
+ /// my_frp, my_itn, my_sst, ng_tin, no_vat,
+ /// no_voec, np_pan, nz_gst, om_vat, pe_ruc,
+ /// ph_tin, ro_tin, rs_pib, ru_inn, ru_kpp,
+ /// sa_vat, sg_gst, sg_uen, si_tin, sn_ninea,
+ /// sr_fin, sv_nit, th_vat, tj_tin, tr_tin,
+ /// tw_vat, tz_vat, ua_vat, ug_tin, unknown,
+ /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
+ /// vn_tin, za_vat, zm_tin, or zw_tin.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/TaxIds/TaxId.cs b/src/Stripe.net/Entities/TaxIds/TaxId.cs
index 1ef3cd2b0b..98806b1ec9 100644
--- a/src/Stripe.net/Entities/TaxIds/TaxId.cs
+++ b/src/Stripe.net/Entities/TaxIds/TaxId.cs
@@ -141,37 +141,18 @@ public Customer Customer
///
/// Type of the tax ID, one of ad_nrt, ae_trn, al_tin, am_tin,
- /// ao_tin, ar_cuit, au_abn, au_arn, ba_tin,
- /// bb_tin, bg_uic, bh_vat, bo_tin, br_cnpj,
+ /// ao_tin, ar_cuit, au_abn, au_arn, aw_tin,
+ /// az_tin, ba_tin, bb_tin, bd_bin, bf_ifu,
+ /// bg_uic, bh_vat, bj_ifu, bo_tin, br_cnpj,
/// br_cpf, bs_tin, by_tin, ca_bn, ca_gst_hst,
/// ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cd_nif,
- /// ch_uid, ch_vat, cl_tin, cn_tin, co_nit,
- /// cr_tin, de_stn, do_rcn, ec_ruc, eg_tin,
- /// es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat,
- /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp,
- /// il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn,
- /// ke_pin, kh_tin, kr_brn, kz_bin, li_uid,
- /// li_vat, ma_vat, md_vat, me_pib, mk_vat,
- /// mr_nif, mx_rfc, my_frp, my_itn, my_sst,
- /// ng_tin, no_vat, no_voec, np_pan, nz_gst,
- /// om_vat, pe_ruc, ph_tin, ro_tin, rs_pib,
- /// ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen,
- /// si_tin, sn_ninea, sr_fin, sv_nit, th_vat,
- /// tj_tin, tr_tin, tw_vat, tz_vat, ua_vat,
- /// ug_tin, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin. Note that
- /// some legacy tax IDs have type unknown.
- /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
- /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin,
- /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf,
- /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
- /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
- /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin,
- /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif,
- /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif,
- /// hk_br, hr_oib, hu_tin, id_npwp, il_vat,
- /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kh_tin, kr_brn, kz_bin, li_uid, li_vat,
+ /// ch_uid, ch_vat, cl_tin, cm_niu, cn_tin,
+ /// co_nit, cr_tin, cv_nif, de_stn, do_rcn,
+ /// ec_ruc, eg_tin, es_cif, et_tin, eu_oss_vat,
+ /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib,
+ /// hu_tin, id_npwp, il_vat, in_gst, is_vat,
+ /// jp_cn, jp_rn, jp_trn, ke_pin, kg_tin, kh_tin,
+ /// kr_brn, kz_bin, la_tin, li_uid, li_vat,
/// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
/// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
/// no_vat, no_voec, np_pan, nz_gst, om_vat,
@@ -179,8 +160,31 @@ public Customer Customer
/// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin,
/// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin,
/// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin,
- /// unknown, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin.
+ /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
+ /// vn_tin, za_vat, zm_tin, or zw_tin. Note that some legacy tax
+ /// IDs have type unknown.
+ /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
+ /// ar_cuit, au_abn, au_arn, aw_tin, az_tin,
+ /// ba_tin, bb_tin, bd_bin, bf_ifu, bg_uic,
+ /// bh_vat, bj_ifu, bo_tin, br_cnpj, br_cpf,
+ /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
+ /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
+ /// ch_vat, cl_tin, cm_niu, cn_tin, co_nit,
+ /// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
+ /// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
+ /// gb_vat, ge_vat, gn_nif, hk_br, hr_oib, hu_tin,
+ /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn,
+ /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// kz_bin, la_tin, li_uid, li_vat, ma_vat,
+ /// md_vat, me_pib, mk_vat, mr_nif, mx_rfc,
+ /// my_frp, my_itn, my_sst, ng_tin, no_vat,
+ /// no_voec, np_pan, nz_gst, om_vat, pe_ruc,
+ /// ph_tin, ro_tin, rs_pib, ru_inn, ru_kpp,
+ /// sa_vat, sg_gst, sg_uen, si_tin, sn_ninea,
+ /// sr_fin, sv_nit, th_vat, tj_tin, tr_tin,
+ /// tw_vat, tz_vat, ua_vat, ug_tin, unknown,
+ /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
+ /// vn_tin, za_vat, zm_tin, or zw_tin.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/CustomerTaxIds/CustomerTaxIdCreateOptions.cs b/src/Stripe.net/Services/CustomerTaxIds/CustomerTaxIdCreateOptions.cs
index 285e1e5a64..2ae2023e85 100644
--- a/src/Stripe.net/Services/CustomerTaxIds/CustomerTaxIdCreateOptions.cs
+++ b/src/Stripe.net/Services/CustomerTaxIds/CustomerTaxIdCreateOptions.cs
@@ -10,36 +10,18 @@ public class CustomerTaxIdCreateOptions : BaseOptions
{
///
/// Type of the tax ID, one of ad_nrt, ae_trn, al_tin, am_tin,
- /// ao_tin, ar_cuit, au_abn, au_arn, ba_tin,
- /// bb_tin, bg_uic, bh_vat, bo_tin, br_cnpj,
+ /// ao_tin, ar_cuit, au_abn, au_arn, aw_tin,
+ /// az_tin, ba_tin, bb_tin, bd_bin, bf_ifu,
+ /// bg_uic, bh_vat, bj_ifu, bo_tin, br_cnpj,
/// br_cpf, bs_tin, by_tin, ca_bn, ca_gst_hst,
/// ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cd_nif,
- /// ch_uid, ch_vat, cl_tin, cn_tin, co_nit,
- /// cr_tin, de_stn, do_rcn, ec_ruc, eg_tin,
- /// es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat,
- /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp,
- /// il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn,
- /// ke_pin, kh_tin, kr_brn, kz_bin, li_uid,
- /// li_vat, ma_vat, md_vat, me_pib, mk_vat,
- /// mr_nif, mx_rfc, my_frp, my_itn, my_sst,
- /// ng_tin, no_vat, no_voec, np_pan, nz_gst,
- /// om_vat, pe_ruc, ph_tin, ro_tin, rs_pib,
- /// ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen,
- /// si_tin, sn_ninea, sr_fin, sv_nit, th_vat,
- /// tj_tin, tr_tin, tw_vat, tz_vat, ua_vat,
- /// ug_tin, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin.
- /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
- /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin,
- /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf,
- /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
- /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
- /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin,
- /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif,
- /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif,
- /// hk_br, hr_oib, hu_tin, id_npwp, il_vat,
- /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kh_tin, kr_brn, kz_bin, li_uid, li_vat,
+ /// ch_uid, ch_vat, cl_tin, cm_niu, cn_tin,
+ /// co_nit, cr_tin, cv_nif, de_stn, do_rcn,
+ /// ec_ruc, eg_tin, es_cif, et_tin, eu_oss_vat,
+ /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib,
+ /// hu_tin, id_npwp, il_vat, in_gst, is_vat,
+ /// jp_cn, jp_rn, jp_trn, ke_pin, kg_tin, kh_tin,
+ /// kr_brn, kz_bin, la_tin, li_uid, li_vat,
/// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
/// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
/// no_vat, no_voec, np_pan, nz_gst, om_vat,
@@ -49,6 +31,28 @@ public class CustomerTaxIdCreateOptions : BaseOptions
/// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin,
/// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
/// vn_tin, za_vat, zm_tin, or zw_tin.
+ /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
+ /// ar_cuit, au_abn, au_arn, aw_tin, az_tin,
+ /// ba_tin, bb_tin, bd_bin, bf_ifu, bg_uic,
+ /// bh_vat, bj_ifu, bo_tin, br_cnpj, br_cpf,
+ /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
+ /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
+ /// ch_vat, cl_tin, cm_niu, cn_tin, co_nit,
+ /// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
+ /// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
+ /// gb_vat, ge_vat, gn_nif, hk_br, hr_oib, hu_tin,
+ /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn,
+ /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// kz_bin, la_tin, li_uid, li_vat, ma_vat,
+ /// md_vat, me_pib, mk_vat, mr_nif, mx_rfc,
+ /// my_frp, my_itn, my_sst, ng_tin, no_vat,
+ /// no_voec, np_pan, nz_gst, om_vat, pe_ruc,
+ /// ph_tin, ro_tin, rs_pib, ru_inn, ru_kpp,
+ /// sa_vat, sg_gst, sg_uen, si_tin, sn_ninea,
+ /// sr_fin, sv_nit, th_vat, tj_tin, tr_tin,
+ /// tw_vat, tz_vat, ua_vat, ug_tin, us_ein,
+ /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin,
+ /// za_vat, zm_tin, or zw_tin.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs b/src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs
index 959b6afc0f..110a96303f 100644
--- a/src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs
+++ b/src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs
@@ -10,36 +10,18 @@ public class CustomerTaxIdDataOptions : INestedOptions
{
///
/// Type of the tax ID, one of ad_nrt, ae_trn, al_tin, am_tin,
- /// ao_tin, ar_cuit, au_abn, au_arn, ba_tin,
- /// bb_tin, bg_uic, bh_vat, bo_tin, br_cnpj,
+ /// ao_tin, ar_cuit, au_abn, au_arn, aw_tin,
+ /// az_tin, ba_tin, bb_tin, bd_bin, bf_ifu,
+ /// bg_uic, bh_vat, bj_ifu, bo_tin, br_cnpj,
/// br_cpf, bs_tin, by_tin, ca_bn, ca_gst_hst,
/// ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cd_nif,
- /// ch_uid, ch_vat, cl_tin, cn_tin, co_nit,
- /// cr_tin, de_stn, do_rcn, ec_ruc, eg_tin,
- /// es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat,
- /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp,
- /// il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn,
- /// ke_pin, kh_tin, kr_brn, kz_bin, li_uid,
- /// li_vat, ma_vat, md_vat, me_pib, mk_vat,
- /// mr_nif, mx_rfc, my_frp, my_itn, my_sst,
- /// ng_tin, no_vat, no_voec, np_pan, nz_gst,
- /// om_vat, pe_ruc, ph_tin, ro_tin, rs_pib,
- /// ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen,
- /// si_tin, sn_ninea, sr_fin, sv_nit, th_vat,
- /// tj_tin, tr_tin, tw_vat, tz_vat, ua_vat,
- /// ug_tin, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin.
- /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
- /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin,
- /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf,
- /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
- /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
- /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin,
- /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif,
- /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif,
- /// hk_br, hr_oib, hu_tin, id_npwp, il_vat,
- /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kh_tin, kr_brn, kz_bin, li_uid, li_vat,
+ /// ch_uid, ch_vat, cl_tin, cm_niu, cn_tin,
+ /// co_nit, cr_tin, cv_nif, de_stn, do_rcn,
+ /// ec_ruc, eg_tin, es_cif, et_tin, eu_oss_vat,
+ /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib,
+ /// hu_tin, id_npwp, il_vat, in_gst, is_vat,
+ /// jp_cn, jp_rn, jp_trn, ke_pin, kg_tin, kh_tin,
+ /// kr_brn, kz_bin, la_tin, li_uid, li_vat,
/// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
/// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
/// no_vat, no_voec, np_pan, nz_gst, om_vat,
@@ -49,6 +31,28 @@ public class CustomerTaxIdDataOptions : INestedOptions
/// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin,
/// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
/// vn_tin, za_vat, zm_tin, or zw_tin.
+ /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
+ /// ar_cuit, au_abn, au_arn, aw_tin, az_tin,
+ /// ba_tin, bb_tin, bd_bin, bf_ifu, bg_uic,
+ /// bh_vat, bj_ifu, bo_tin, br_cnpj, br_cpf,
+ /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
+ /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
+ /// ch_vat, cl_tin, cm_niu, cn_tin, co_nit,
+ /// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
+ /// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
+ /// gb_vat, ge_vat, gn_nif, hk_br, hr_oib, hu_tin,
+ /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn,
+ /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// kz_bin, la_tin, li_uid, li_vat, ma_vat,
+ /// md_vat, me_pib, mk_vat, mr_nif, mx_rfc,
+ /// my_frp, my_itn, my_sst, ng_tin, no_vat,
+ /// no_voec, np_pan, nz_gst, om_vat, pe_ruc,
+ /// ph_tin, ro_tin, rs_pib, ru_inn, ru_kpp,
+ /// sa_vat, sg_gst, sg_uen, si_tin, sn_ninea,
+ /// sr_fin, sv_nit, th_vat, tj_tin, tr_tin,
+ /// tw_vat, tz_vat, ua_vat, ug_tin, us_ein,
+ /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin,
+ /// za_vat, zm_tin, or zw_tin.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsTaxIdOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsTaxIdOptions.cs
index 9d0033763c..81bd3ab26b 100644
--- a/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsTaxIdOptions.cs
+++ b/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsTaxIdOptions.cs
@@ -10,36 +10,18 @@ public class InvoiceCustomerDetailsTaxIdOptions : INestedOptions
{
///
/// Type of the tax ID, one of ad_nrt, ae_trn, al_tin, am_tin,
- /// ao_tin, ar_cuit, au_abn, au_arn, ba_tin,
- /// bb_tin, bg_uic, bh_vat, bo_tin, br_cnpj,
+ /// ao_tin, ar_cuit, au_abn, au_arn, aw_tin,
+ /// az_tin, ba_tin, bb_tin, bd_bin, bf_ifu,
+ /// bg_uic, bh_vat, bj_ifu, bo_tin, br_cnpj,
/// br_cpf, bs_tin, by_tin, ca_bn, ca_gst_hst,
/// ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cd_nif,
- /// ch_uid, ch_vat, cl_tin, cn_tin, co_nit,
- /// cr_tin, de_stn, do_rcn, ec_ruc, eg_tin,
- /// es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat,
- /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp,
- /// il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn,
- /// ke_pin, kh_tin, kr_brn, kz_bin, li_uid,
- /// li_vat, ma_vat, md_vat, me_pib, mk_vat,
- /// mr_nif, mx_rfc, my_frp, my_itn, my_sst,
- /// ng_tin, no_vat, no_voec, np_pan, nz_gst,
- /// om_vat, pe_ruc, ph_tin, ro_tin, rs_pib,
- /// ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen,
- /// si_tin, sn_ninea, sr_fin, sv_nit, th_vat,
- /// tj_tin, tr_tin, tw_vat, tz_vat, ua_vat,
- /// ug_tin, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin.
- /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
- /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin,
- /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf,
- /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
- /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
- /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin,
- /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif,
- /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif,
- /// hk_br, hr_oib, hu_tin, id_npwp, il_vat,
- /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kh_tin, kr_brn, kz_bin, li_uid, li_vat,
+ /// ch_uid, ch_vat, cl_tin, cm_niu, cn_tin,
+ /// co_nit, cr_tin, cv_nif, de_stn, do_rcn,
+ /// ec_ruc, eg_tin, es_cif, et_tin, eu_oss_vat,
+ /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib,
+ /// hu_tin, id_npwp, il_vat, in_gst, is_vat,
+ /// jp_cn, jp_rn, jp_trn, ke_pin, kg_tin, kh_tin,
+ /// kr_brn, kz_bin, la_tin, li_uid, li_vat,
/// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
/// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
/// no_vat, no_voec, np_pan, nz_gst, om_vat,
@@ -49,6 +31,28 @@ public class InvoiceCustomerDetailsTaxIdOptions : INestedOptions
/// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin,
/// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
/// vn_tin, za_vat, zm_tin, or zw_tin.
+ /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
+ /// ar_cuit, au_abn, au_arn, aw_tin, az_tin,
+ /// ba_tin, bb_tin, bd_bin, bf_ifu, bg_uic,
+ /// bh_vat, bj_ifu, bo_tin, br_cnpj, br_cpf,
+ /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
+ /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
+ /// ch_vat, cl_tin, cm_niu, cn_tin, co_nit,
+ /// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
+ /// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
+ /// gb_vat, ge_vat, gn_nif, hk_br, hr_oib, hu_tin,
+ /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn,
+ /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// kz_bin, la_tin, li_uid, li_vat, ma_vat,
+ /// md_vat, me_pib, mk_vat, mr_nif, mx_rfc,
+ /// my_frp, my_itn, my_sst, ng_tin, no_vat,
+ /// no_voec, np_pan, nz_gst, om_vat, pe_ruc,
+ /// ph_tin, ro_tin, rs_pib, ru_inn, ru_kpp,
+ /// sa_vat, sg_gst, sg_uen, si_tin, sn_ninea,
+ /// sr_fin, sv_nit, th_vat, tj_tin, tr_tin,
+ /// tw_vat, tz_vat, ua_vat, ug_tin, us_ein,
+ /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin,
+ /// za_vat, zm_tin, or zw_tin.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/Orders/OrderTaxDetailsTaxIdOptions.cs b/src/Stripe.net/Services/Orders/OrderTaxDetailsTaxIdOptions.cs
index e314dcd7ba..ffede138ad 100644
--- a/src/Stripe.net/Services/Orders/OrderTaxDetailsTaxIdOptions.cs
+++ b/src/Stripe.net/Services/Orders/OrderTaxDetailsTaxIdOptions.cs
@@ -10,36 +10,18 @@ public class OrderTaxDetailsTaxIdOptions : INestedOptions
{
///
/// Type of the tax ID, one of ad_nrt, ae_trn, al_tin, am_tin,
- /// ao_tin, ar_cuit, au_abn, au_arn, ba_tin,
- /// bb_tin, bg_uic, bh_vat, bo_tin, br_cnpj,
+ /// ao_tin, ar_cuit, au_abn, au_arn, aw_tin,
+ /// az_tin, ba_tin, bb_tin, bd_bin, bf_ifu,
+ /// bg_uic, bh_vat, bj_ifu, bo_tin, br_cnpj,
/// br_cpf, bs_tin, by_tin, ca_bn, ca_gst_hst,
/// ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cd_nif,
- /// ch_uid, ch_vat, cl_tin, cn_tin, co_nit,
- /// cr_tin, de_stn, do_rcn, ec_ruc, eg_tin,
- /// es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat,
- /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp,
- /// il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn,
- /// ke_pin, kh_tin, kr_brn, kz_bin, li_uid,
- /// li_vat, ma_vat, md_vat, me_pib, mk_vat,
- /// mr_nif, mx_rfc, my_frp, my_itn, my_sst,
- /// ng_tin, no_vat, no_voec, np_pan, nz_gst,
- /// om_vat, pe_ruc, ph_tin, ro_tin, rs_pib,
- /// ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen,
- /// si_tin, sn_ninea, sr_fin, sv_nit, th_vat,
- /// tj_tin, tr_tin, tw_vat, tz_vat, ua_vat,
- /// ug_tin, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin.
- /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
- /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin,
- /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf,
- /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
- /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
- /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin,
- /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif,
- /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif,
- /// hk_br, hr_oib, hu_tin, id_npwp, il_vat,
- /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kh_tin, kr_brn, kz_bin, li_uid, li_vat,
+ /// ch_uid, ch_vat, cl_tin, cm_niu, cn_tin,
+ /// co_nit, cr_tin, cv_nif, de_stn, do_rcn,
+ /// ec_ruc, eg_tin, es_cif, et_tin, eu_oss_vat,
+ /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib,
+ /// hu_tin, id_npwp, il_vat, in_gst, is_vat,
+ /// jp_cn, jp_rn, jp_trn, ke_pin, kg_tin, kh_tin,
+ /// kr_brn, kz_bin, la_tin, li_uid, li_vat,
/// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
/// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
/// no_vat, no_voec, np_pan, nz_gst, om_vat,
@@ -49,6 +31,28 @@ public class OrderTaxDetailsTaxIdOptions : INestedOptions
/// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin,
/// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
/// vn_tin, za_vat, zm_tin, or zw_tin.
+ /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
+ /// ar_cuit, au_abn, au_arn, aw_tin, az_tin,
+ /// ba_tin, bb_tin, bd_bin, bf_ifu, bg_uic,
+ /// bh_vat, bj_ifu, bo_tin, br_cnpj, br_cpf,
+ /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
+ /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
+ /// ch_vat, cl_tin, cm_niu, cn_tin, co_nit,
+ /// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
+ /// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
+ /// gb_vat, ge_vat, gn_nif, hk_br, hr_oib, hu_tin,
+ /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn,
+ /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// kz_bin, la_tin, li_uid, li_vat, ma_vat,
+ /// md_vat, me_pib, mk_vat, mr_nif, mx_rfc,
+ /// my_frp, my_itn, my_sst, ng_tin, no_vat,
+ /// no_voec, np_pan, nz_gst, om_vat, pe_ruc,
+ /// ph_tin, ro_tin, rs_pib, ru_inn, ru_kpp,
+ /// sa_vat, sg_gst, sg_uen, si_tin, sn_ninea,
+ /// sr_fin, sv_nit, th_vat, tj_tin, tr_tin,
+ /// tw_vat, tz_vat, ua_vat, ug_tin, us_ein,
+ /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin,
+ /// za_vat, zm_tin, or zw_tin.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs b/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs
index 5798619d92..c110edeab4 100644
--- a/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs
+++ b/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs
@@ -10,36 +10,18 @@ public class CalculationCustomerDetailsTaxIdOptions : INestedOptions
{
///
/// Type of the tax ID, one of ad_nrt, ae_trn, al_tin, am_tin,
- /// ao_tin, ar_cuit, au_abn, au_arn, ba_tin,
- /// bb_tin, bg_uic, bh_vat, bo_tin, br_cnpj,
+ /// ao_tin, ar_cuit, au_abn, au_arn, aw_tin,
+ /// az_tin, ba_tin, bb_tin, bd_bin, bf_ifu,
+ /// bg_uic, bh_vat, bj_ifu, bo_tin, br_cnpj,
/// br_cpf, bs_tin, by_tin, ca_bn, ca_gst_hst,
/// ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cd_nif,
- /// ch_uid, ch_vat, cl_tin, cn_tin, co_nit,
- /// cr_tin, de_stn, do_rcn, ec_ruc, eg_tin,
- /// es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat,
- /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp,
- /// il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn,
- /// ke_pin, kh_tin, kr_brn, kz_bin, li_uid,
- /// li_vat, ma_vat, md_vat, me_pib, mk_vat,
- /// mr_nif, mx_rfc, my_frp, my_itn, my_sst,
- /// ng_tin, no_vat, no_voec, np_pan, nz_gst,
- /// om_vat, pe_ruc, ph_tin, ro_tin, rs_pib,
- /// ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen,
- /// si_tin, sn_ninea, sr_fin, sv_nit, th_vat,
- /// tj_tin, tr_tin, tw_vat, tz_vat, ua_vat,
- /// ug_tin, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin.
- /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
- /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin,
- /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf,
- /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
- /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
- /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin,
- /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif,
- /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif,
- /// hk_br, hr_oib, hu_tin, id_npwp, il_vat,
- /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kh_tin, kr_brn, kz_bin, li_uid, li_vat,
+ /// ch_uid, ch_vat, cl_tin, cm_niu, cn_tin,
+ /// co_nit, cr_tin, cv_nif, de_stn, do_rcn,
+ /// ec_ruc, eg_tin, es_cif, et_tin, eu_oss_vat,
+ /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib,
+ /// hu_tin, id_npwp, il_vat, in_gst, is_vat,
+ /// jp_cn, jp_rn, jp_trn, ke_pin, kg_tin, kh_tin,
+ /// kr_brn, kz_bin, la_tin, li_uid, li_vat,
/// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
/// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
/// no_vat, no_voec, np_pan, nz_gst, om_vat,
@@ -49,6 +31,28 @@ public class CalculationCustomerDetailsTaxIdOptions : INestedOptions
/// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin,
/// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
/// vn_tin, za_vat, zm_tin, or zw_tin.
+ /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
+ /// ar_cuit, au_abn, au_arn, aw_tin, az_tin,
+ /// ba_tin, bb_tin, bd_bin, bf_ifu, bg_uic,
+ /// bh_vat, bj_ifu, bo_tin, br_cnpj, br_cpf,
+ /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
+ /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
+ /// ch_vat, cl_tin, cm_niu, cn_tin, co_nit,
+ /// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
+ /// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
+ /// gb_vat, ge_vat, gn_nif, hk_br, hr_oib, hu_tin,
+ /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn,
+ /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// kz_bin, la_tin, li_uid, li_vat, ma_vat,
+ /// md_vat, me_pib, mk_vat, mr_nif, mx_rfc,
+ /// my_frp, my_itn, my_sst, ng_tin, no_vat,
+ /// no_voec, np_pan, nz_gst, om_vat, pe_ruc,
+ /// ph_tin, ro_tin, rs_pib, ru_inn, ru_kpp,
+ /// sa_vat, sg_gst, sg_uen, si_tin, sn_ninea,
+ /// sr_fin, sv_nit, th_vat, tj_tin, tr_tin,
+ /// tw_vat, tz_vat, ua_vat, ug_tin, us_ein,
+ /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin,
+ /// za_vat, zm_tin, or zw_tin.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs b/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs
index 64b7e6b0ad..8a1893bdfb 100644
--- a/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs
+++ b/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs
@@ -19,36 +19,18 @@ public class TaxIdCreateOptions : BaseOptions
///
/// Type of the tax ID, one of ad_nrt, ae_trn, al_tin, am_tin,
- /// ao_tin, ar_cuit, au_abn, au_arn, ba_tin,
- /// bb_tin, bg_uic, bh_vat, bo_tin, br_cnpj,
+ /// ao_tin, ar_cuit, au_abn, au_arn, aw_tin,
+ /// az_tin, ba_tin, bb_tin, bd_bin, bf_ifu,
+ /// bg_uic, bh_vat, bj_ifu, bo_tin, br_cnpj,
/// br_cpf, bs_tin, by_tin, ca_bn, ca_gst_hst,
/// ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cd_nif,
- /// ch_uid, ch_vat, cl_tin, cn_tin, co_nit,
- /// cr_tin, de_stn, do_rcn, ec_ruc, eg_tin,
- /// es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat,
- /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp,
- /// il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn,
- /// ke_pin, kh_tin, kr_brn, kz_bin, li_uid,
- /// li_vat, ma_vat, md_vat, me_pib, mk_vat,
- /// mr_nif, mx_rfc, my_frp, my_itn, my_sst,
- /// ng_tin, no_vat, no_voec, np_pan, nz_gst,
- /// om_vat, pe_ruc, ph_tin, ro_tin, rs_pib,
- /// ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen,
- /// si_tin, sn_ninea, sr_fin, sv_nit, th_vat,
- /// tj_tin, tr_tin, tw_vat, tz_vat, ua_vat,
- /// ug_tin, us_ein, uy_ruc, uz_tin, uz_vat,
- /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin.
- /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
- /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin,
- /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf,
- /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
- /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
- /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin,
- /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif,
- /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif,
- /// hk_br, hr_oib, hu_tin, id_npwp, il_vat,
- /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kh_tin, kr_brn, kz_bin, li_uid, li_vat,
+ /// ch_uid, ch_vat, cl_tin, cm_niu, cn_tin,
+ /// co_nit, cr_tin, cv_nif, de_stn, do_rcn,
+ /// ec_ruc, eg_tin, es_cif, et_tin, eu_oss_vat,
+ /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib,
+ /// hu_tin, id_npwp, il_vat, in_gst, is_vat,
+ /// jp_cn, jp_rn, jp_trn, ke_pin, kg_tin, kh_tin,
+ /// kr_brn, kz_bin, la_tin, li_uid, li_vat,
/// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
/// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
/// no_vat, no_voec, np_pan, nz_gst, om_vat,
@@ -58,6 +40,28 @@ public class TaxIdCreateOptions : BaseOptions
/// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin,
/// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif,
/// vn_tin, za_vat, zm_tin, or zw_tin.
+ /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin,
+ /// ar_cuit, au_abn, au_arn, aw_tin, az_tin,
+ /// ba_tin, bb_tin, bd_bin, bf_ifu, bg_uic,
+ /// bh_vat, bj_ifu, bo_tin, br_cnpj, br_cpf,
+ /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc,
+ /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid,
+ /// ch_vat, cl_tin, cm_niu, cn_tin, co_nit,
+ /// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
+ /// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
+ /// gb_vat, ge_vat, gn_nif, hk_br, hr_oib, hu_tin,
+ /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn,
+ /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// kz_bin, la_tin, li_uid, li_vat, ma_vat,
+ /// md_vat, me_pib, mk_vat, mr_nif, mx_rfc,
+ /// my_frp, my_itn, my_sst, ng_tin, no_vat,
+ /// no_voec, np_pan, nz_gst, om_vat, pe_ruc,
+ /// ph_tin, ro_tin, rs_pib, ru_inn, ru_kpp,
+ /// sa_vat, sg_gst, sg_uen, si_tin, sn_ninea,
+ /// sr_fin, sv_nit, th_vat, tj_tin, tr_tin,
+ /// tw_vat, tz_vat, ua_vat, ug_tin, us_ein,
+ /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin,
+ /// za_vat, zm_tin, or zw_tin.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
From 69f97ad87e908d29a8f2c4427d4b551126fdd60b Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Mon, 21 Apr 2025 15:49:01 +0000
Subject: [PATCH 09/15] Update generated code for v1712
---
OPENAPI_VERSION | 2 +-
.../Services/Quotes/QuoteSubscriptionDataOptions.cs | 12 ++++++++++++
.../SubscriptionScheduleCreateOptions.cs | 12 ++++++++++++
.../Subscriptions/SubscriptionCreateOptions.cs | 12 ++++++++++++
4 files changed, 37 insertions(+), 1 deletion(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index c83608f102..c9b5edcc7c 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1711
\ No newline at end of file
+v1712
\ No newline at end of file
diff --git a/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOptions.cs b/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOptions.cs
index 8a7606f743..00ee42ce05 100644
--- a/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOptions.cs
+++ b/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOptions.cs
@@ -44,6 +44,18 @@ public class QuoteSubscriptionDataOptions : INestedOptions, IHasMetadata
#endif
public string BillingCycleAnchor { get; set; }
+ ///
+ /// The billing mode to create the quote with. Once a quote that creates a subscription or
+ /// subscription schedule is accepted,all future operations on the subscription or
+ /// subscription schedule will be processed based on this billing_mode.
+ /// One of: credits_attributed_to_debits, or legacy_prorations.
+ ///
+ [JsonProperty("billing_mode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("billing_mode")]
+#endif
+ public string BillingMode { get; set; }
+
///
/// The subscription's description, meant to be displayable to the customer. Use this field
/// to optionally store an explanation of the subscription for rendering in Stripe surfaces
diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs
index ebffe2e171..190044201b 100644
--- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs
+++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs
@@ -25,6 +25,18 @@ public class SubscriptionScheduleCreateOptions : BaseOptions, IHasMetadata
#endif
public string BillingBehavior { get; set; }
+ ///
+ /// The billing mode that will be used to create the subscription schedule. When the
+ /// schedule creates a subscription, the subscription's billing_mode will be set to
+ /// the same value as the schedule's billing_mode.
+ /// One of: credits_attributed_to_debits, or legacy_prorations.
+ ///
+ [JsonProperty("billing_mode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("billing_mode")]
+#endif
+ public string BillingMode { get; set; }
+
///
/// The identifier of the customer to create the subscription schedule for.
///
diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs
index 785f3414a4..58af2fd8e4 100644
--- a/src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs
+++ b/src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs
@@ -84,6 +84,18 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata
#endif
public SubscriptionBillingCycleAnchorConfigOptions BillingCycleAnchorConfig { get; set; }
+ ///
+ /// The billing mode to create the subscription with. Once a subscription has been created
+ /// with a billing_mode, all future operations on the subscription will be processed based
+ /// on the billing_mode unless the subscription is migrated to a different version.
+ /// One of: credits_attributed_to_debits, or legacy_prorations.
+ ///
+ [JsonProperty("billing_mode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("billing_mode")]
+#endif
+ public string BillingMode { get; set; }
+
///
/// A timestamp at which the subscription should cancel. If set to a date before the current
/// period ends, this will cause a proration if prorations have been enabled using
From 7873b242381bf8cf350cda671027b8e7fab7f68c Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Mon, 21 Apr 2025 21:00:03 +0000
Subject: [PATCH 10/15] Update generated code for v1714
---
OPENAPI_VERSION | 2 +-
.../QuotePreviewSubscriptionSchedule.cs | 13 +++++++++++++
.../Entities/Quotes/QuoteSubscriptionData.cs | 12 ++++++++++++
.../SubscriptionSchedules/SubscriptionSchedule.cs | 13 +++++++++++++
.../Entities/Subscriptions/Subscription.cs | 11 +++++++++++
.../Sessions/SessionSubscriptionDataOptions.cs | 12 ++++++++++++
.../Invoices/InvoiceScheduleDetailsOptions.cs | 12 ++++++++++++
.../Invoices/InvoiceSubscriptionDetailsOptions.cs | 12 ++++++++++++
8 files changed, 86 insertions(+), 1 deletion(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index c9b5edcc7c..14e93a9cea 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1712
\ No newline at end of file
+v1714
\ No newline at end of file
diff --git a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedule.cs b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedule.cs
index bfa910cfc4..952a4eb730 100644
--- a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedule.cs
+++ b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedule.cs
@@ -93,6 +93,19 @@ public Application Application
#endif
public string BillingBehavior { get; set; }
+ ///
+ /// The billing
+ /// mode that will be used to process all future operations for the subscription
+ /// schedule.
+ /// One of: credits_attributed_to_debits, or legacy_prorations.
+ ///
+ [JsonProperty("billing_mode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("billing_mode")]
+#endif
+ public string BillingMode { get; set; }
+
///
/// Time at which the subscription schedule was canceled. Measured in seconds since the Unix
/// epoch.
diff --git a/src/Stripe.net/Entities/Quotes/QuoteSubscriptionData.cs b/src/Stripe.net/Entities/Quotes/QuoteSubscriptionData.cs
index eeadbde914..b76fa78079 100644
--- a/src/Stripe.net/Entities/Quotes/QuoteSubscriptionData.cs
+++ b/src/Stripe.net/Entities/Quotes/QuoteSubscriptionData.cs
@@ -47,6 +47,18 @@ public class QuoteSubscriptionData : StripeEntity, IHasMe
#endif
public string BillingCycleAnchor { get; set; }
+ ///
+ /// The billing
+ /// mode that will be set on the subscription once the quote is accepted.
+ /// One of: credits_attributed_to_debits, or legacy_prorations.
+ ///
+ [JsonProperty("billing_mode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("billing_mode")]
+#endif
+ public string BillingMode { get; set; }
+
///
/// The subscription's description, meant to be displayable to the customer. Use this field
/// to optionally store an explanation of the subscription for rendering in Stripe surfaces
diff --git a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedule.cs b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedule.cs
index 8d5abfb6ab..a8531662be 100644
--- a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedule.cs
+++ b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedule.cs
@@ -95,6 +95,19 @@ public Application Application
#endif
public string BillingBehavior { get; set; }
+ ///
+ /// The billing
+ /// mode that will be used to process all future operations for the subscription
+ /// schedule.
+ /// One of: credits_attributed_to_debits, or legacy_prorations.
+ ///
+ [JsonProperty("billing_mode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("billing_mode")]
+#endif
+ public string BillingMode { get; set; }
+
///
/// Time at which the subscription schedule was canceled. Measured in seconds since the Unix
/// epoch.
diff --git a/src/Stripe.net/Entities/Subscriptions/Subscription.cs b/src/Stripe.net/Entities/Subscriptions/Subscription.cs
index 366f6cf364..f456d4493a 100644
--- a/src/Stripe.net/Entities/Subscriptions/Subscription.cs
+++ b/src/Stripe.net/Entities/Subscriptions/Subscription.cs
@@ -121,6 +121,17 @@ public Application Application
#endif
public SubscriptionBillingCycleAnchorConfig BillingCycleAnchorConfig { get; set; }
+ ///
+ /// Configure billing_mode in each subscription to opt in improved credit proration
+ /// behavior.
+ /// One of: credits_attributed_to_debits, or legacy_prorations.
+ ///
+ [JsonProperty("billing_mode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("billing_mode")]
+#endif
+ public string BillingMode { get; set; }
+
///
/// A date in the future at which the subscription will automatically get canceled.
///
diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs
index 1a440f826c..b038a936a3 100644
--- a/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs
+++ b/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs
@@ -36,6 +36,18 @@ public class SessionSubscriptionDataOptions : INestedOptions, IHasMetadata
#endif
public DateTime? BillingCycleAnchor { get; set; }
+ ///
+ /// The billing mode to create the subscription with. Once a subscription has been created
+ /// with a billing_mode, all future operations on the subscription will be processed based
+ /// on the billing_mode.
+ /// One of: credits_attributed_to_debits, or legacy_prorations.
+ ///
+ [JsonProperty("billing_mode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("billing_mode")]
+#endif
+ public string BillingMode { get; set; }
+
///
/// The tax rates that will apply to any subscription item that does not have
/// tax_rates set. Invoices created will have their default_tax_rates
diff --git a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsOptions.cs
index 0c1cd5e82c..1afedc28e6 100644
--- a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsOptions.cs
+++ b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsOptions.cs
@@ -32,6 +32,18 @@ public class InvoiceScheduleDetailsOptions : INestedOptions
#endif
public string BillingBehavior { get; set; }
+ ///
+ /// The billing mode that will be used to create the subscription schedule. When the
+ /// schedule creates a subscription, the subscription's billing_mode will be set to
+ /// the same value as the schedule's billing_mode.
+ /// One of: credits_attributed_to_debits, or legacy_prorations.
+ ///
+ [JsonProperty("billing_mode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("billing_mode")]
+#endif
+ public string BillingMode { get; set; }
+
///
/// Behavior of the subscription schedule and underlying subscription when it ends. Possible
/// values are release or cancel with the default being release.
diff --git a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsOptions.cs
index 1932643977..2691369d13 100644
--- a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsOptions.cs
+++ b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsOptions.cs
@@ -26,6 +26,18 @@ public class InvoiceSubscriptionDetailsOptions : INestedOptions
#endif
public AnyOf BillingCycleAnchor { get; set; }
+ ///
+ /// The billing mode to create the subscription with. Once a subscription has been created
+ /// with a billing_mode, all future operations on the subscription will be processed based
+ /// on the billing_mode.
+ /// One of: credits_attributed_to_debits, or legacy_prorations.
+ ///
+ [JsonProperty("billing_mode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("billing_mode")]
+#endif
+ public string BillingMode { get; set; }
+
///
/// A timestamp at which the subscription should cancel. If set to a date before the current
/// period ends, this will cause a proration if prorations have been enabled using
From 05f4675a0eb291a9c1f8b8aa9e4fad9da677e92f Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Tue, 22 Apr 2025 15:43:10 +0000
Subject: [PATCH 11/15] Update generated code for v1716
---
OPENAPI_VERSION | 2 +-
src/Stripe.net/Entities/Events/Event.cs | 5 +++--
.../WebhookEndpoints/WebhookEndpointCreateOptions.cs | 5 +++--
.../WebhookEndpoints/WebhookEndpointUpdateOptions.cs | 5 +++--
4 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 14e93a9cea..2f6676e4c7 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1714
\ No newline at end of file
+v1716
\ No newline at end of file
diff --git a/src/Stripe.net/Entities/Events/Event.cs b/src/Stripe.net/Entities/Events/Event.cs
index 218c1a0a38..323f867dd8 100644
--- a/src/Stripe.net/Entities/Events/Event.cs
+++ b/src/Stripe.net/Entities/Events/Event.cs
@@ -153,7 +153,8 @@ public class Event : StripeEntity, IHasId, IHasObject
/// account_notice.created, account_notice.updated,
/// application_fee.created, application_fee.refund.updated,
/// application_fee.refunded, balance.available,
- /// billing.alert.triggered, billing.meter_error_report.triggered,
+ /// balance_settings.updated, billing.alert.triggered,
+ /// billing.meter_error_report.triggered,
/// billing_portal.configuration.created,
/// billing_portal.configuration.updated, billing_portal.session.created,
/// capability.updated, capital.financing_offer.accepted,
@@ -293,7 +294,7 @@ public class Event : StripeEntity, IHasId, IHasObject
/// billing.credit_balance_transaction.created, billing.credit_grant.created,
/// billing.credit_grant.updated, billing.meter.created,
/// billing.meter.deactivated, billing.meter.reactivated,
- /// billing.meter.updated, balance_settings.updated, or ping.
+ /// billing.meter.updated, or ping.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs
index d59209b5c3..25abf2caec 100644
--- a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs
+++ b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs
@@ -76,7 +76,8 @@ public class WebhookEndpointCreateOptions : BaseOptions, IHasMetadata
/// account.updated, account_notice.created, account_notice.updated,
/// application_fee.created, application_fee.refund.updated,
/// application_fee.refunded, balance.available,
- /// billing.alert.triggered, billing.meter_error_report.triggered,
+ /// balance_settings.updated, billing.alert.triggered,
+ /// billing.meter_error_report.triggered,
/// billing_portal.configuration.created,
/// billing_portal.configuration.updated, billing_portal.session.created,
/// capability.updated, capital.financing_offer.accepted,
@@ -216,7 +217,7 @@ public class WebhookEndpointCreateOptions : BaseOptions, IHasMetadata
/// billing.credit_balance_transaction.created, billing.credit_grant.created,
/// billing.credit_grant.updated, billing.meter.created,
/// billing.meter.deactivated, billing.meter.reactivated,
- /// billing.meter.updated, balance_settings.updated, or ping.
+ /// billing.meter.updated, or ping.
///
[JsonProperty("enabled_events")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointUpdateOptions.cs b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointUpdateOptions.cs
index 33477d736d..aa3decc4e5 100644
--- a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointUpdateOptions.cs
+++ b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointUpdateOptions.cs
@@ -36,7 +36,8 @@ public class WebhookEndpointUpdateOptions : BaseOptions, IHasMetadata
/// account.updated, account_notice.created, account_notice.updated,
/// application_fee.created, application_fee.refund.updated,
/// application_fee.refunded, balance.available,
- /// billing.alert.triggered, billing.meter_error_report.triggered,
+ /// balance_settings.updated, billing.alert.triggered,
+ /// billing.meter_error_report.triggered,
/// billing_portal.configuration.created,
/// billing_portal.configuration.updated, billing_portal.session.created,
/// capability.updated, capital.financing_offer.accepted,
@@ -176,7 +177,7 @@ public class WebhookEndpointUpdateOptions : BaseOptions, IHasMetadata
/// billing.credit_balance_transaction.created, billing.credit_grant.created,
/// billing.credit_grant.updated, billing.meter.created,
/// billing.meter.deactivated, billing.meter.reactivated,
- /// billing.meter.updated, balance_settings.updated, or ping.
+ /// billing.meter.updated, or ping.
///
[JsonProperty("enabled_events")]
#if NET6_0_OR_GREATER
From 8a9d7166c3638c61543a46ba46f7c0df525c06c1 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Tue, 22 Apr 2025 18:43:24 +0000
Subject: [PATCH 12/15] Update generated code for v1717
---
OPENAPI_VERSION | 2 +-
src/Stripe.net/Entities/Checkout/Sessions/Session.cs | 6 ++++--
.../Services/Quotes/QuoteSubscriptionDataOptions.cs | 6 +++---
.../SubscriptionScheduleCreateOptions.cs | 6 +++---
.../Services/Subscriptions/SubscriptionCreateOptions.cs | 5 ++---
5 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 2f6676e4c7..f288e2acdf 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1716
\ No newline at end of file
+v1717
\ No newline at end of file
diff --git a/src/Stripe.net/Entities/Checkout/Sessions/Session.cs b/src/Stripe.net/Entities/Checkout/Sessions/Session.cs
index 5e27421cd9..24b96f6721 100644
--- a/src/Stripe.net/Entities/Checkout/Sessions/Session.cs
+++ b/src/Stripe.net/Entities/Checkout/Sessions/Session.cs
@@ -762,7 +762,8 @@ public SetupIntent SetupIntent
///
/// (ID of the Subscription)
- /// The ID of the subscription for Checkout Sessions in subscription mode.
+ /// The ID of the Subscription for
+ /// Checkout Sessions in subscription mode.
///
[JsonIgnore]
#if NET6_0_OR_GREATER
@@ -776,7 +777,8 @@ public string SubscriptionId
///
/// (Expanded)
- /// The ID of the subscription for Checkout Sessions in subscription mode.
+ /// The ID of the Subscription for
+ /// Checkout Sessions in subscription mode.
///
/// For more information, see the expand documentation.
///
diff --git a/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOptions.cs b/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOptions.cs
index 00ee42ce05..ea76b5496d 100644
--- a/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOptions.cs
+++ b/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOptions.cs
@@ -45,9 +45,9 @@ public class QuoteSubscriptionDataOptions : INestedOptions, IHasMetadata
public string BillingCycleAnchor { get; set; }
///
- /// The billing mode to create the quote with. Once a quote that creates a subscription or
- /// subscription schedule is accepted,all future operations on the subscription or
- /// subscription schedule will be processed based on this billing_mode.
+ /// Configure billing_mode to opt in improved credit proration behavior.Once a quote that
+ /// creates a subscription or subscription schedule is accepted,all future operations on the
+ /// subscription or subscription schedule will be processed based on this billing_mode.
/// One of: credits_attributed_to_debits, or legacy_prorations.
///
[JsonProperty("billing_mode")]
diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs
index 190044201b..ab90438475 100644
--- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs
+++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs
@@ -26,9 +26,9 @@ public class SubscriptionScheduleCreateOptions : BaseOptions, IHasMetadata
public string BillingBehavior { get; set; }
///
- /// The billing mode that will be used to create the subscription schedule. When the
- /// schedule creates a subscription, the subscription's billing_mode will be set to
- /// the same value as the schedule's billing_mode.
+ /// Configure billing_mode to opt in improved credit proration behavior.When the schedule
+ /// creates a subscription, the subscription's billing_mode will be set to the same
+ /// value as the schedule's billing_mode.
/// One of: credits_attributed_to_debits, or legacy_prorations.
///
[JsonProperty("billing_mode")]
diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs
index 58af2fd8e4..650eebcc92 100644
--- a/src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs
+++ b/src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs
@@ -85,9 +85,8 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata
public SubscriptionBillingCycleAnchorConfigOptions BillingCycleAnchorConfig { get; set; }
///
- /// The billing mode to create the subscription with. Once a subscription has been created
- /// with a billing_mode, all future operations on the subscription will be processed based
- /// on the billing_mode unless the subscription is migrated to a different version.
+ /// Configure billing_mode in each subscription to opt in improved credit proration
+ /// behavior.
/// One of: credits_attributed_to_debits, or legacy_prorations.
///
[JsonProperty("billing_mode")]
From df8679f840a88769164fd65eb66b144c8c4e45ce Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Tue, 22 Apr 2025 21:16:15 +0000
Subject: [PATCH 13/15] Update generated code for v1718
---
OPENAPI_VERSION | 2 +-
.../Checkout/Sessions/SessionSubscriptionDataOptions.cs | 5 ++---
.../Services/Invoices/InvoiceScheduleDetailsOptions.cs | 6 +++---
.../Services/Invoices/InvoiceSubscriptionDetailsOptions.cs | 5 ++---
4 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index f288e2acdf..d14f8cd66c 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1717
\ No newline at end of file
+v1718
\ No newline at end of file
diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs
index b038a936a3..9ad86eeeb8 100644
--- a/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs
+++ b/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs
@@ -37,9 +37,8 @@ public class SessionSubscriptionDataOptions : INestedOptions, IHasMetadata
public DateTime? BillingCycleAnchor { get; set; }
///
- /// The billing mode to create the subscription with. Once a subscription has been created
- /// with a billing_mode, all future operations on the subscription will be processed based
- /// on the billing_mode.
+ /// Configure billing_mode in each subscription to opt in improved credit proration
+ /// behavior.
/// One of: credits_attributed_to_debits, or legacy_prorations.
///
[JsonProperty("billing_mode")]
diff --git a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsOptions.cs
index 1afedc28e6..9b1172cb62 100644
--- a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsOptions.cs
+++ b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsOptions.cs
@@ -33,9 +33,9 @@ public class InvoiceScheduleDetailsOptions : INestedOptions
public string BillingBehavior { get; set; }
///
- /// The billing mode that will be used to create the subscription schedule. When the
- /// schedule creates a subscription, the subscription's billing_mode will be set to
- /// the same value as the schedule's billing_mode.
+ /// Configure billing_mode to opt in improved credit proration behavior.When the schedule
+ /// creates a subscription, the subscription's billing_mode will be set to the same
+ /// value as the schedule's billing_mode.
/// One of: credits_attributed_to_debits, or legacy_prorations.
///
[JsonProperty("billing_mode")]
diff --git a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsOptions.cs
index 2691369d13..431fbec5dd 100644
--- a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsOptions.cs
+++ b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsOptions.cs
@@ -27,9 +27,8 @@ public class InvoiceSubscriptionDetailsOptions : INestedOptions
public AnyOf BillingCycleAnchor { get; set; }
///
- /// The billing mode to create the subscription with. Once a subscription has been created
- /// with a billing_mode, all future operations on the subscription will be processed based
- /// on the billing_mode.
+ /// Configure billing_mode in each subscription to opt in improved credit proration
+ /// behavior.
/// One of: credits_attributed_to_debits, or legacy_prorations.
///
[JsonProperty("billing_mode")]
From 1d2b2abc068f30314e43803e2c58294bf2c097cf Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Tue, 22 Apr 2025 21:53:40 +0000
Subject: [PATCH 14/15] Update generated code for v1718
---
.../V2/Core/AccountLinks/AccountLink.cs | 10 ++
.../Entities/V2/Core/Accounts/Account.cs | 10 ++
...nfigurationCustomerAutomaticIndirectTax.cs | 7 +-
...ionCustomerAutomaticIndirectTaxLocation.cs | 4 +-
...ccountConfigurationMerchantCapabilities.cs | 9 +
...rationMerchantCapabilitiesStripeBalance.cs | 20 +++
...erchantCapabilitiesStripeBalancePayouts.cs | 41 +++++
...ilitiesStripeBalancePayoutsStatusDetail.cs | 34 ++++
...countConfigurationRecipientCapabilities.cs | 3 +-
...ationRecipientCapabilitiesStripeBalance.cs | 11 +-
...cipientCapabilitiesStripeBalancePayouts.cs | 41 +++++
...ilitiesStripeBalancePayoutsStatusDetail.cs | 34 ++++
...tionRecipientDefaultOutboundDestination.cs | 34 ++--
.../V2/Core/Accounts/AccountDefaults.cs | 8 +-
.../AccountIdentityIndividualRelationship.cs | 9 +
.../AccountRequirementsEntryImpact.cs | 10 --
...uirementsEntryImpactRestrictsCapability.cs | 5 +-
...RequirementsEntryImpactRestrictsPayouts.cs | 21 ---
...entsEntryImpactRestrictsPayoutsDeadline.cs | 21 ---
.../Entities/V2/Core/Persons/Person.cs | 10 ++
.../V2/Core/Persons/PersonRelationship.cs | 9 +
.../Vault/GbBankAccounts/GbBankAccount.cs | 10 ++
.../Vault/UsBankAccounts/UsBankAccount.cs | 10 ++
.../FinancialAddressCreditSimulation.cs | 10 ++
.../FinancialAddressGeneratedMicrodeposits.cs | 10 ++
.../MoneyManagement/Adjustments/Adjustment.cs | 16 +-
.../FinancialAccounts/FinancialAccount.cs | 15 +-
.../FinancialAccountStorage.cs | 8 +-
.../FinancialAddresses/FinancialAddress.cs | 53 +++++-
.../FinancialAddressCredentials.cs | 23 ++-
...FinancialAddressCredentialsCryptoWallet.cs | 40 +++++
...inancialAddressCredentialsEuBankAccount.cs | 58 +++++++
.../InboundTransfers/InboundTransfer.cs | 10 ++
.../OutboundPaymentQuote.cs | 10 ++
.../OutboundPaymentQuoteEstimatedFee.cs | 3 +-
.../OutboundPaymentQuoteFxQuote.cs | 31 ++++
.../OutboundPayments/OutboundPayment.cs | 15 +-
.../OutboundSetupIntent.cs | 10 ++
.../OutboundTransfers/OutboundTransfer.cs | 15 +-
.../PayoutMethods/PayoutMethod.cs | 10 ++
.../PayoutMethods/PayoutMethodUsageStatus.cs | 4 +-
.../PayoutMethodsBankAccountSpec.cs | 10 ++
.../ReceivedCredits/ReceivedCredit.cs | 32 ++--
.../ReceivedCreditBalanceTransfer.cs | 36 +++-
.../ReceivedCreditBankTransfer.cs | 13 +-
...ReceivedCreditBankTransferEuBankAccount.cs | 56 +++++++
.../ReceivedCreditCardSpend.cs | 38 -----
.../ReceivedCreditCardSpendDispute.cs | 20 ---
.../ReceivedCreditCardSpendRefund.cs | 20 ---
.../ReceivedCreditCryptoWalletTransfer.cs | 49 ++++++
...dCreditCryptoWalletTransferCryptoWallet.cs | 40 +++++
.../ReceivedDebits/ReceivedDebit.cs | 22 +--
.../ReceivedDebits/ReceivedDebitCardSpend.cs | 40 -----
.../ReceivedDebitCardSpendAuthorization.cs | 29 ----
.../ReceivedDebitCardSpendCardTransaction.cs | 29 ----
.../TransactionEntries/TransactionEntry.cs | 10 ++
.../TransactionEntryTransactionDetailsFlow.cs | 6 +-
.../Transactions/Transaction.cs | 10 ++
.../Transactions/TransactionFlow.cs | 6 +-
.../Events/V2CoreAccountClosedEvent.cs | 42 +++++
.../Events/V2CoreAccountCreatedEvent.cs | 42 +++++
...erchantCapabilityStatusUpdatedEventData.cs | 4 +-
...cipientCapabilityStatusUpdatedEventData.cs | 3 +-
...oreAccountIncludingDefaultsUpdatedEvent.cs | 42 +++++
.../Events/V2CoreAccountUpdatedEvent.cs | 42 +++++
.../Events/V2CoreEventDestinationPingEvent.cs | 42 +++++
...V2MoneyManagementAdjustmentCreatedEvent.cs | 42 +++++
...yManagementFinancialAccountCreatedEvent.cs | 2 +-
...yManagementFinancialAccountUpdatedEvent.cs | 42 +++++
...eyManagementOutboundPaymentUpdatedEvent.cs | 42 +++++
...yManagementOutboundTransferUpdatedEvent.cs | 42 +++++
...2MoneyManagementTransactionCreatedEvent.cs | 42 +++++
...2MoneyManagementTransactionUpdatedEvent.cs | 42 +++++
.../Public/StripeTypeRegistry.cs | 35 ++++
...tionCustomerAutomaticIndirectTaxOptions.cs | 2 +-
...nfigurationRecipientCapabilitiesOptions.cs | 3 +-
...cipientCapabilitiesStripeBalanceOptions.cs | 2 +-
.../Accounts/AccountCreateDefaultsOptions.cs | 8 +-
...tionCustomerAutomaticIndirectTaxOptions.cs | 2 +-
...nfigurationRecipientCapabilitiesOptions.cs | 3 +-
...cipientCapabilitiesStripeBalanceOptions.cs | 2 +-
.../Accounts/AccountUpdateDefaultsOptions.cs | 8 +-
.../PersonCreateRelationshipOptions.cs | 9 +
.../PersonUpdateRelationshipOptions.cs | 9 +
.../V2/Core/Events/EventListOptions.cs | 48 ++++++
...ialAddressCreateCryptoPropertiesOptions.cs | 22 +++
.../FinancialAddressCreateOptions.cs | 17 +-
.../OutboundPaymentQuoteGetOptions.cs | 7 +
.../OutboundPaymentQuoteService.cs | 19 +++
.../OutboundPaymentCreateOptions.cs | 4 +-
.../OutboundTransferCreateOptions.cs | 4 +-
.../Services/GeneratedExamplesTest.cs | 154 +++++++++---------
92 files changed, 1595 insertions(+), 412 deletions(-)
create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalance.cs
create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalancePayouts.cs
create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalancePayoutsStatusDetail.cs
create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalancePayouts.cs
create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalancePayoutsStatusDetail.cs
delete mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsPayouts.cs
delete mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsPayoutsDeadline.cs
create mode 100644 src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddressCredentialsCryptoWallet.cs
create mode 100644 src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddressCredentialsEuBankAccount.cs
create mode 100644 src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBankTransferEuBankAccount.cs
delete mode 100644 src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCardSpend.cs
delete mode 100644 src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCardSpendDispute.cs
delete mode 100644 src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCardSpendRefund.cs
create mode 100644 src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCryptoWalletTransfer.cs
create mode 100644 src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCryptoWalletTransferCryptoWallet.cs
delete mode 100644 src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitCardSpend.cs
delete mode 100644 src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitCardSpendAuthorization.cs
delete mode 100644 src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitCardSpendCardTransaction.cs
create mode 100644 src/Stripe.net/Events/V2CoreAccountClosedEvent.cs
create mode 100644 src/Stripe.net/Events/V2CoreAccountCreatedEvent.cs
create mode 100644 src/Stripe.net/Events/V2CoreAccountIncludingDefaultsUpdatedEvent.cs
create mode 100644 src/Stripe.net/Events/V2CoreAccountUpdatedEvent.cs
create mode 100644 src/Stripe.net/Events/V2CoreEventDestinationPingEvent.cs
create mode 100644 src/Stripe.net/Events/V2MoneyManagementAdjustmentCreatedEvent.cs
create mode 100644 src/Stripe.net/Events/V2MoneyManagementFinancialAccountUpdatedEvent.cs
create mode 100644 src/Stripe.net/Events/V2MoneyManagementOutboundPaymentUpdatedEvent.cs
create mode 100644 src/Stripe.net/Events/V2MoneyManagementOutboundTransferUpdatedEvent.cs
create mode 100644 src/Stripe.net/Events/V2MoneyManagementTransactionCreatedEvent.cs
create mode 100644 src/Stripe.net/Events/V2MoneyManagementTransactionUpdatedEvent.cs
create mode 100644 src/Stripe.net/Services/V2/MoneyManagement/FinancialAddresses/FinancialAddressCreateCryptoPropertiesOptions.cs
create mode 100644 src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteGetOptions.cs
diff --git a/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLink.cs b/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLink.cs
index 5b04a050a3..4bda8151eb 100644
--- a/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLink.cs
+++ b/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLink.cs
@@ -50,6 +50,16 @@ public class AccountLink : StripeEntity, IHasObject
#endif
public DateTime ExpiresAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// The URL for the AccountLink.
///
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/Account.cs b/src/Stripe.net/Entities/V2/Core/Accounts/Account.cs
index 923a655d29..5d7f12e737 100644
--- a/src/Stripe.net/Entities/V2/Core/Accounts/Account.cs
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/Account.cs
@@ -114,6 +114,16 @@ public class Account : StripeEntity, IHasId, IHasMetadata, IHasObject
#endif
public AccountIdentity Identity { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// Set of key-value pairs that you can attach to an object. This can be useful for storing
/// additional information about the object in a structured format.
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerAutomaticIndirectTax.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerAutomaticIndirectTax.cs
index b873f1779b..53f9c6a965 100644
--- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerAutomaticIndirectTax.cs
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerAutomaticIndirectTax.cs
@@ -30,9 +30,8 @@ public class AccountConfigurationCustomerAutomaticIndirectTax : StripeEntity
- /// The customer’s location as identified by Stripe Tax - uses location_source. Will
- /// only be rendered if the automatic_indirect_tax feature is requested and
- /// active.
+ /// The customer’s identified tax location - uses location_source. Will only be
+ /// rendered if the automatic_indirect_tax feature is requested and active.
///
[JsonProperty("location")]
#if NET6_0_OR_GREATER
@@ -41,7 +40,7 @@ public class AccountConfigurationCustomerAutomaticIndirectTax : StripeEntity
- /// The data source used by Stripe Tax to identify the customer's location - defaults to
+ /// The data source used to identify the customer's tax location - defaults to
/// 'identity_address'. Will only be used for automatic tax calculation on the customer's
/// Invoices and Subscriptions.
/// One of: identity_address, ip_address, or shipping_address.
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerAutomaticIndirectTaxLocation.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerAutomaticIndirectTaxLocation.cs
index 16576e68d0..ef937b0fb7 100644
--- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerAutomaticIndirectTaxLocation.cs
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerAutomaticIndirectTaxLocation.cs
@@ -9,7 +9,7 @@ namespace Stripe.V2.Core
public class AccountConfigurationCustomerAutomaticIndirectTaxLocation : StripeEntity
{
///
- /// The customer's country as identified by Stripe Tax.
+ /// The identified tax country of the customer.
/// One of: ad, ae, af, ag, ai, al, am,
/// ao, aq, ar, as, at, au, aw, ax,
/// az, ba, bb, bd, be, bf, bg, bh,
@@ -50,7 +50,7 @@ public class AccountConfigurationCustomerAutomaticIndirectTaxLocation : StripeEn
public string Country { get; set; }
///
- /// The customer's state, county, province, or region as identified by Stripe Tax.
+ /// The identified tax state, county, province, or region of the customer.
///
[JsonProperty("state")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilities.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilities.cs
index dca045698b..d3500d43de 100644
--- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilities.cs
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilities.cs
@@ -368,6 +368,15 @@ public class AccountConfigurationMerchantCapabilities : StripeEntity
+ /// Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
+ ///
+ [JsonProperty("stripe_balance")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("stripe_balance")]
+#endif
+ public AccountConfigurationMerchantCapabilitiesStripeBalance StripeBalance { get; set; }
+
///
/// Allow the merchant to process Swish payments.
///
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalance.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalance.cs
new file mode 100644
index 0000000000..6f158af7cf
--- /dev/null
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalance.cs
@@ -0,0 +1,20 @@
+// File generated from our OpenAPI spec
+namespace Stripe.V2.Core
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class AccountConfigurationMerchantCapabilitiesStripeBalance : StripeEntity
+ {
+ ///
+ /// Allows the account to do payouts using their Stripe Balance (/v1/balance).
+ ///
+ [JsonProperty("payouts")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("payouts")]
+#endif
+ public AccountConfigurationMerchantCapabilitiesStripeBalancePayouts Payouts { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalancePayouts.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalancePayouts.cs
new file mode 100644
index 0000000000..90773f2a4a
--- /dev/null
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalancePayouts.cs
@@ -0,0 +1,41 @@
+// File generated from our OpenAPI spec
+namespace Stripe.V2.Core
+{
+ using System.Collections.Generic;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class AccountConfigurationMerchantCapabilitiesStripeBalancePayouts : StripeEntity
+ {
+ ///
+ /// Whether the Capability has been requested.
+ ///
+ [JsonProperty("requested")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("requested")]
+#endif
+ public bool Requested { get; set; }
+
+ ///
+ /// The status of the Capability.
+ /// One of: active, pending, restricted, or unsupported.
+ ///
+ [JsonProperty("status")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("status")]
+#endif
+ public string Status { get; set; }
+
+ ///
+ /// Additional details regarding the status of the Capability. status_details will be
+ /// empty if the Capability's status is active.
+ ///
+ [JsonProperty("status_details")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("status_details")]
+#endif
+ public List StatusDetails { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalancePayoutsStatusDetail.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalancePayoutsStatusDetail.cs
new file mode 100644
index 0000000000..9b5515d181
--- /dev/null
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalancePayoutsStatusDetail.cs
@@ -0,0 +1,34 @@
+// File generated from our OpenAPI spec
+namespace Stripe.V2.Core
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class AccountConfigurationMerchantCapabilitiesStripeBalancePayoutsStatusDetail : StripeEntity
+ {
+ ///
+ /// Machine-readable code explaining the reason for the Capability to be in its current
+ /// status.
+ /// One of: determining_status, requirements_past_due,
+ /// requirements_pending_verification, restricted_other,
+ /// unsupported_business, or unsupported_country.
+ ///
+ [JsonProperty("code")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("code")]
+#endif
+ public string Code { get; set; }
+
+ ///
+ /// Machine-readable code explaining how to make the Capability active.
+ /// One of: contact_stripe, no_resolution, or provide_info.
+ ///
+ [JsonProperty("resolution")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("resolution")]
+#endif
+ public string Resolution { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilities.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilities.cs
index 33998bacc4..3cd363bbff 100644
--- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilities.cs
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilities.cs
@@ -27,8 +27,7 @@ public class AccountConfigurationRecipientCapabilities : StripeEntity
- /// Capabilities that enable the recipient to receive money into their Stripe Balance
- /// (/v1/balance).
+ /// Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
///
[JsonProperty("stripe_balance")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalance.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalance.cs
index c1cff73986..c8f68d0f14 100644
--- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalance.cs
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalance.cs
@@ -9,7 +9,16 @@ namespace Stripe.V2.Core
public class AccountConfigurationRecipientCapabilitiesStripeBalance : StripeEntity
{
///
- /// Allows the recipient to receive /v1/transfers into their Stripe Balance (/v1/balance).
+ /// Allows the account to do payouts using their Stripe Balance (/v1/balance).
+ ///
+ [JsonProperty("payouts")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("payouts")]
+#endif
+ public AccountConfigurationRecipientCapabilitiesStripeBalancePayouts Payouts { get; set; }
+
+ ///
+ /// Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
///
[JsonProperty("stripe_transfers")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalancePayouts.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalancePayouts.cs
new file mode 100644
index 0000000000..d0294132e8
--- /dev/null
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalancePayouts.cs
@@ -0,0 +1,41 @@
+// File generated from our OpenAPI spec
+namespace Stripe.V2.Core
+{
+ using System.Collections.Generic;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class AccountConfigurationRecipientCapabilitiesStripeBalancePayouts : StripeEntity
+ {
+ ///
+ /// Whether the Capability has been requested.
+ ///
+ [JsonProperty("requested")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("requested")]
+#endif
+ public bool Requested { get; set; }
+
+ ///
+ /// The status of the Capability.
+ /// One of: active, pending, restricted, or unsupported.
+ ///
+ [JsonProperty("status")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("status")]
+#endif
+ public string Status { get; set; }
+
+ ///
+ /// Additional details regarding the status of the Capability. status_details will be
+ /// empty if the Capability's status is active.
+ ///
+ [JsonProperty("status_details")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("status_details")]
+#endif
+ public List StatusDetails { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalancePayoutsStatusDetail.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalancePayoutsStatusDetail.cs
new file mode 100644
index 0000000000..4e1317eb74
--- /dev/null
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalancePayoutsStatusDetail.cs
@@ -0,0 +1,34 @@
+// File generated from our OpenAPI spec
+namespace Stripe.V2.Core
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class AccountConfigurationRecipientCapabilitiesStripeBalancePayoutsStatusDetail : StripeEntity
+ {
+ ///
+ /// Machine-readable code explaining the reason for the Capability to be in its current
+ /// status.
+ /// One of: determining_status, requirements_past_due,
+ /// requirements_pending_verification, restricted_other,
+ /// unsupported_business, or unsupported_country.
+ ///
+ [JsonProperty("code")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("code")]
+#endif
+ public string Code { get; set; }
+
+ ///
+ /// Machine-readable code explaining how to make the Capability active.
+ /// One of: contact_stripe, no_resolution, or provide_info.
+ ///
+ [JsonProperty("resolution")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("resolution")]
+#endif
+ public string Resolution { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientDefaultOutboundDestination.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientDefaultOutboundDestination.cs
index d39c0f1f63..c83a523cfa 100644
--- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientDefaultOutboundDestination.cs
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientDefaultOutboundDestination.cs
@@ -22,23 +22,23 @@ public class AccountConfigurationRecipientDefaultOutboundDestination : StripeEnt
/// One of: at_bank_account, au_bank_account, ba_bank_account,
/// be_bank_account, bg_bank_account, bj_bank_account,
/// bs_bank_account, card, ca_bank_account, ch_bank_account,
- /// ci_bank_account, cy_bank_account, cz_bank_account,
- /// de_bank_account, dk_bank_account, ec_bank_account,
- /// ee_bank_account, es_bank_account, et_bank_account,
- /// fi_bank_account, fr_bank_account, gb_bank_account,
- /// gr_bank_account, hr_bank_account, hu_bank_account,
- /// id_bank_account, ie_bank_account, il_bank_account,
- /// in_bank_account, is_bank_account, it_bank_account,
- /// ke_bank_account, li_bank_account, lt_bank_account,
- /// lu_bank_account, lv_bank_account, mn_bank_account,
- /// mt_bank_account, mu_bank_account, mx_bank_account,
- /// na_bank_account, nl_bank_account, no_bank_account,
- /// nz_bank_account, pa_bank_account, ph_bank_account,
- /// pl_bank_account, pt_bank_account, ro_bank_account,
- /// rs_bank_account, se_bank_account, sg_bank_account,
- /// si_bank_account, sk_bank_account, sn_bank_account,
- /// sv_bank_account, tn_bank_account, tr_bank_account,
- /// us_bank_account, or za_bank_account.
+ /// ci_bank_account, crypto_wallet, cy_bank_account,
+ /// cz_bank_account, de_bank_account, dk_bank_account,
+ /// ec_bank_account, ee_bank_account, es_bank_account,
+ /// et_bank_account, fi_bank_account, fr_bank_account,
+ /// gb_bank_account, gr_bank_account, hr_bank_account,
+ /// hu_bank_account, id_bank_account, ie_bank_account,
+ /// il_bank_account, in_bank_account, is_bank_account,
+ /// it_bank_account, ke_bank_account, li_bank_account,
+ /// lt_bank_account, lu_bank_account, lv_bank_account,
+ /// mn_bank_account, mt_bank_account, mu_bank_account,
+ /// mx_bank_account, na_bank_account, nl_bank_account,
+ /// no_bank_account, nz_bank_account, pa_bank_account,
+ /// ph_bank_account, pl_bank_account, pt_bank_account,
+ /// ro_bank_account, rs_bank_account, se_bank_account,
+ /// sg_bank_account, si_bank_account, sk_bank_account,
+ /// sn_bank_account, sv_bank_account, tn_bank_account,
+ /// tr_bank_account, us_bank_account, or za_bank_account.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountDefaults.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountDefaults.cs
index cf1f77f324..e5c129922c 100644
--- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountDefaults.cs
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountDefaults.cs
@@ -35,10 +35,10 @@ public class AccountDefaults : StripeEntity
/// sek, sgd, shp, sle, sll, sos, srd,
/// ssp, std, stn, svc, syp, szl, thb,
/// tjs, tmt, tnd, top, try, ttd, twd,
- /// tzs, uah, ugx, usd, usdc, usn, uyi,
- /// uyu, uzs, vef, ves, vnd, vuv, wst,
- /// xaf, xcd, xcg, xof, xpf, yer, zar,
- /// zmk, zmw, zwd, zwg, or zwl.
+ /// tzs, uah, ugx, usd, usdb, usdc, usn,
+ /// uyi, uyu, uzs, vef, ves, vnd, vuv,
+ /// wst, xaf, xcd, xcg, xof, xpf, yer,
+ /// zar, zmk, zmw, zwd, zwg, or zwl.
///
[JsonProperty("currency")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualRelationship.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualRelationship.cs
index f3a0563dda..7e08ecf5cd 100644
--- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualRelationship.cs
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualRelationship.cs
@@ -8,6 +8,15 @@ namespace Stripe.V2.Core
public class AccountIdentityIndividualRelationship : StripeEntity
{
+ ///
+ /// Whether the individual is an authorizer of the Account’s legal entity.
+ ///
+ [JsonProperty("authorizer")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("authorizer")]
+#endif
+ public bool? Authorizer { get; set; }
+
///
/// Whether the individual is a director of the Account’s legal entity. Directors are
/// typically members of the governing board of the company, or responsible for ensuring the
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpact.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpact.cs
index 51b3bae76c..e7cfcb733f 100644
--- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpact.cs
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpact.cs
@@ -18,15 +18,5 @@ public class AccountRequirementsEntryImpact : StripeEntity RestrictsCapabilities { get; set; }
-
- ///
- /// Details about payouts restrictions that will be enforced if the requirement is not
- /// collected and satisfactory to Stripe.
- ///
- [JsonProperty("restricts_payouts")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("restricts_payouts")]
-#endif
- public AccountRequirementsEntryImpactRestrictsPayouts RestrictsPayouts { get; set; }
}
}
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsCapability.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsCapability.cs
index f5ba0ea9ce..eb03469007 100644
--- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsCapability.cs
+++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsCapability.cs
@@ -25,8 +25,9 @@ public class AccountRequirementsEntryImpactRestrictsCapability : StripeEntitypayco_payments, paynow_payments, pay_by_bank_payments,
/// promptpay_payments, revolut_pay_payments, samsung_pay_payments,
/// sepa_bank_transfer_payments, sepa_debit_payments,
- /// stripe_balance.stripe_transfers, swish_payments, twint_payments,
- /// us_bank_transfer_payments, or zip_payments.
+ /// stripe_balance.payouts, stripe_balance.stripe_transfers,
+ /// swish_payments, twint_payments, us_bank_transfer_payments, or
+ /// zip_payments.
///
[JsonProperty("capability")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsPayouts.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsPayouts.cs
deleted file mode 100644
index a2bbeba6cb..0000000000
--- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsPayouts.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-// File generated from our OpenAPI spec
-namespace Stripe.V2.Core
-{
- using Newtonsoft.Json;
-#if NET6_0_OR_GREATER
- using STJS = System.Text.Json.Serialization;
-#endif
-
- public class AccountRequirementsEntryImpactRestrictsPayouts : StripeEntity
- {
- ///
- /// Details about when in the Account's lifecycle the requirement must be collected by the
- /// avoid the earliest specified impact.
- ///
- [JsonProperty("deadline")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("deadline")]
-#endif
- public AccountRequirementsEntryImpactRestrictsPayoutsDeadline Deadline { get; set; }
- }
-}
diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsPayoutsDeadline.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsPayoutsDeadline.cs
deleted file mode 100644
index d7539e89b0..0000000000
--- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsPayoutsDeadline.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-// File generated from our OpenAPI spec
-namespace Stripe.V2.Core
-{
- using Newtonsoft.Json;
-#if NET6_0_OR_GREATER
- using STJS = System.Text.Json.Serialization;
-#endif
-
- public class AccountRequirementsEntryImpactRestrictsPayoutsDeadline : StripeEntity
- {
- ///
- /// The current status of the requirement's impact.
- /// One of: currently_due, eventually_due, or past_due.
- ///
- [JsonProperty("status")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("status")]
-#endif
- public string Status { get; set; }
- }
-}
diff --git a/src/Stripe.net/Entities/V2/Core/Persons/Person.cs b/src/Stripe.net/Entities/V2/Core/Persons/Person.cs
index 3a5c9ff06a..4ee934162a 100644
--- a/src/Stripe.net/Entities/V2/Core/Persons/Person.cs
+++ b/src/Stripe.net/Entities/V2/Core/Persons/Person.cs
@@ -142,6 +142,16 @@ public class Person : StripeEntity, IHasId, IHasMetadata, IHasObject
#endif
public string LegalGender { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// Set of key-value pairs that you can attach to an object. This can be useful for storing
/// additional information about the object in a structured format.
diff --git a/src/Stripe.net/Entities/V2/Core/Persons/PersonRelationship.cs b/src/Stripe.net/Entities/V2/Core/Persons/PersonRelationship.cs
index e493b74b2e..d46cb48900 100644
--- a/src/Stripe.net/Entities/V2/Core/Persons/PersonRelationship.cs
+++ b/src/Stripe.net/Entities/V2/Core/Persons/PersonRelationship.cs
@@ -8,6 +8,15 @@ namespace Stripe.V2.Core
public class PersonRelationship : StripeEntity
{
+ ///
+ /// Whether the individual is an authorizer of the Account’s legal entity.
+ ///
+ [JsonProperty("authorizer")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("authorizer")]
+#endif
+ public bool? Authorizer { get; set; }
+
///
/// Whether the individual is a director of the Account’s legal entity. Directors are
/// typically members of the governing board of the company, or responsible for ensuring the
diff --git a/src/Stripe.net/Entities/V2/Core/Vault/GbBankAccounts/GbBankAccount.cs b/src/Stripe.net/Entities/V2/Core/Vault/GbBankAccounts/GbBankAccount.cs
index 005108780b..891cb94cad 100644
--- a/src/Stripe.net/Entities/V2/Core/Vault/GbBankAccounts/GbBankAccount.cs
+++ b/src/Stripe.net/Entities/V2/Core/Vault/GbBankAccounts/GbBankAccount.cs
@@ -91,6 +91,16 @@ public class GbBankAccount : StripeEntity, IHasId, IHasObject
#endif
public string Last4 { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// The Sort Code of the bank account.
///
diff --git a/src/Stripe.net/Entities/V2/Core/Vault/UsBankAccounts/UsBankAccount.cs b/src/Stripe.net/Entities/V2/Core/Vault/UsBankAccounts/UsBankAccount.cs
index 9f239d340a..9f01e5832c 100644
--- a/src/Stripe.net/Entities/V2/Core/Vault/UsBankAccounts/UsBankAccount.cs
+++ b/src/Stripe.net/Entities/V2/Core/Vault/UsBankAccounts/UsBankAccount.cs
@@ -88,6 +88,16 @@ public class UsBankAccount : StripeEntity, IHasId, IHasObject
#endif
public string Last4 { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// The ACH routing number of the bank account.
///
diff --git a/src/Stripe.net/Entities/V2/FinancialAddressCreditSimulations/FinancialAddressCreditSimulation.cs b/src/Stripe.net/Entities/V2/FinancialAddressCreditSimulations/FinancialAddressCreditSimulation.cs
index e7edf6c3a9..2824831239 100644
--- a/src/Stripe.net/Entities/V2/FinancialAddressCreditSimulations/FinancialAddressCreditSimulation.cs
+++ b/src/Stripe.net/Entities/V2/FinancialAddressCreditSimulations/FinancialAddressCreditSimulation.cs
@@ -18,6 +18,16 @@ public class FinancialAddressCreditSimulation : StripeEntity
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// The status of the request, signifying whether a simulated credit was initiated.
///
diff --git a/src/Stripe.net/Entities/V2/FinancialAddressGeneratedMicrodeposits/FinancialAddressGeneratedMicrodeposits.cs b/src/Stripe.net/Entities/V2/FinancialAddressGeneratedMicrodeposits/FinancialAddressGeneratedMicrodeposits.cs
index 326b9a6d61..a79740a90a 100644
--- a/src/Stripe.net/Entities/V2/FinancialAddressGeneratedMicrodeposits/FinancialAddressGeneratedMicrodeposits.cs
+++ b/src/Stripe.net/Entities/V2/FinancialAddressGeneratedMicrodeposits/FinancialAddressGeneratedMicrodeposits.cs
@@ -28,6 +28,16 @@ public class FinancialAddressGeneratedMicrodeposits : StripeEntity Amounts { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// Closed Enum. The status of the request.
///
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/Adjustments/Adjustment.cs b/src/Stripe.net/Entities/V2/MoneyManagement/Adjustments/Adjustment.cs
index 0a26fd4ef3..39aac9b782 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/Adjustments/Adjustment.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/Adjustments/Adjustment.cs
@@ -79,8 +79,20 @@ public class Adjustment : StripeEntity, IHasId, IHasObject
public string FinancialAccount { get; set; }
///
- /// A hosted transaction receipt URL that is provided when money movement is considered
- /// regulated under Stripe’s money transmission licenses.
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
+ ///
+ /// A link to the Stripe-hosted receipt that is provided when money movement is considered
+ /// regulated under Stripe’s money transmission licenses. The receipt link remains active
+ /// for 60 days from the Adjustment creation date. After this period, the link will expire
+ /// and the receipt url value will be null.
///
[JsonProperty("receipt_url")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccount.cs b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccount.cs
index fcec81997c..d5e636e162 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccount.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccount.cs
@@ -100,6 +100,16 @@ public class FinancialAccount : StripeEntity, IHasId, IHasObje
#endif
public string Description { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// If this is a other FinancialAccount, this hash indicates what the actual type is.
/// Upgrade your API version to see it reflected in type.
@@ -111,8 +121,9 @@ public class FinancialAccount : StripeEntity, IHasId, IHasObje
public FinancialAccountOther Other { get; set; }
///
- /// An enum value that specifies which state the FinancialAccount is in.
- /// One of: closed, or open.
+ /// Closed Enum. An enum representing the status of the FinancialAccount. This indicates
+ /// whether or not the FinancialAccount can be used for any money movement flows.
+ /// One of: closed, open, or pending.
///
[JsonProperty("status")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountStorage.cs b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountStorage.cs
index c61179ca1b..abed85183a 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountStorage.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountStorage.cs
@@ -33,10 +33,10 @@ public class FinancialAccountStorage : StripeEntity
/// sek, sgd, shp, sle, sll, sos, srd,
/// ssp, std, stn, svc, syp, szl, thb,
/// tjs, tmt, tnd, top, try, ttd, twd,
- /// tzs, uah, ugx, usd, usdc, usn, uyi,
- /// uyu, uzs, vef, ves, vnd, vuv, wst,
- /// xaf, xcd, xcg, xof, xpf, yer, zar,
- /// zmk, zmw, zwd, zwg, or zwl.
+ /// tzs, uah, ugx, usd, usdb, usdc, usn,
+ /// uyi, uyu, uzs, vef, ves, vnd, vuv,
+ /// wst, xaf, xcd, xcg, xof, xpf, yer,
+ /// zar, zmk, zmw, zwd, zwg, or zwl.
///
[JsonProperty("holds_currencies")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddress.cs b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddress.cs
index ed5883f23a..b6c3f987c7 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddress.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddress.cs
@@ -77,10 +77,10 @@ public class FinancialAddress : StripeEntity, IHasId, IHasObje
/// sek, sgd, shp, sle, sll, sos, srd,
/// ssp, std, stn, svc, syp, szl, thb,
/// tjs, tmt, tnd, top, try, ttd, twd,
- /// tzs, uah, ugx, usd, usdc, usn, uyi,
- /// uyu, uzs, vef, ves, vnd, vuv, wst,
- /// xaf, xcd, xcg, xof, xpf, yer, zar,
- /// zmk, zmw, zwd, zwg, or zwl.
+ /// tzs, uah, ugx, usd, usdb, usdc, usn,
+ /// uyi, uyu, uzs, vef, ves, vnd, vuv,
+ /// wst, xaf, xcd, xcg, xof, xpf, yer,
+ /// zar, zmk, zmw, zwd, zwg, or zwl.
///
[JsonProperty("currency")]
#if NET6_0_OR_GREATER
@@ -97,6 +97,51 @@ public class FinancialAddress : StripeEntity, IHasId, IHasObje
#endif
public string FinancialAccount { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
+ ///
+ /// Open Enum. The currency the FinancialAddress settles into the FinancialAccount.
+ /// One of: aed, afn, all, amd, ang, aoa,
+ /// ars, aud, awg, azn, bam, bbd, bdt,
+ /// bgn, bhd, bif, bmd, bnd, bob, bov,
+ /// brl, bsd, btn, bwp, byn, byr, bzd,
+ /// cad, cdf, che, chf, chw, clf, clp,
+ /// cny, cop, cou, crc, cuc, cup, cve,
+ /// czk, djf, dkk, dop, dzd, eek, egp,
+ /// ern, etb, eur, fjd, fkp, gbp, gel,
+ /// ghc, ghs, gip, gmd, gnf, gtq, gyd,
+ /// hkd, hnl, hrk, htg, huf, idr, ils,
+ /// inr, iqd, irr, isk, jmd, jod, jpy,
+ /// kes, kgs, khr, kmf, kpw, krw, kwd,
+ /// kyd, kzt, lak, lbp, lkr, lrd, lsl,
+ /// ltl, lvl, lyd, mad, mdl, mga, mkd,
+ /// mmk, mnt, mop, mro, mru, mur, mvr,
+ /// mwk, mxn, mxv, myr, mzn, nad, ngn,
+ /// nio, nok, npr, nzd, omr, pab, pen,
+ /// pgk, php, pkr, pln, pyg, qar, ron,
+ /// rsd, rub, rwf, sar, sbd, scr, sdg,
+ /// sek, sgd, shp, sle, sll, sos, srd,
+ /// ssp, std, stn, svc, syp, szl, thb,
+ /// tjs, tmt, tnd, top, try, ttd, twd,
+ /// tzs, uah, ugx, usd, usdb, usdc, usn,
+ /// uyi, uyu, uzs, vef, ves, vnd, vuv,
+ /// wst, xaf, xcd, xcg, xof, xpf, yer,
+ /// zar, zmk, zmw, zwd, zwg, or zwl.
+ ///
+ [JsonProperty("settlement_currency")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("settlement_currency")]
+#endif
+ public string SettlementCurrency { get; set; }
+
///
/// Closed Enum. An enum representing the status of the FinancialAddress. This indicates
/// whether or not the FinancialAddress can be used for any money movement flows.
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddressCredentials.cs b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddressCredentials.cs
index 0a63c558af..a487a9c37e 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddressCredentials.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddressCredentials.cs
@@ -10,7 +10,8 @@ public class FinancialAddressCredentials : StripeEntity
/// Open Enum. The type of Credentials that are provisioned for the FinancialAddress.
- /// One of: gb_bank_account, or us_bank_account.
+ /// One of: crypto_wallet, eu_bank_account, gb_bank_account, or
+ /// us_bank_account.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
@@ -18,6 +19,26 @@ public class FinancialAddressCredentials : StripeEntity
+ /// The credentials of the crypto wallet for the Financial Address. This contains unique
+ /// details such as the blockchain network, wallet address, and memo of a crypto wallet.
+ ///
+ [JsonProperty("crypto_wallet")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("crypto_wallet")]
+#endif
+ public FinancialAddressCredentialsCryptoWallet CryptoWallet { get; set; }
+
+ ///
+ /// The credentials of the EU Bank Account for the FinancialAddress. This contains unique
+ /// banking details such as the IBAN, BIC, etc. of a EU bank account.
+ ///
+ [JsonProperty("eu_bank_account")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("eu_bank_account")]
+#endif
+ public FinancialAddressCredentialsEuBankAccount EuBankAccount { get; set; }
+
///
/// The credentials of the UK Bank Account for the FinancialAddress. This contains unique
/// banking details such as the sort code, account number, etc. of a UK bank account.
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddressCredentialsCryptoWallet.cs b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddressCredentialsCryptoWallet.cs
new file mode 100644
index 0000000000..4bb7320344
--- /dev/null
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddressCredentialsCryptoWallet.cs
@@ -0,0 +1,40 @@
+// File generated from our OpenAPI spec
+namespace Stripe.V2.MoneyManagement
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class FinancialAddressCredentialsCryptoWallet : StripeEntity
+ {
+ ///
+ /// The blockchain address of the crypto wallet.
+ ///
+ [JsonProperty("address")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("address")]
+#endif
+ public string Address { get; set; }
+
+ ///
+ /// Required if the network supports memos (e.g. Stellar).
+ ///
+ [JsonProperty("memo")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("memo")]
+#endif
+ public string Memo { get; set; }
+
+ ///
+ /// The blockchain network of the crypto wallet.
+ /// One of: arbitrum, avalanche_c_chain, base, ethereum,
+ /// optimism, polygon, solana, or stellar.
+ ///
+ [JsonProperty("network")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("network")]
+#endif
+ public string Network { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddressCredentialsEuBankAccount.cs b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddressCredentialsEuBankAccount.cs
new file mode 100644
index 0000000000..b068580b63
--- /dev/null
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAddresses/FinancialAddressCredentialsEuBankAccount.cs
@@ -0,0 +1,58 @@
+// File generated from our OpenAPI spec
+namespace Stripe.V2.MoneyManagement
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class FinancialAddressCredentialsEuBankAccount : StripeEntity
+ {
+ ///
+ /// The account holder name to be used during bank transfers.
+ ///
+ [JsonProperty("account_holder_name")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("account_holder_name")]
+#endif
+ public string AccountHolderName { get; set; }
+
+ ///
+ /// The account number of the EU Bank Account.
+ ///
+ [JsonProperty("account_number")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("account_number")]
+#endif
+ public string AccountNumber { get; set; }
+
+ ///
+ /// The name of the Bank.
+ ///
+ [JsonProperty("bank_name")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("bank_name")]
+#endif
+ public string BankName { get; set; }
+
+ ///
+ /// The BIC of the EU Bank Account.
+ ///
+ [JsonProperty("bic")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("bic")]
+#endif
+ public string Bic { get; set; }
+
+ ///
+ /// The last four digits of the EU Bank Account number. This will always be returned. To
+ /// view the full account number when retrieving or listing FinancialAddresses, use the
+ /// include request parameter.
+ ///
+ [JsonProperty("last4")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("last4")]
+#endif
+ public string Last4 { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransfer.cs b/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransfer.cs
index 2ac6581ea2..6c9f92cf38 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransfer.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransfer.cs
@@ -70,6 +70,16 @@ public class InboundTransfer : StripeEntity, IHasId, IHasObject
#endif
public InboundTransferFrom From { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// A hosted transaction receipt URL that is provided when money movement is considered
/// regulated under Stripe’s money transmission licenses.
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuote.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuote.cs
index 0546d278dc..31068aff84 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuote.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuote.cs
@@ -87,6 +87,16 @@ public class OutboundPaymentQuote : StripeEntity, IHasId,
#endif
public OutboundPaymentQuoteFxQuote FxQuote { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// Details about the recipient of an OutboundPaymentQuote.
///
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteEstimatedFee.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteEstimatedFee.cs
index 3a99f2140c..3356efb772 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteEstimatedFee.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteEstimatedFee.cs
@@ -19,7 +19,8 @@ public class OutboundPaymentQuoteEstimatedFee : StripeEntity
/// The fee type.
- /// One of: cross_border_fee, fx_fee, or payout_fee.
+ /// One of: cross_border_payout_fee, foreign_exchange_fee,
+ /// instant_payout_fee, standard_payout_fee, or wire_payout_fee.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteFxQuote.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteFxQuote.cs
index ee05a3ee50..85566919e4 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteFxQuote.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteFxQuote.cs
@@ -1,6 +1,7 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.MoneyManagement
{
+ using System;
using System.Collections.Generic;
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
@@ -9,6 +10,36 @@ namespace Stripe.V2.MoneyManagement
public class OutboundPaymentQuoteFxQuote : StripeEntity
{
+ ///
+ /// The duration the exchange rate lock remains valid from creation time. Allowed value is
+ /// five_minutes.
+ ///
+ [JsonProperty("lock_duration")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("lock_duration")]
+#endif
+ public string LockDuration { get; set; }
+
+ ///
+ /// Time at which the rate lock will expire, measured in seconds since the Unix epoch.
+ ///
+ [JsonProperty("lock_expires_at")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("lock_expires_at")]
+#endif
+ public DateTime LockExpiresAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
+
+ ///
+ /// Lock status of the quote. Transitions from active to expired once past the
+ /// lock_expires_at timestamp. Value can be active or expired.
+ /// One of: active, or expired.
+ ///
+ [JsonProperty("lock_status")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("lock_status")]
+#endif
+ public string LockStatus { get; set; }
+
///
/// Key pair: from currency Value: exchange rate going from_currency -> to_currency.
///
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPayment.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPayment.cs
index aef134fc9f..841b5ec245 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPayment.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPayment.cs
@@ -101,6 +101,16 @@ public class OutboundPayment : StripeEntity, IHasId, IHasMetada
#endif
public OutboundPaymentFrom From { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// Set of key-value pairs that you can attach to an object. This can be useful for storing
/// additional information about the object in a structured format.
@@ -122,8 +132,9 @@ public class OutboundPayment : StripeEntity, IHasId, IHasMetada
public string OutboundPaymentQuote { get; set; }
///
- /// A hosted transaction receipt URL that is provided when money movement is considered
- /// regulated under Stripe's money transmission licenses.
+ /// A link to the Stripe-hosted receipt for this OutboundPayment. The receipt link remains
+ /// active for 60 days from the OutboundPayment creation date. After this period, the link
+ /// will expire and the receipt url value will be null.
///
[JsonProperty("receipt_url")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundSetupIntents/OutboundSetupIntent.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundSetupIntents/OutboundSetupIntent.cs
index 2e619d15ac..126612e5b1 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundSetupIntents/OutboundSetupIntent.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundSetupIntents/OutboundSetupIntent.cs
@@ -40,6 +40,16 @@ public class OutboundSetupIntent : StripeEntity, IHasId, IH
#endif
public DateTime Created { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// Specifies which actions needs to be taken next to continue setup of the credential.
///
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransfer.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransfer.cs
index 2b66281692..f1b2d2bfa8 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransfer.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransfer.cs
@@ -101,6 +101,16 @@ public class OutboundTransfer : StripeEntity, IHasId, IHasMeta
#endif
public OutboundTransferFrom From { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// Set of key-value pairs that you can attach to an object. This can be useful for storing
/// additional information about the object in a structured format.
@@ -112,8 +122,9 @@ public class OutboundTransfer : StripeEntity, IHasId, IHasMeta
public Dictionary Metadata { get; set; }
///
- /// A hosted transaction receipt URL that is provided when money movement is considered
- /// regulated under Stripe's money transmission licenses.
+ /// A link to the Stripe-hosted receipt for this OutboundTransfer. The receipt link remains
+ /// active for 60 days from the OutboundTransfer creation date. After this period, the link
+ /// will expire and the receipt url value will be null.
///
[JsonProperty("receipt_url")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethods/PayoutMethod.cs b/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethods/PayoutMethod.cs
index 5ce471f02e..dc7dc9c0f4 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethods/PayoutMethod.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethods/PayoutMethod.cs
@@ -78,6 +78,16 @@ public class PayoutMethod : StripeEntity, IHasId, IHasObject
#endif
public string LatestOutboundSetupIntent { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// Closed Enum. The type of payout method.
/// One of: bank_account, or card.
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethods/PayoutMethodUsageStatus.cs b/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethods/PayoutMethodUsageStatus.cs
index 2562c9693e..8615f9eea4 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethods/PayoutMethodUsageStatus.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethods/PayoutMethodUsageStatus.cs
@@ -9,7 +9,7 @@ namespace Stripe.V2.MoneyManagement
public class PayoutMethodUsageStatus : StripeEntity
{
///
- /// Payments status.
+ /// Payments status - used when sending OutboundPayments (sending funds to recipients).
/// One of: eligible, invalid, or requires_action.
///
[JsonProperty("payments")]
@@ -19,7 +19,7 @@ public class PayoutMethodUsageStatus : StripeEntity
public string Payments { get; set; }
///
- /// Transfers status.
+ /// Transfers status - used when making an OutboundTransfer (sending funds to yourself).
/// One of: eligible, invalid, or requires_action.
///
[JsonProperty("transfers")]
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethodsBankAccountSpecs/PayoutMethodsBankAccountSpec.cs b/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethodsBankAccountSpecs/PayoutMethodsBankAccountSpec.cs
index 051ba76fd3..7a85e8b21b 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethodsBankAccountSpecs/PayoutMethodsBankAccountSpec.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethodsBankAccountSpecs/PayoutMethodsBankAccountSpec.cs
@@ -30,5 +30,15 @@ public class PayoutMethodsBankAccountSpec : StripeEntity Countries { get; set; }
+
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
}
}
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCredit.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCredit.cs
index 2b0bdade11..794168f729 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCredit.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCredit.cs
@@ -61,16 +61,6 @@ public class ReceivedCredit : StripeEntity, IHasId, IHasObject
#endif
public ReceivedCreditBankTransfer BankTransfer { get; set; }
- ///
- /// This object stores details about the originating issuing card spend that resulted in the
- /// ReceivedCredit. Present if type field value is card_spend.
- ///
- [JsonProperty("card_spend")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("card_spend")]
-#endif
- public ReceivedCreditCardSpend CardSpend { get; set; }
-
///
/// Time at which the ReceivedCredit was created. Represented as a RFC 3339 date & time
/// UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
@@ -81,6 +71,16 @@ public class ReceivedCredit : StripeEntity, IHasId, IHasObject
#endif
public DateTime Created { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
+ ///
+ /// This object stores details about the originating crypto transaction that resulted in the
+ /// ReceivedCredit. Present if type field value is crypto_wallet_transfer.
+ ///
+ [JsonProperty("crypto_wallet_transfer")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("crypto_wallet_transfer")]
+#endif
+ public ReceivedCreditCryptoWalletTransfer CryptoWalletTransfer { get; set; }
+
///
/// Freeform string set by originator of the ReceivedCredit.
///
@@ -99,6 +99,16 @@ public class ReceivedCredit : StripeEntity, IHasId, IHasObject
#endif
public string FinancialAccount { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// A hosted transaction receipt URL that is provided when money movement is considered
/// regulated under Stripe’s money transmission licenses.
@@ -141,7 +151,7 @@ public class ReceivedCredit : StripeEntity, IHasId, IHasObject
///
/// Open Enum. The type of flow that caused the ReceivedCredit.
- /// One of: balance_transfer, bank_transfer, card_spend, or
+ /// One of: balance_transfer, bank_transfer, crypto_wallet_transfer, or
/// external_credit.
///
[JsonProperty("type")]
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBalanceTransfer.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBalanceTransfer.cs
index b31d874d12..fdc0da8a37 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBalanceTransfer.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBalanceTransfer.cs
@@ -9,21 +9,49 @@ namespace Stripe.V2.MoneyManagement
public class ReceivedCreditBalanceTransfer : StripeEntity
{
///
- /// The ID of the Stripe Money Movement that originated the ReceivedCredit.
+ /// The ID of the account that owns the source object originated the ReceivedCredit.
///
- [JsonProperty("payout_v1")]
+ [JsonProperty("from_account")]
#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("payout_v1")]
+ [STJS.JsonPropertyName("from_account")]
#endif
- public string PayoutV1 { get; set; }
+ public string FromAccount { get; set; }
///
/// Open Enum. The type of Stripe Money Movement that originated the ReceivedCredit.
+ /// One of: outbound_payment, outbound_transfer, or payout_v1.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("type")]
#endif
public string Type { get; set; }
+
+ ///
+ /// The ID of the outbound payment object that originated the ReceivedCredit.
+ ///
+ [JsonProperty("outbound_payment")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("outbound_payment")]
+#endif
+ public string OutboundPayment { get; set; }
+
+ ///
+ /// The ID of the outbound transfer object that originated the ReceivedCredit.
+ ///
+ [JsonProperty("outbound_transfer")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("outbound_transfer")]
+#endif
+ public string OutboundTransfer { get; set; }
+
+ ///
+ /// The ID of the payout object that originated the ReceivedCredit.
+ ///
+ [JsonProperty("payout_v1")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("payout_v1")]
+#endif
+ public string PayoutV1 { get; set; }
}
}
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBankTransfer.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBankTransfer.cs
index c110c03d38..949c729255 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBankTransfer.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBankTransfer.cs
@@ -19,7 +19,8 @@ public class ReceivedCreditBankTransfer : StripeEntity
/// Open Enum. Indicates the type of source via from which external funds originated.
- /// One of: gb_bank_account, or us_bank_account.
+ /// One of: crypto_wallet, eu_bank_account, gb_bank_account, or
+ /// us_bank_account.
///
[JsonProperty("payment_method_type")]
#if NET6_0_OR_GREATER
@@ -36,6 +37,16 @@ public class ReceivedCreditBankTransfer : StripeEntity
+ /// Hash containing the transaction bank details. Present if payment_method_type
+ /// field value is eu_bank_account.
+ ///
+ [JsonProperty("eu_bank_account")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("eu_bank_account")]
+#endif
+ public ReceivedCreditBankTransferEuBankAccount EuBankAccount { get; set; }
+
///
/// Hash containing the transaction bank details. Present if payment_method_type
/// field value is gb_bank_account.
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBankTransferEuBankAccount.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBankTransferEuBankAccount.cs
new file mode 100644
index 0000000000..2cbb756d88
--- /dev/null
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBankTransferEuBankAccount.cs
@@ -0,0 +1,56 @@
+// File generated from our OpenAPI spec
+namespace Stripe.V2.MoneyManagement
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class ReceivedCreditBankTransferEuBankAccount : StripeEntity
+ {
+ ///
+ /// The account holder name of the bank account the transfer was received from.
+ ///
+ [JsonProperty("account_holder_name")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("account_holder_name")]
+#endif
+ public string AccountHolderName { get; set; }
+
+ ///
+ /// The bank name the transfer was received from.
+ ///
+ [JsonProperty("bank_name")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("bank_name")]
+#endif
+ public string BankName { get; set; }
+
+ ///
+ /// The bic of the account that originated the transfer.
+ ///
+ [JsonProperty("bic")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("bic")]
+#endif
+ public string Bic { get; set; }
+
+ ///
+ /// The last 4 digits of the account number that originated the transfer.
+ ///
+ [JsonProperty("last4")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("last4")]
+#endif
+ public string Last4 { get; set; }
+
+ ///
+ /// Open Enum. The money transmission network used to send funds for this ReceivedCredit.
+ ///
+ [JsonProperty("network")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("network")]
+#endif
+ public string Network { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCardSpend.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCardSpend.cs
deleted file mode 100644
index 792c375969..0000000000
--- a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCardSpend.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-// File generated from our OpenAPI spec
-namespace Stripe.V2.MoneyManagement
-{
- using Newtonsoft.Json;
-#if NET6_0_OR_GREATER
- using STJS = System.Text.Json.Serialization;
-#endif
-
- public class ReceivedCreditCardSpend : StripeEntity
- {
- ///
- /// The reference to the issuing card object.
- ///
- [JsonProperty("card_v1_id")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("card_v1_id")]
-#endif
- public string CardV1Id { get; set; }
-
- ///
- /// Hash containing information about the Dispute that triggered this credit.
- ///
- [JsonProperty("dispute")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("dispute")]
-#endif
- public ReceivedCreditCardSpendDispute Dispute { get; set; }
-
- ///
- /// Hash containing information about the Refund that triggered this credit.
- ///
- [JsonProperty("refund")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("refund")]
-#endif
- public ReceivedCreditCardSpendRefund Refund { get; set; }
- }
-}
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCardSpendDispute.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCardSpendDispute.cs
deleted file mode 100644
index 5a0223c725..0000000000
--- a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCardSpendDispute.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-// File generated from our OpenAPI spec
-namespace Stripe.V2.MoneyManagement
-{
- using Newtonsoft.Json;
-#if NET6_0_OR_GREATER
- using STJS = System.Text.Json.Serialization;
-#endif
-
- public class ReceivedCreditCardSpendDispute : StripeEntity
- {
- ///
- /// The reference to the v1 issuing dispute ID.
- ///
- [JsonProperty("issuing_dispute_v1")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("issuing_dispute_v1")]
-#endif
- public string IssuingDisputeV1 { get; set; }
- }
-}
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCardSpendRefund.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCardSpendRefund.cs
deleted file mode 100644
index 67ce39d59f..0000000000
--- a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCardSpendRefund.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-// File generated from our OpenAPI spec
-namespace Stripe.V2.MoneyManagement
-{
- using Newtonsoft.Json;
-#if NET6_0_OR_GREATER
- using STJS = System.Text.Json.Serialization;
-#endif
-
- public class ReceivedCreditCardSpendRefund : StripeEntity
- {
- ///
- /// The reference to the v1 issuing transaction ID.
- ///
- [JsonProperty("issuing_transaction_v1")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("issuing_transaction_v1")]
-#endif
- public string IssuingTransactionV1 { get; set; }
- }
-}
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCryptoWalletTransfer.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCryptoWalletTransfer.cs
new file mode 100644
index 0000000000..676b314db4
--- /dev/null
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCryptoWalletTransfer.cs
@@ -0,0 +1,49 @@
+// File generated from our OpenAPI spec
+namespace Stripe.V2.MoneyManagement
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class ReceivedCreditCryptoWalletTransfer : StripeEntity
+ {
+ ///
+ /// Hash containing the transaction crypto wallet details.
+ ///
+ [JsonProperty("crypto_wallet")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("crypto_wallet")]
+#endif
+ public ReceivedCreditCryptoWalletTransferCryptoWallet CryptoWallet { get; set; }
+
+ ///
+ /// Financial Address on which funds for ReceivedCredit were received.
+ ///
+ [JsonProperty("financial_address")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("financial_address")]
+#endif
+ public string FinancialAddress { get; set; }
+
+ ///
+ /// Open Enum. Indicates the type of source via from which external funds originated.
+ /// One of: crypto_wallet, eu_bank_account, gb_bank_account, or
+ /// us_bank_account.
+ ///
+ [JsonProperty("payment_method_type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("payment_method_type")]
+#endif
+ public string PaymentMethodType { get; set; }
+
+ ///
+ /// Freeform string set by originator of the external ReceivedCredit.
+ ///
+ [JsonProperty("statement_descriptor")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("statement_descriptor")]
+#endif
+ public string StatementDescriptor { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCryptoWalletTransferCryptoWallet.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCryptoWalletTransferCryptoWallet.cs
new file mode 100644
index 0000000000..21498bce11
--- /dev/null
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditCryptoWalletTransferCryptoWallet.cs
@@ -0,0 +1,40 @@
+// File generated from our OpenAPI spec
+namespace Stripe.V2.MoneyManagement
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class ReceivedCreditCryptoWalletTransferCryptoWallet : StripeEntity
+ {
+ ///
+ /// The address of the wallet the crypto was received from.
+ ///
+ [JsonProperty("address")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("address")]
+#endif
+ public string Address { get; set; }
+
+ ///
+ /// A memo also for identifying the recipient for memo-based blockchains (e.g., Stellar),.
+ ///
+ [JsonProperty("memo")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("memo")]
+#endif
+ public string Memo { get; set; }
+
+ ///
+ /// The network the crypto was received from.
+ /// One of: arbitrum, avalanche_c_chain, base, ethereum,
+ /// optimism, polygon, solana, or stellar.
+ ///
+ [JsonProperty("network")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("network")]
+#endif
+ public string Network { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebit.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebit.cs
index 1d04b19729..74c5c80501 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebit.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebit.cs
@@ -50,16 +50,6 @@ public class ReceivedDebit : StripeEntity, IHasId, IHasObject
#endif
public ReceivedDebitBankTransfer BankTransfer { get; set; }
- ///
- /// This object stores details about the issuing transactions that resulted in the
- /// ReceivedDebit. Present if type field value is card_spend.
- ///
- [JsonProperty("card_spend")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("card_spend")]
-#endif
- public ReceivedDebitCardSpend CardSpend { get; set; }
-
///
/// The time at which the ReceivedDebit was created. Represented as a RFC 3339 date &
/// time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
@@ -88,6 +78,16 @@ public class ReceivedDebit : StripeEntity, IHasId, IHasObject
#endif
public string FinancialAccount { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// A link to the Stripe-hosted receipt for this ReceivedDebit.
///
@@ -128,7 +128,7 @@ public class ReceivedDebit : StripeEntity, IHasId, IHasObject
///
/// Open Enum. The type of the ReceivedDebit.
- /// One of: bank_transfer, card_spend, or external_debit.
+ /// One of: bank_transfer, or external_debit.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitCardSpend.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitCardSpend.cs
deleted file mode 100644
index 22248bb707..0000000000
--- a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitCardSpend.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-// File generated from our OpenAPI spec
-namespace Stripe.V2.MoneyManagement
-{
- using System.Collections.Generic;
- using Newtonsoft.Json;
-#if NET6_0_OR_GREATER
- using STJS = System.Text.Json.Serialization;
-#endif
-
- public class ReceivedDebitCardSpend : StripeEntity
- {
- ///
- /// The Issuing Authorization for this card_spend. Contains the reference id and the amount.
- ///
- [JsonProperty("authorization")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("authorization")]
-#endif
- public ReceivedDebitCardSpendAuthorization Authorization { get; set; }
-
- ///
- /// The list of card spend transactions. These contain the transaction reference ID and the
- /// amount.
- ///
- [JsonProperty("card_transactions")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("card_transactions")]
-#endif
- public List CardTransactions { get; set; }
-
- ///
- /// The reference to the card object that resulted in the debit.
- ///
- [JsonProperty("card_v1_id")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("card_v1_id")]
-#endif
- public string CardV1Id { get; set; }
- }
-}
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitCardSpendAuthorization.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitCardSpendAuthorization.cs
deleted file mode 100644
index 1e5b7f10d3..0000000000
--- a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitCardSpendAuthorization.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-// File generated from our OpenAPI spec
-namespace Stripe.V2.MoneyManagement
-{
- using Newtonsoft.Json;
-#if NET6_0_OR_GREATER
- using STJS = System.Text.Json.Serialization;
-#endif
-
- public class ReceivedDebitCardSpendAuthorization : StripeEntity
- {
- ///
- /// Amount associated with this issuing authorization.
- ///
- [JsonProperty("amount")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("amount")]
-#endif
- public V2.Amount Amount { get; set; }
-
- ///
- /// The reference to the v1 issuing authorization ID.
- ///
- [JsonProperty("issuing_authorization_v1")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("issuing_authorization_v1")]
-#endif
- public string IssuingAuthorizationV1 { get; set; }
- }
-}
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitCardSpendCardTransaction.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitCardSpendCardTransaction.cs
deleted file mode 100644
index 9e7d0cb2c4..0000000000
--- a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitCardSpendCardTransaction.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-// File generated from our OpenAPI spec
-namespace Stripe.V2.MoneyManagement
-{
- using Newtonsoft.Json;
-#if NET6_0_OR_GREATER
- using STJS = System.Text.Json.Serialization;
-#endif
-
- public class ReceivedDebitCardSpendCardTransaction : StripeEntity
- {
- ///
- /// Amount associated with this issuing transaction.
- ///
- [JsonProperty("amount")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("amount")]
-#endif
- public V2.Amount Amount { get; set; }
-
- ///
- /// The reference to the v1 issuing transaction ID.
- ///
- [JsonProperty("issuing_transaction_v1")]
-#if NET6_0_OR_GREATER
- [STJS.JsonPropertyName("issuing_transaction_v1")]
-#endif
- public string IssuingTransactionV1 { get; set; }
- }
-}
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntry.cs b/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntry.cs
index 83a681656c..d48c4b836c 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntry.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntry.cs
@@ -60,6 +60,16 @@ public class TransactionEntry : StripeEntity, IHasId, IHasObje
#endif
public DateTime EffectiveAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// The Transaction that this TransactionEntry belongs to.
///
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntryTransactionDetailsFlow.cs b/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntryTransactionDetailsFlow.cs
index 4a817449b7..b5f273f38c 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntryTransactionDetailsFlow.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntryTransactionDetailsFlow.cs
@@ -11,9 +11,9 @@ public class TransactionEntryTransactionDetailsFlow : StripeEntity
/// Open Enum. Type of the flow that created the Transaction. The field matching this value
/// will contain the ID of the flow.
- /// One of: adjustment, currency_conversion, fee_transaction,
- /// inbound_transfer, outbound_payment, outbound_transfer,
- /// received_credit, or received_debit.
+ /// One of: adjustment, fee_transaction, inbound_transfer,
+ /// outbound_payment, outbound_transfer, received_credit, or
+ /// received_debit.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/Transaction.cs b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/Transaction.cs
index 32ad1b275a..2de2f69cc4 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/Transaction.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/Transaction.cs
@@ -94,6 +94,16 @@ public class Transaction : StripeEntity, IHasId, IHasObject
#endif
public TransactionFlow Flow { get; set; }
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
///
/// Closed Enum. Current status of the Transaction. A Transaction is pending if
/// either balance_impact.inbound_pending or balance_impact.outbound_pending
diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionFlow.cs b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionFlow.cs
index 72e6a0e490..ba1b2260e2 100644
--- a/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionFlow.cs
+++ b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionFlow.cs
@@ -11,9 +11,9 @@ public class TransactionFlow : StripeEntity
///
/// Open Enum. Type of the flow that created the Transaction. The field matching this value
/// will contain the ID of the flow.
- /// One of: adjustment, currency_conversion, fee_transaction,
- /// inbound_transfer, outbound_payment, outbound_transfer,
- /// received_credit, or received_debit.
+ /// One of: adjustment, fee_transaction, inbound_transfer,
+ /// outbound_payment, outbound_transfer, received_credit, or
+ /// received_debit.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Events/V2CoreAccountClosedEvent.cs b/src/Stripe.net/Events/V2CoreAccountClosedEvent.cs
new file mode 100644
index 0000000000..1b917e433d
--- /dev/null
+++ b/src/Stripe.net/Events/V2CoreAccountClosedEvent.cs
@@ -0,0 +1,42 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Events
+{
+ using System.Threading.Tasks;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// This event occurs when an account is closed.
+ ///
+ public class V2CoreAccountClosedEvent : V2.Event
+ {
+ ///
+ /// Object containing the reference to API resource relevant to the event.
+ ///
+ [JsonProperty("related_object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("related_object")]
+#endif
+
+ public V2.EventRelatedObject RelatedObject { get; set; }
+
+ ///
+ /// Asynchronously retrieves the related object from the API. Make an API request on every
+ /// call.
+ ///
+ public Task FetchRelatedObjectAsync()
+ {
+ return this.FetchRelatedObjectAsync(this.RelatedObject);
+ }
+
+ ///
+ /// Retrieves the related object from the API. Make an API request on every call.
+ ///
+ public V2.Core.Account FetchRelatedObject()
+ {
+ return this.FetchRelatedObject(this.RelatedObject);
+ }
+ }
+}
diff --git a/src/Stripe.net/Events/V2CoreAccountCreatedEvent.cs b/src/Stripe.net/Events/V2CoreAccountCreatedEvent.cs
new file mode 100644
index 0000000000..9f44b3368c
--- /dev/null
+++ b/src/Stripe.net/Events/V2CoreAccountCreatedEvent.cs
@@ -0,0 +1,42 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Events
+{
+ using System.Threading.Tasks;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// This event occurs when an account is created.
+ ///
+ public class V2CoreAccountCreatedEvent : V2.Event
+ {
+ ///
+ /// Object containing the reference to API resource relevant to the event.
+ ///
+ [JsonProperty("related_object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("related_object")]
+#endif
+
+ public V2.EventRelatedObject RelatedObject { get; set; }
+
+ ///
+ /// Asynchronously retrieves the related object from the API. Make an API request on every
+ /// call.
+ ///
+ public Task FetchRelatedObjectAsync()
+ {
+ return this.FetchRelatedObjectAsync(this.RelatedObject);
+ }
+
+ ///
+ /// Retrieves the related object from the API. Make an API request on every call.
+ ///
+ public V2.Core.Account FetchRelatedObject()
+ {
+ return this.FetchRelatedObject(this.RelatedObject);
+ }
+ }
+}
diff --git a/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventData.cs b/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventData.cs
index 3ff8cf239d..270b462be1 100644
--- a/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventData.cs
+++ b/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventData.cs
@@ -22,8 +22,8 @@ public class V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedE
/// kr_card_payments, link_payments, mobilepay_payments,
/// multibanco_payments, mx_bank_transfer_payments, naver_pay_payments,
/// oxxo_payments, p24_payments, payco_payments,
- /// paynow_payments, pay_by_bank_payments, promptpay_payments,
- /// revolut_pay_payments, samsung_pay_payments,
+ /// paynow_payments, stripe_balance.payouts, pay_by_bank_payments,
+ /// promptpay_payments, revolut_pay_payments, samsung_pay_payments,
/// sepa_bank_transfer_payments, sepa_debit_payments, swish_payments,
/// twint_payments, us_bank_transfer_payments, or zip_payments.
///
diff --git a/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventData.cs b/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventData.cs
index b600a0f69d..6bc8b12b0b 100644
--- a/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventData.cs
+++ b/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventData.cs
@@ -12,7 +12,8 @@ public class V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdated
///
/// Open Enum. The capability which had its status updated.
/// One of: bank_accounts.local, bank_accounts.wire, cards,
- /// stripe_balance.stripe_transfers, or stripe.transfers.
+ /// stripe_balance.payouts, stripe_balance.stripe_transfers, or
+ /// stripe.transfers.
///
[JsonProperty("updated_capability")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Events/V2CoreAccountIncludingDefaultsUpdatedEvent.cs b/src/Stripe.net/Events/V2CoreAccountIncludingDefaultsUpdatedEvent.cs
new file mode 100644
index 0000000000..e6489e4f7b
--- /dev/null
+++ b/src/Stripe.net/Events/V2CoreAccountIncludingDefaultsUpdatedEvent.cs
@@ -0,0 +1,42 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Events
+{
+ using System.Threading.Tasks;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// This event occurs when account defaults are created or updated.
+ ///
+ public class V2CoreAccountIncludingDefaultsUpdatedEvent : V2.Event
+ {
+ ///
+ /// Object containing the reference to API resource relevant to the event.
+ ///
+ [JsonProperty("related_object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("related_object")]
+#endif
+
+ public V2.EventRelatedObject RelatedObject { get; set; }
+
+ ///
+ /// Asynchronously retrieves the related object from the API. Make an API request on every
+ /// call.
+ ///
+ public Task FetchRelatedObjectAsync()
+ {
+ return this.FetchRelatedObjectAsync(this.RelatedObject);
+ }
+
+ ///
+ /// Retrieves the related object from the API. Make an API request on every call.
+ ///
+ public V2.Core.Account FetchRelatedObject()
+ {
+ return this.FetchRelatedObject(this.RelatedObject);
+ }
+ }
+}
diff --git a/src/Stripe.net/Events/V2CoreAccountUpdatedEvent.cs b/src/Stripe.net/Events/V2CoreAccountUpdatedEvent.cs
new file mode 100644
index 0000000000..7d3c2f00d7
--- /dev/null
+++ b/src/Stripe.net/Events/V2CoreAccountUpdatedEvent.cs
@@ -0,0 +1,42 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Events
+{
+ using System.Threading.Tasks;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// This event occurs when an account is updated.
+ ///
+ public class V2CoreAccountUpdatedEvent : V2.Event
+ {
+ ///
+ /// Object containing the reference to API resource relevant to the event.
+ ///
+ [JsonProperty("related_object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("related_object")]
+#endif
+
+ public V2.EventRelatedObject RelatedObject { get; set; }
+
+ ///
+ /// Asynchronously retrieves the related object from the API. Make an API request on every
+ /// call.
+ ///
+ public Task FetchRelatedObjectAsync()
+ {
+ return this.FetchRelatedObjectAsync(this.RelatedObject);
+ }
+
+ ///
+ /// Retrieves the related object from the API. Make an API request on every call.
+ ///
+ public V2.Core.Account FetchRelatedObject()
+ {
+ return this.FetchRelatedObject(this.RelatedObject);
+ }
+ }
+}
diff --git a/src/Stripe.net/Events/V2CoreEventDestinationPingEvent.cs b/src/Stripe.net/Events/V2CoreEventDestinationPingEvent.cs
new file mode 100644
index 0000000000..1b8f4bdae3
--- /dev/null
+++ b/src/Stripe.net/Events/V2CoreEventDestinationPingEvent.cs
@@ -0,0 +1,42 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Events
+{
+ using System.Threading.Tasks;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// A ping event used to test the connection to an event destination.
+ ///
+ public class V2CoreEventDestinationPingEvent : V2.Event
+ {
+ ///
+ /// Object containing the reference to API resource relevant to the event.
+ ///
+ [JsonProperty("related_object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("related_object")]
+#endif
+
+ public V2.EventRelatedObject RelatedObject { get; set; }
+
+ ///
+ /// Asynchronously retrieves the related object from the API. Make an API request on every
+ /// call.
+ ///
+ public Task FetchRelatedObjectAsync()
+ {
+ return this.FetchRelatedObjectAsync(this.RelatedObject);
+ }
+
+ ///
+ /// Retrieves the related object from the API. Make an API request on every call.
+ ///
+ public V2.EventDestination FetchRelatedObject()
+ {
+ return this.FetchRelatedObject(this.RelatedObject);
+ }
+ }
+}
diff --git a/src/Stripe.net/Events/V2MoneyManagementAdjustmentCreatedEvent.cs b/src/Stripe.net/Events/V2MoneyManagementAdjustmentCreatedEvent.cs
new file mode 100644
index 0000000000..b79945eba9
--- /dev/null
+++ b/src/Stripe.net/Events/V2MoneyManagementAdjustmentCreatedEvent.cs
@@ -0,0 +1,42 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Events
+{
+ using System.Threading.Tasks;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// Occurs when an Adjustment is created.
+ ///
+ public class V2MoneyManagementAdjustmentCreatedEvent : V2.Event
+ {
+ ///
+ /// Object containing the reference to API resource relevant to the event.
+ ///
+ [JsonProperty("related_object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("related_object")]
+#endif
+
+ public V2.EventRelatedObject RelatedObject { get; set; }
+
+ ///
+ /// Asynchronously retrieves the related object from the API. Make an API request on every
+ /// call.
+ ///
+ public Task FetchRelatedObjectAsync()
+ {
+ return this.FetchRelatedObjectAsync(this.RelatedObject);
+ }
+
+ ///
+ /// Retrieves the related object from the API. Make an API request on every call.
+ ///
+ public V2.MoneyManagement.Adjustment FetchRelatedObject()
+ {
+ return this.FetchRelatedObject(this.RelatedObject);
+ }
+ }
+}
diff --git a/src/Stripe.net/Events/V2MoneyManagementFinancialAccountCreatedEvent.cs b/src/Stripe.net/Events/V2MoneyManagementFinancialAccountCreatedEvent.cs
index 908931aa4b..8b5efe2bbe 100644
--- a/src/Stripe.net/Events/V2MoneyManagementFinancialAccountCreatedEvent.cs
+++ b/src/Stripe.net/Events/V2MoneyManagementFinancialAccountCreatedEvent.cs
@@ -8,7 +8,7 @@ namespace Stripe.Events
#endif
///
- /// Occurs when a financial account is created.
+ /// Occurs when a FinancialAccount is created.
///
public class V2MoneyManagementFinancialAccountCreatedEvent : V2.Event
{
diff --git a/src/Stripe.net/Events/V2MoneyManagementFinancialAccountUpdatedEvent.cs b/src/Stripe.net/Events/V2MoneyManagementFinancialAccountUpdatedEvent.cs
new file mode 100644
index 0000000000..f9618ddfd5
--- /dev/null
+++ b/src/Stripe.net/Events/V2MoneyManagementFinancialAccountUpdatedEvent.cs
@@ -0,0 +1,42 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Events
+{
+ using System.Threading.Tasks;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// Occurs when a FinancialAccount is updated.
+ ///
+ public class V2MoneyManagementFinancialAccountUpdatedEvent : V2.Event
+ {
+ ///
+ /// Object containing the reference to API resource relevant to the event.
+ ///
+ [JsonProperty("related_object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("related_object")]
+#endif
+
+ public V2.EventRelatedObject RelatedObject { get; set; }
+
+ ///
+ /// Asynchronously retrieves the related object from the API. Make an API request on every
+ /// call.
+ ///
+ public Task FetchRelatedObjectAsync()
+ {
+ return this.FetchRelatedObjectAsync(this.RelatedObject);
+ }
+
+ ///
+ /// Retrieves the related object from the API. Make an API request on every call.
+ ///
+ public V2.MoneyManagement.FinancialAccount FetchRelatedObject()
+ {
+ return this.FetchRelatedObject(this.RelatedObject);
+ }
+ }
+}
diff --git a/src/Stripe.net/Events/V2MoneyManagementOutboundPaymentUpdatedEvent.cs b/src/Stripe.net/Events/V2MoneyManagementOutboundPaymentUpdatedEvent.cs
new file mode 100644
index 0000000000..ab35bf1f32
--- /dev/null
+++ b/src/Stripe.net/Events/V2MoneyManagementOutboundPaymentUpdatedEvent.cs
@@ -0,0 +1,42 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Events
+{
+ using System.Threading.Tasks;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// Event that is emitted every time an Outbound Payment is updated.
+ ///
+ public class V2MoneyManagementOutboundPaymentUpdatedEvent : V2.Event
+ {
+ ///
+ /// Object containing the reference to API resource relevant to the event.
+ ///
+ [JsonProperty("related_object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("related_object")]
+#endif
+
+ public V2.EventRelatedObject RelatedObject { get; set; }
+
+ ///
+ /// Asynchronously retrieves the related object from the API. Make an API request on every
+ /// call.
+ ///
+ public Task FetchRelatedObjectAsync()
+ {
+ return this.FetchRelatedObjectAsync(this.RelatedObject);
+ }
+
+ ///
+ /// Retrieves the related object from the API. Make an API request on every call.
+ ///
+ public V2.MoneyManagement.OutboundPayment FetchRelatedObject()
+ {
+ return this.FetchRelatedObject(this.RelatedObject);
+ }
+ }
+}
diff --git a/src/Stripe.net/Events/V2MoneyManagementOutboundTransferUpdatedEvent.cs b/src/Stripe.net/Events/V2MoneyManagementOutboundTransferUpdatedEvent.cs
new file mode 100644
index 0000000000..24b77a54b2
--- /dev/null
+++ b/src/Stripe.net/Events/V2MoneyManagementOutboundTransferUpdatedEvent.cs
@@ -0,0 +1,42 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Events
+{
+ using System.Threading.Tasks;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// Event that is emitted every time an Outbound Transfer is updated.
+ ///
+ public class V2MoneyManagementOutboundTransferUpdatedEvent : V2.Event
+ {
+ ///
+ /// Object containing the reference to API resource relevant to the event.
+ ///
+ [JsonProperty("related_object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("related_object")]
+#endif
+
+ public V2.EventRelatedObject RelatedObject { get; set; }
+
+ ///
+ /// Asynchronously retrieves the related object from the API. Make an API request on every
+ /// call.
+ ///
+ public Task FetchRelatedObjectAsync()
+ {
+ return this.FetchRelatedObjectAsync(this.RelatedObject);
+ }
+
+ ///
+ /// Retrieves the related object from the API. Make an API request on every call.
+ ///
+ public V2.MoneyManagement.OutboundTransfer FetchRelatedObject()
+ {
+ return this.FetchRelatedObject(this.RelatedObject);
+ }
+ }
+}
diff --git a/src/Stripe.net/Events/V2MoneyManagementTransactionCreatedEvent.cs b/src/Stripe.net/Events/V2MoneyManagementTransactionCreatedEvent.cs
new file mode 100644
index 0000000000..a09cebfac2
--- /dev/null
+++ b/src/Stripe.net/Events/V2MoneyManagementTransactionCreatedEvent.cs
@@ -0,0 +1,42 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Events
+{
+ using System.Threading.Tasks;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// Occurs when a Transaction is created.
+ ///
+ public class V2MoneyManagementTransactionCreatedEvent : V2.Event
+ {
+ ///
+ /// Object containing the reference to API resource relevant to the event.
+ ///
+ [JsonProperty("related_object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("related_object")]
+#endif
+
+ public V2.EventRelatedObject RelatedObject { get; set; }
+
+ ///
+ /// Asynchronously retrieves the related object from the API. Make an API request on every
+ /// call.
+ ///
+ public Task FetchRelatedObjectAsync()
+ {
+ return this.FetchRelatedObjectAsync(this.RelatedObject);
+ }
+
+ ///
+ /// Retrieves the related object from the API. Make an API request on every call.
+ ///
+ public V2.MoneyManagement.Transaction FetchRelatedObject()
+ {
+ return this.FetchRelatedObject(this.RelatedObject);
+ }
+ }
+}
diff --git a/src/Stripe.net/Events/V2MoneyManagementTransactionUpdatedEvent.cs b/src/Stripe.net/Events/V2MoneyManagementTransactionUpdatedEvent.cs
new file mode 100644
index 0000000000..4d4c4fac3c
--- /dev/null
+++ b/src/Stripe.net/Events/V2MoneyManagementTransactionUpdatedEvent.cs
@@ -0,0 +1,42 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Events
+{
+ using System.Threading.Tasks;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// Occurs when a Transaction is updated.
+ ///
+ public class V2MoneyManagementTransactionUpdatedEvent : V2.Event
+ {
+ ///
+ /// Object containing the reference to API resource relevant to the event.
+ ///
+ [JsonProperty("related_object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("related_object")]
+#endif
+
+ public V2.EventRelatedObject RelatedObject { get; set; }
+
+ ///
+ /// Asynchronously retrieves the related object from the API. Make an API request on every
+ /// call.
+ ///
+ public Task FetchRelatedObjectAsync()
+ {
+ return this.FetchRelatedObjectAsync(this.RelatedObject);
+ }
+
+ ///
+ /// Retrieves the related object from the API. Make an API request on every call.
+ ///
+ public V2.MoneyManagement.Transaction FetchRelatedObject()
+ {
+ return this.FetchRelatedObject(this.RelatedObject);
+ }
+ }
+}
diff --git a/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs b/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs
index 7af1ee2fca..a65f7f90d4 100644
--- a/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs
+++ b/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs
@@ -308,6 +308,13 @@ public static class StripeTypeRegistry
"v2.core.account_link.completed", typeof(
Events.V2CoreAccountLinkCompletedEvent)
},
+ { "v2.core.account.closed", typeof(Events.V2CoreAccountClosedEvent) },
+ { "v2.core.account.created", typeof(Events.V2CoreAccountCreatedEvent) },
+ { "v2.core.account.updated", typeof(Events.V2CoreAccountUpdatedEvent) },
+ {
+ "v2.core.account[defaults].updated", typeof(
+ Events.V2CoreAccountIncludingDefaultsUpdatedEvent)
+ },
{
"v2.core.account[configuration.customer].capability_status_updated", typeof(
Events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent)
@@ -348,6 +355,10 @@ public static class StripeTypeRegistry
"v2.core.account[configuration.recipient].updated", typeof(
Events.V2CoreAccountIncludingConfigurationRecipientUpdatedEvent)
},
+ {
+ "v2.money_management.adjustment.created", typeof(
+ Events.V2MoneyManagementAdjustmentCreatedEvent)
+ },
{
"v1.billing.meter.error_report_triggered", typeof(
Events.V1BillingMeterErrorReportTriggeredEvent)
@@ -360,6 +371,10 @@ public static class StripeTypeRegistry
"v2.money_management.financial_account.created", typeof(
Events.V2MoneyManagementFinancialAccountCreatedEvent)
},
+ {
+ "v2.money_management.financial_account.updated", typeof(
+ Events.V2MoneyManagementFinancialAccountUpdatedEvent)
+ },
{
"v2.money_management.financial_address.activated", typeof(
Events.V2MoneyManagementFinancialAddressActivatedEvent)
@@ -392,6 +407,10 @@ public static class StripeTypeRegistry
"v2.money_management.inbound_transfer.bank_debit_succeeded", typeof(
Events.V2MoneyManagementInboundTransferBankDebitSucceededEvent)
},
+ {
+ "v2.core.event_destination.ping", typeof(
+ Events.V2CoreEventDestinationPingEvent)
+ },
{
"v2.money_management.outbound_payment.canceled", typeof(
Events.V2MoneyManagementOutboundPaymentCanceledEvent)
@@ -412,6 +431,10 @@ public static class StripeTypeRegistry
"v2.money_management.outbound_payment.returned", typeof(
Events.V2MoneyManagementOutboundPaymentReturnedEvent)
},
+ {
+ "v2.money_management.outbound_payment.updated", typeof(
+ Events.V2MoneyManagementOutboundPaymentUpdatedEvent)
+ },
{
"v2.money_management.outbound_transfer.canceled", typeof(
Events.V2MoneyManagementOutboundTransferCanceledEvent)
@@ -432,6 +455,10 @@ public static class StripeTypeRegistry
"v2.money_management.outbound_transfer.returned", typeof(
Events.V2MoneyManagementOutboundTransferReturnedEvent)
},
+ {
+ "v2.money_management.outbound_transfer.updated", typeof(
+ Events.V2MoneyManagementOutboundTransferUpdatedEvent)
+ },
{
"v2.money_management.received_credit.available", typeof(
Events.V2MoneyManagementReceivedCreditAvailableEvent)
@@ -468,6 +495,14 @@ public static class StripeTypeRegistry
"v2.money_management.received_debit.updated", typeof(
Events.V2MoneyManagementReceivedDebitUpdatedEvent)
},
+ {
+ "v2.money_management.transaction.created", typeof(
+ Events.V2MoneyManagementTransactionCreatedEvent)
+ },
+ {
+ "v2.money_management.transaction.updated", typeof(
+ Events.V2MoneyManagementTransactionUpdatedEvent)
+ },
// ThinTypesToEventTypes: The end of the section generated from our OpenAPI spec
});
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerAutomaticIndirectTaxOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerAutomaticIndirectTaxOptions.cs
index 39927a5f9a..8003fe2a9d 100644
--- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerAutomaticIndirectTaxOptions.cs
+++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerAutomaticIndirectTaxOptions.cs
@@ -30,7 +30,7 @@ public class AccountCreateConfigurationCustomerAutomaticIndirectTaxOptions : INe
public string IpAddress { get; set; }
///
- /// The data source used by Stripe Tax to identify the customer's location - defaults to
+ /// The data source used to identify the customer's tax location - defaults to
/// 'identity_address'. Will only be used for automatic tax calculation on the customer's
/// Invoices and Subscriptions.
/// One of: identity_address, ip_address, or shipping_address.
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationRecipientCapabilitiesOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationRecipientCapabilitiesOptions.cs
index d35959d1ec..84440b1809 100644
--- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationRecipientCapabilitiesOptions.cs
+++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationRecipientCapabilitiesOptions.cs
@@ -27,8 +27,7 @@ public class AccountCreateConfigurationRecipientCapabilitiesOptions : INestedOpt
public AccountCreateConfigurationRecipientCapabilitiesCardsOptions Cards { get; set; }
///
- /// Capabilities that enable the recipient to receive money into their Stripe Balance
- /// (/v1/balance).
+ /// Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
///
[JsonProperty("stripe_balance")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs
index 4a332656cd..4cce9c8083 100644
--- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs
+++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs
@@ -9,7 +9,7 @@ namespace Stripe.V2.Core
public class AccountCreateConfigurationRecipientCapabilitiesStripeBalanceOptions : INestedOptions
{
///
- /// Allows the recipient to receive /v1/transfers into their Stripe Balance (/v1/balance).
+ /// Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
///
[JsonProperty("stripe_transfers")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateDefaultsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateDefaultsOptions.cs
index ae9b6faa35..c9e4374a75 100644
--- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateDefaultsOptions.cs
+++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateDefaultsOptions.cs
@@ -35,10 +35,10 @@ public class AccountCreateDefaultsOptions : INestedOptions
/// sek, sgd, shp, sle, sll, sos, srd,
/// ssp, std, stn, svc, syp, szl, thb,
/// tjs, tmt, tnd, top, try, ttd, twd,
- /// tzs, uah, ugx, usd, usdc, usn, uyi,
- /// uyu, uzs, vef, ves, vnd, vuv, wst,
- /// xaf, xcd, xcg, xof, xpf, yer, zar,
- /// zmk, zmw, zwd, zwg, or zwl.
+ /// tzs, uah, ugx, usd, usdb, usdc, usn,
+ /// uyi, uyu, uzs, vef, ves, vnd, vuv,
+ /// wst, xaf, xcd, xcg, xof, xpf, yer,
+ /// zar, zmk, zmw, zwd, zwg, or zwl.
///
[JsonProperty("currency")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerAutomaticIndirectTaxOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerAutomaticIndirectTaxOptions.cs
index 5c1296982c..dee55f524e 100644
--- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerAutomaticIndirectTaxOptions.cs
+++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerAutomaticIndirectTaxOptions.cs
@@ -30,7 +30,7 @@ public class AccountUpdateConfigurationCustomerAutomaticIndirectTaxOptions : INe
public string IpAddress { get; set; }
///
- /// The data source used by Stripe Tax to identify the customer's location - defaults to
+ /// The data source used to identify the customer's tax location - defaults to
/// 'identity_address'. Will only be used for automatic tax calculation on the customer's
/// Invoices and Subscriptions.
/// One of: identity_address, ip_address, or shipping_address.
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationRecipientCapabilitiesOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationRecipientCapabilitiesOptions.cs
index 2cad1fa5f9..0595bc1c3b 100644
--- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationRecipientCapabilitiesOptions.cs
+++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationRecipientCapabilitiesOptions.cs
@@ -27,8 +27,7 @@ public class AccountUpdateConfigurationRecipientCapabilitiesOptions : INestedOpt
public AccountUpdateConfigurationRecipientCapabilitiesCardsOptions Cards { get; set; }
///
- /// Capabilities that enable the recipient to receive money into their Stripe Balance
- /// (/v1/balance).
+ /// Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
///
[JsonProperty("stripe_balance")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs
index d2c73f0f12..43469f58d8 100644
--- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs
+++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs
@@ -9,7 +9,7 @@ namespace Stripe.V2.Core
public class AccountUpdateConfigurationRecipientCapabilitiesStripeBalanceOptions : INestedOptions
{
///
- /// Allows the recipient to receive /v1/transfers into their Stripe Balance (/v1/balance).
+ /// Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
///
[JsonProperty("stripe_transfers")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateDefaultsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateDefaultsOptions.cs
index 4fb082aa1e..cc5fcd98d7 100644
--- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateDefaultsOptions.cs
+++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateDefaultsOptions.cs
@@ -35,10 +35,10 @@ public class AccountUpdateDefaultsOptions : INestedOptions
/// sek, sgd, shp, sle, sll, sos, srd,
/// ssp, std, stn, svc, syp, szl, thb,
/// tjs, tmt, tnd, top, try, ttd, twd,
- /// tzs, uah, ugx, usd, usdc, usn, uyi,
- /// uyu, uzs, vef, ves, vnd, vuv, wst,
- /// xaf, xcd, xcg, xof, xpf, yer, zar,
- /// zmk, zmw, zwd, zwg, or zwl.
+ /// tzs, uah, ugx, usd, usdb, usdc, usn,
+ /// uyi, uyu, uzs, vef, ves, vnd, vuv,
+ /// wst, xaf, xcd, xcg, xof, xpf, yer,
+ /// zar, zmk, zmw, zwd, zwg, or zwl.
///
[JsonProperty("currency")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateRelationshipOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateRelationshipOptions.cs
index 3afeec32c0..fe7d1ea80a 100644
--- a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateRelationshipOptions.cs
+++ b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateRelationshipOptions.cs
@@ -8,6 +8,15 @@ namespace Stripe.V2.Core.Accounts
public class PersonCreateRelationshipOptions : INestedOptions
{
+ ///
+ /// Whether the individual is an authorizer of the Account’s legal entity.
+ ///
+ [JsonProperty("authorizer")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("authorizer")]
+#endif
+ public bool? Authorizer { get; set; }
+
///
/// Indicates whether the person is a director of the associated legal entity.
///
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateRelationshipOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateRelationshipOptions.cs
index 5cec4d7fef..414c958e66 100644
--- a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateRelationshipOptions.cs
+++ b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateRelationshipOptions.cs
@@ -8,6 +8,15 @@ namespace Stripe.V2.Core.Accounts
public class PersonUpdateRelationshipOptions : INestedOptions
{
+ ///
+ /// Whether the individual is an authorizer of the Account’s legal entity.
+ ///
+ [JsonProperty("authorizer")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("authorizer")]
+#endif
+ public bool? Authorizer { get; set; }
+
///
/// Indicates whether the person is a director of the associated legal entity.
///
diff --git a/src/Stripe.net/Services/V2/Core/Events/EventListOptions.cs b/src/Stripe.net/Services/V2/Core/Events/EventListOptions.cs
index 49db479c1a..dd0ab44300 100644
--- a/src/Stripe.net/Services/V2/Core/Events/EventListOptions.cs
+++ b/src/Stripe.net/Services/V2/Core/Events/EventListOptions.cs
@@ -1,6 +1,7 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.Core
{
+ using System;
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
@@ -8,6 +9,53 @@ namespace Stripe.V2.Core
public class EventListOptions : V2.ListOptions
{
+ ///
+ /// Filter for events created after the specified timestamp.
+ ///
+ [JsonProperty("created_gt")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("created_gt")]
+#endif
+ public DateTime? CreatedGt { get; set; }
+
+ ///
+ /// Filter for events created at or after the specified timestamp.
+ ///
+ [JsonProperty("created_gte")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("created_gte")]
+#endif
+ public DateTime? CreatedGte { get; set; }
+
+ ///
+ /// Filter for events created before the specified timestamp.
+ ///
+ [JsonProperty("created_lt")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("created_lt")]
+#endif
+ public DateTime? CreatedLt { get; set; }
+
+ ///
+ /// Filter for events created at or before the specified timestamp.
+ ///
+ [JsonProperty("created_lte")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("created_lte")]
+#endif
+ public DateTime? CreatedLte { get; set; }
+
+ ///
+ /// Filter events based on whether they were successfully delivered to all subscribed event
+ /// destinations. If false, events which are still pending or have failed all delivery
+ /// attempts to a event destination will be returned.
+ ///
+ [JsonProperty("delivery_success")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("delivery_success")]
+#endif
+ public bool? DeliverySuccess { get; set; }
+
///
/// Primary object ID used to retrieve related events.
///
diff --git a/src/Stripe.net/Services/V2/MoneyManagement/FinancialAddresses/FinancialAddressCreateCryptoPropertiesOptions.cs b/src/Stripe.net/Services/V2/MoneyManagement/FinancialAddresses/FinancialAddressCreateCryptoPropertiesOptions.cs
new file mode 100644
index 0000000000..d4a8f5e7a8
--- /dev/null
+++ b/src/Stripe.net/Services/V2/MoneyManagement/FinancialAddresses/FinancialAddressCreateCryptoPropertiesOptions.cs
@@ -0,0 +1,22 @@
+// File generated from our OpenAPI spec
+namespace Stripe.V2.MoneyManagement
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class FinancialAddressCreateCryptoPropertiesOptions : INestedOptions
+ {
+ ///
+ /// The blockchain network of the crypto wallet.
+ /// One of: arbitrum, avalanche_c_chain, base, ethereum,
+ /// optimism, polygon, solana, or stellar.
+ ///
+ [JsonProperty("network")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("network")]
+#endif
+ public string Network { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/V2/MoneyManagement/FinancialAddresses/FinancialAddressCreateOptions.cs b/src/Stripe.net/Services/V2/MoneyManagement/FinancialAddresses/FinancialAddressCreateOptions.cs
index 46f00609d6..441f20b5aa 100644
--- a/src/Stripe.net/Services/V2/MoneyManagement/FinancialAddresses/FinancialAddressCreateOptions.cs
+++ b/src/Stripe.net/Services/V2/MoneyManagement/FinancialAddresses/FinancialAddressCreateOptions.cs
@@ -8,6 +8,15 @@ namespace Stripe.V2.MoneyManagement
public class FinancialAddressCreateOptions : BaseOptions
{
+ ///
+ /// Properties needed to create a FinancialAddress for an FA with USDC currency.
+ ///
+ [JsonProperty("crypto_properties")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("crypto_properties")]
+#endif
+ public FinancialAddressCreateCryptoPropertiesOptions CryptoProperties { get; set; }
+
///
/// Open Enum. The currency the FinancialAddress should support. Currently, only the
/// usd and gbp values are supported.
@@ -33,10 +42,10 @@ public class FinancialAddressCreateOptions : BaseOptions
/// sek, sgd, shp, sle, sll, sos, srd,
/// ssp, std, stn, svc, syp, szl, thb,
/// tjs, tmt, tnd, top, try, ttd, twd,
- /// tzs, uah, ugx, usd, usdc, usn, uyi,
- /// uyu, uzs, vef, ves, vnd, vuv, wst,
- /// xaf, xcd, xcg, xof, xpf, yer, zar,
- /// zmk, zmw, zwd, zwg, or zwl.
+ /// tzs, uah, ugx, usd, usdb, usdc, usn,
+ /// uyi, uyu, uzs, vef, ves, vnd, vuv,
+ /// wst, xaf, xcd, xcg, xof, xpf, yer,
+ /// zar, zmk, zmw, zwd, zwg, or zwl.
///
[JsonProperty("currency")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteGetOptions.cs b/src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteGetOptions.cs
new file mode 100644
index 0000000000..fc2889ae97
--- /dev/null
+++ b/src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteGetOptions.cs
@@ -0,0 +1,7 @@
+// File generated from our OpenAPI spec
+namespace Stripe.V2.MoneyManagement
+{
+ public class OutboundPaymentQuoteGetOptions : BaseOptions
+ {
+ }
+}
diff --git a/src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteService.cs b/src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteService.cs
index b29cf4d9ce..5be2fe05cb 100644
--- a/src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteService.cs
+++ b/src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteService.cs
@@ -2,6 +2,7 @@
namespace Stripe.V2.MoneyManagement
{
using System;
+ using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
@@ -33,5 +34,23 @@ public virtual Task CreateAsync(OutboundPaymentQuoteCreate
{
return this.RequestAsync(BaseAddress.Api, HttpMethod.Post, $"/v2/money_management/outbound_payment_quotes", options, requestOptions, cancellationToken);
}
+
+ ///
+ /// Retrieves the details of an existing OutboundPaymentQuote by passing the unique
+ /// OutboundPaymentQuote ID.
+ ///
+ public virtual OutboundPaymentQuote Get(string id, OutboundPaymentQuoteGetOptions options = null, RequestOptions requestOptions = null)
+ {
+ return this.Request(BaseAddress.Api, HttpMethod.Get, $"/v2/money_management/outbound_payment_quotes/{WebUtility.UrlEncode(id)}", options, requestOptions);
+ }
+
+ ///
+ /// Retrieves the details of an existing OutboundPaymentQuote by passing the unique
+ /// OutboundPaymentQuote ID.
+ ///
+ public virtual Task GetAsync(string id, OutboundPaymentQuoteGetOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
+ {
+ return this.RequestAsync(BaseAddress.Api, HttpMethod.Get, $"/v2/money_management/outbound_payment_quotes/{WebUtility.UrlEncode(id)}", options, requestOptions, cancellationToken);
+ }
}
}
diff --git a/src/Stripe.net/Services/V2/MoneyManagement/OutboundPayments/OutboundPaymentCreateOptions.cs b/src/Stripe.net/Services/V2/MoneyManagement/OutboundPayments/OutboundPaymentCreateOptions.cs
index 49f3935701..79d0cc60c8 100644
--- a/src/Stripe.net/Services/V2/MoneyManagement/OutboundPayments/OutboundPaymentCreateOptions.cs
+++ b/src/Stripe.net/Services/V2/MoneyManagement/OutboundPayments/OutboundPaymentCreateOptions.cs
@@ -29,7 +29,9 @@ public class OutboundPaymentCreateOptions : BaseOptions, IHasMetadata
///
/// An arbitrary string attached to the OutboundPayment. Often useful for displaying to
- /// users.
+ /// users. The description can not be longer than 100 characters and can only contain basic
+ /// Latin characters and spaces. The following special characters are not allowed:
+ /// <>'"* .
///
[JsonProperty("description")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/V2/MoneyManagement/OutboundTransfers/OutboundTransferCreateOptions.cs b/src/Stripe.net/Services/V2/MoneyManagement/OutboundTransfers/OutboundTransferCreateOptions.cs
index d9008fb584..97edc8ae65 100644
--- a/src/Stripe.net/Services/V2/MoneyManagement/OutboundTransfers/OutboundTransferCreateOptions.cs
+++ b/src/Stripe.net/Services/V2/MoneyManagement/OutboundTransfers/OutboundTransferCreateOptions.cs
@@ -29,7 +29,9 @@ public class OutboundTransferCreateOptions : BaseOptions, IHasMetadata
///
/// An arbitrary string attached to the OutboundTransfer. Often useful for displaying to
- /// users.
+ /// users. The description can not be longer than 100 characters and can only contain basic
+ /// Latin characters and spaces. The following special characters are not allowed:
+ /// <>'"* .
///
[JsonProperty("description")]
#if NET6_0_OR_GREATER
diff --git a/src/StripeTests/Services/GeneratedExamplesTest.cs b/src/StripeTests/Services/GeneratedExamplesTest.cs
index 625ba74392..295909f883 100644
--- a/src/StripeTests/Services/GeneratedExamplesTest.cs
+++ b/src/StripeTests/Services/GeneratedExamplesTest.cs
@@ -6177,7 +6177,7 @@ public void TestV2CoreAccountPost()
HttpMethod.Post,
"/v2/core/accounts/id_123/close",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"recipient\"],\"configuration\":null,\"contact_email\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"dashboard\":null,\"defaults\":null,\"display_name\":null,\"identity\":null,\"metadata\":null,\"requirements\":null}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"recipient\"],\"configuration\":null,\"contact_email\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"dashboard\":null,\"defaults\":null,\"display_name\":null,\"identity\":null,\"livemode\":true,\"metadata\":null,\"requirements\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Accounts;
Stripe.V2.Core.Account account = service.Close("id_123");
@@ -6193,7 +6193,7 @@ public void TestV2CoreAccountPost2()
HttpMethod.Post,
"/v2/core/accounts",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"recipient\"],\"configuration\":null,\"contact_email\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"dashboard\":null,\"defaults\":null,\"display_name\":null,\"identity\":null,\"metadata\":null,\"requirements\":null}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"recipient\"],\"configuration\":null,\"contact_email\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"dashboard\":null,\"defaults\":null,\"display_name\":null,\"identity\":null,\"livemode\":true,\"metadata\":null,\"requirements\":null}");
var options = new Stripe.V2.Core.AccountCreateOptions();
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Accounts;
@@ -6208,7 +6208,7 @@ public void TestV2CoreAccountGet()
HttpMethod.Get,
"/v2/core/accounts",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"recipient\"],\"configuration\":null,\"contact_email\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"dashboard\":null,\"defaults\":null,\"display_name\":null,\"identity\":null,\"metadata\":null,\"requirements\":null}],\"next_page_url\":null,\"previous_page_url\":null}");
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"recipient\"],\"configuration\":null,\"contact_email\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"dashboard\":null,\"defaults\":null,\"display_name\":null,\"identity\":null,\"livemode\":true,\"metadata\":null,\"requirements\":null}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Accounts;
Stripe.V2.StripeList accounts = service
@@ -6223,7 +6223,7 @@ public void TestV2CoreAccountGet2()
HttpMethod.Get,
"/v2/core/accounts/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"recipient\"],\"configuration\":null,\"contact_email\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"dashboard\":null,\"defaults\":null,\"display_name\":null,\"identity\":null,\"metadata\":null,\"requirements\":null}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"recipient\"],\"configuration\":null,\"contact_email\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"dashboard\":null,\"defaults\":null,\"display_name\":null,\"identity\":null,\"livemode\":true,\"metadata\":null,\"requirements\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Accounts;
Stripe.V2.Core.Account account = service.Get("id_123");
@@ -6237,7 +6237,7 @@ public void TestV2CoreAccountPost3()
HttpMethod.Post,
"/v2/core/accounts/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"recipient\"],\"configuration\":null,\"contact_email\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"dashboard\":null,\"defaults\":null,\"display_name\":null,\"identity\":null,\"metadata\":null,\"requirements\":null}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"recipient\"],\"configuration\":null,\"contact_email\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"dashboard\":null,\"defaults\":null,\"display_name\":null,\"identity\":null,\"livemode\":true,\"metadata\":null,\"requirements\":null}");
var options = new Stripe.V2.Core.AccountUpdateOptions();
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Accounts;
@@ -6252,7 +6252,7 @@ public void TestV2CoreAccountsPersonPost()
HttpMethod.Post,
"/v2/core/accounts/account_id_123/persons",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"account\":\"account\",\"additional_addresses\":null,\"additional_names\":null,\"additional_terms_of_service\":null,\"address\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"date_of_birth\":null,\"documents\":null,\"email\":null,\"given_name\":null,\"id_numbers\":null,\"legal_gender\":null,\"metadata\":null,\"nationalities\":null,\"phone\":null,\"political_exposure\":null,\"relationship\":null,\"script_addresses\":null,\"script_names\":null,\"surname\":null,\"updated\":\"1970-01-03T17:07:10.277Z\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"account\":\"account\",\"additional_addresses\":null,\"additional_names\":null,\"additional_terms_of_service\":null,\"address\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"date_of_birth\":null,\"documents\":null,\"email\":null,\"given_name\":null,\"id_numbers\":null,\"legal_gender\":null,\"livemode\":true,\"metadata\":null,\"nationalities\":null,\"phone\":null,\"political_exposure\":null,\"relationship\":null,\"script_addresses\":null,\"script_names\":null,\"surname\":null,\"updated\":\"1970-01-03T17:07:10.277Z\"}");
var options = new Stripe.V2.Core.Accounts.PersonCreateOptions();
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Accounts.Persons;
@@ -6271,7 +6271,7 @@ public void TestV2CoreAccountsPersonDelete()
HttpMethod.Delete,
"/v2/core/accounts/account_id_123/persons/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"account\":\"account\",\"additional_addresses\":null,\"additional_names\":null,\"additional_terms_of_service\":null,\"address\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"date_of_birth\":null,\"documents\":null,\"email\":null,\"given_name\":null,\"id_numbers\":null,\"legal_gender\":null,\"metadata\":null,\"nationalities\":null,\"phone\":null,\"political_exposure\":null,\"relationship\":null,\"script_addresses\":null,\"script_names\":null,\"surname\":null,\"updated\":\"1970-01-03T17:07:10.277Z\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"account\":\"account\",\"additional_addresses\":null,\"additional_names\":null,\"additional_terms_of_service\":null,\"address\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"date_of_birth\":null,\"documents\":null,\"email\":null,\"given_name\":null,\"id_numbers\":null,\"legal_gender\":null,\"livemode\":true,\"metadata\":null,\"nationalities\":null,\"phone\":null,\"political_exposure\":null,\"relationship\":null,\"script_addresses\":null,\"script_names\":null,\"surname\":null,\"updated\":\"1970-01-03T17:07:10.277Z\"}");
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Accounts.Persons;
Stripe.V2.Core.Person deleted = service.Delete(
@@ -6289,7 +6289,7 @@ public void TestV2CoreAccountsPersonGet()
HttpMethod.Get,
"/v2/core/accounts/account_id_123/persons",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"account\":\"account\",\"additional_addresses\":null,\"additional_names\":null,\"additional_terms_of_service\":null,\"address\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"date_of_birth\":null,\"documents\":null,\"email\":null,\"given_name\":null,\"id_numbers\":null,\"legal_gender\":null,\"metadata\":null,\"nationalities\":null,\"phone\":null,\"political_exposure\":null,\"relationship\":null,\"script_addresses\":null,\"script_names\":null,\"surname\":null,\"updated\":\"1970-01-03T17:07:10.277Z\"}],\"next_page_url\":null,\"previous_page_url\":null}");
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"account\":\"account\",\"additional_addresses\":null,\"additional_names\":null,\"additional_terms_of_service\":null,\"address\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"date_of_birth\":null,\"documents\":null,\"email\":null,\"given_name\":null,\"id_numbers\":null,\"legal_gender\":null,\"livemode\":true,\"metadata\":null,\"nationalities\":null,\"phone\":null,\"political_exposure\":null,\"relationship\":null,\"script_addresses\":null,\"script_names\":null,\"surname\":null,\"updated\":\"1970-01-03T17:07:10.277Z\"}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Accounts.Persons;
Stripe.V2.StripeList persons = service.List(
@@ -6306,7 +6306,7 @@ public void TestV2CoreAccountsPersonGet2()
HttpMethod.Get,
"/v2/core/accounts/account_id_123/persons/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"account\":\"account\",\"additional_addresses\":null,\"additional_names\":null,\"additional_terms_of_service\":null,\"address\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"date_of_birth\":null,\"documents\":null,\"email\":null,\"given_name\":null,\"id_numbers\":null,\"legal_gender\":null,\"metadata\":null,\"nationalities\":null,\"phone\":null,\"political_exposure\":null,\"relationship\":null,\"script_addresses\":null,\"script_names\":null,\"surname\":null,\"updated\":\"1970-01-03T17:07:10.277Z\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"account\":\"account\",\"additional_addresses\":null,\"additional_names\":null,\"additional_terms_of_service\":null,\"address\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"date_of_birth\":null,\"documents\":null,\"email\":null,\"given_name\":null,\"id_numbers\":null,\"legal_gender\":null,\"livemode\":true,\"metadata\":null,\"nationalities\":null,\"phone\":null,\"political_exposure\":null,\"relationship\":null,\"script_addresses\":null,\"script_names\":null,\"surname\":null,\"updated\":\"1970-01-03T17:07:10.277Z\"}");
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Accounts.Persons;
Stripe.V2.Core.Person person = service.Get(
@@ -6324,7 +6324,7 @@ public void TestV2CoreAccountsPersonPost2()
HttpMethod.Post,
"/v2/core/accounts/account_id_123/persons/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"account\":\"account\",\"additional_addresses\":null,\"additional_names\":null,\"additional_terms_of_service\":null,\"address\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"date_of_birth\":null,\"documents\":null,\"email\":null,\"given_name\":null,\"id_numbers\":null,\"legal_gender\":null,\"metadata\":null,\"nationalities\":null,\"phone\":null,\"political_exposure\":null,\"relationship\":null,\"script_addresses\":null,\"script_names\":null,\"surname\":null,\"updated\":\"1970-01-03T17:07:10.277Z\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"account\":\"account\",\"additional_addresses\":null,\"additional_names\":null,\"additional_terms_of_service\":null,\"address\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"date_of_birth\":null,\"documents\":null,\"email\":null,\"given_name\":null,\"id_numbers\":null,\"legal_gender\":null,\"livemode\":true,\"metadata\":null,\"nationalities\":null,\"phone\":null,\"political_exposure\":null,\"relationship\":null,\"script_addresses\":null,\"script_names\":null,\"surname\":null,\"updated\":\"1970-01-03T17:07:10.277Z\"}");
var options = new Stripe.V2.Core.Accounts.PersonUpdateOptions();
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Accounts.Persons;
@@ -6344,7 +6344,7 @@ public void TestV2CoreAccountLinkPost()
HttpMethod.Post,
"/v2/core/account_links",
(HttpStatusCode)200,
- "{\"object\":\"v2.core.account_link\",\"account\":\"account\",\"created\":\"1970-01-12T21:42:34.472Z\",\"expires_at\":\"1970-01-10T15:36:51.170Z\",\"url\":\"url\",\"use_case\":{\"type\":\"account_onboarding\",\"account_onboarding\":null,\"account_update\":null}}");
+ "{\"object\":\"v2.core.account_link\",\"account\":\"account\",\"created\":\"1970-01-12T21:42:34.472Z\",\"expires_at\":\"1970-01-10T15:36:51.170Z\",\"livemode\":true,\"url\":\"url\",\"use_case\":{\"type\":\"account_onboarding\",\"account_onboarding\":null,\"account_update\":null}}");
var options = new Stripe.V2.Core.AccountLinkCreateOptions
{
Account = "account",
@@ -6516,20 +6516,11 @@ public void TestV2CoreEventGet()
HttpMethod.Get,
"/v2/core/events",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.core.event\",\"context\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"reason\":null,\"type\":\"type\"}],\"next_page_url\":null,\"previous_page_url\":null}",
- "object_id=object_id");
- var options = new Stripe.V2.Core.EventListOptions
- {
- ObjectId = "object_id",
- };
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.core.event\",\"context\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"reason\":null,\"type\":\"type\"}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Events;
- Stripe.V2.StripeList events = service.List(
- options);
- this.AssertRequest(
- HttpMethod.Get,
- "/v2/core/events",
- "object_id=object_id");
+ Stripe.V2.StripeList events = service.List();
+ this.AssertRequest(HttpMethod.Get, "/v2/core/events");
}
[Fact]
@@ -6553,7 +6544,7 @@ public void TestV2CoreVaultGbBankAccountPost()
HttpMethod.Post,
"/v2/core/vault/gb_bank_accounts/id_123/acknowledge_confirmation_of_payee",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{\"business_type\":null,\"name\":null},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"sort_code\":\"sort_code\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{\"business_type\":null,\"name\":null},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"sort_code\":\"sort_code\"}");
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Vault.GbBankAccounts;
Stripe.V2.Core.Vault.GbBankAccount gbBankAccount = service
@@ -6570,7 +6561,7 @@ public void TestV2CoreVaultGbBankAccountPost2()
HttpMethod.Post,
"/v2/core/vault/gb_bank_accounts/id_123/archive",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{\"business_type\":null,\"name\":null},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"sort_code\":\"sort_code\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{\"business_type\":null,\"name\":null},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"sort_code\":\"sort_code\"}");
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Vault.GbBankAccounts;
Stripe.V2.Core.Vault.GbBankAccount gbBankAccount = service.Archive(
@@ -6587,7 +6578,7 @@ public void TestV2CoreVaultGbBankAccountPost3()
HttpMethod.Post,
"/v2/core/vault/gb_bank_accounts",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{\"business_type\":null,\"name\":null},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"sort_code\":\"sort_code\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{\"business_type\":null,\"name\":null},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"sort_code\":\"sort_code\"}");
var options = new Stripe.V2.Core.Vault.GbBankAccountCreateOptions
{
AccountNumber = "account_number",
@@ -6609,7 +6600,7 @@ public void TestV2CoreVaultGbBankAccountPost4()
HttpMethod.Post,
"/v2/core/vault/gb_bank_accounts/id_123/initiate_confirmation_of_payee",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{\"business_type\":null,\"name\":null},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"sort_code\":\"sort_code\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{\"business_type\":null,\"name\":null},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"sort_code\":\"sort_code\"}");
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Vault.GbBankAccounts;
Stripe.V2.Core.Vault.GbBankAccount gbBankAccount = service
@@ -6626,7 +6617,7 @@ public void TestV2CoreVaultGbBankAccountGet()
HttpMethod.Get,
"/v2/core/vault/gb_bank_accounts/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{\"business_type\":null,\"name\":null},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"sort_code\":\"sort_code\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{\"business_type\":null,\"name\":null},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"sort_code\":\"sort_code\"}");
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Vault.GbBankAccounts;
Stripe.V2.Core.Vault.GbBankAccount gbBankAccount = service.Get(
@@ -6643,7 +6634,7 @@ public void TestV2CoreVaultUsBankAccountPost()
HttpMethod.Post,
"/v2/core/vault/us_bank_accounts/id_123/archive",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"fedwire_routing_number\":null,\"last4\":\"last4\",\"routing_number\":null}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"fedwire_routing_number\":null,\"last4\":\"last4\",\"livemode\":true,\"routing_number\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Vault.UsBankAccounts;
Stripe.V2.Core.Vault.UsBankAccount usBankAccount = service.Archive(
@@ -6660,7 +6651,7 @@ public void TestV2CoreVaultUsBankAccountPost2()
HttpMethod.Post,
"/v2/core/vault/us_bank_accounts",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"fedwire_routing_number\":null,\"last4\":\"last4\",\"routing_number\":null}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"fedwire_routing_number\":null,\"last4\":\"last4\",\"livemode\":true,\"routing_number\":null}");
var options = new Stripe.V2.Core.Vault.UsBankAccountCreateOptions
{
AccountNumber = "account_number",
@@ -6681,7 +6672,7 @@ public void TestV2CoreVaultUsBankAccountGet()
HttpMethod.Get,
"/v2/core/vault/us_bank_accounts/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"fedwire_routing_number\":null,\"last4\":\"last4\",\"routing_number\":null}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"fedwire_routing_number\":null,\"last4\":\"last4\",\"livemode\":true,\"routing_number\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Vault.UsBankAccounts;
Stripe.V2.Core.Vault.UsBankAccount usBankAccount = service.Get(
@@ -6698,7 +6689,7 @@ public void TestV2CoreVaultUsBankAccountPost3()
HttpMethod.Post,
"/v2/core/vault/us_bank_accounts/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"fedwire_routing_number\":null,\"last4\":\"last4\",\"routing_number\":null}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"fedwire_routing_number\":null,\"last4\":\"last4\",\"livemode\":true,\"routing_number\":null}");
var options = new Stripe.V2.Core.Vault.UsBankAccountUpdateOptions();
var client = new StripeClient(this.Requestor);
var service = client.V2.Core.Vault.UsBankAccounts;
@@ -6717,7 +6708,7 @@ public void TestV2MoneyManagementAdjustmentGet()
HttpMethod.Get,
"/v2/money_management/adjustments",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.adjustment\",\"adjusted_flow\":null,\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":null,\"financial_account\":\"financial_account\",\"receipt_url\":\"receipt_url\"}],\"next_page_url\":null,\"previous_page_url\":null}");
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.adjustment\",\"adjusted_flow\":null,\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":null,\"financial_account\":\"financial_account\",\"livemode\":true,\"receipt_url\":null}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.Adjustments;
Stripe.V2.StripeList adjustments = service
@@ -6734,7 +6725,7 @@ public void TestV2MoneyManagementAdjustmentGet2()
HttpMethod.Get,
"/v2/money_management/adjustments/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.adjustment\",\"adjusted_flow\":null,\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":null,\"financial_account\":\"financial_account\",\"receipt_url\":\"receipt_url\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.adjustment\",\"adjusted_flow\":null,\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":null,\"financial_account\":\"financial_account\",\"livemode\":true,\"receipt_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.Adjustments;
Stripe.V2.MoneyManagement.Adjustment adjustment = service.Get(
@@ -6751,7 +6742,7 @@ public void TestV2MoneyManagementFinancialAccountGet()
HttpMethod.Get,
"/v2/money_management/financial_accounts",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_account\",\"balance\":{\"available\":{\"undefined\":{\"currency\":\"USD\",\"value\":35}},\"inbound_pending\":{\"undefined\":{\"currency\":\"USD\",\"value\":11}},\"outbound_pending\":{\"undefined\":{\"currency\":\"USD\",\"value\":60}}},\"country\":\"ec\",\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":null,\"other\":null,\"status\":\"closed\",\"storage\":null,\"type\":\"other\"}],\"next_page_url\":null,\"previous_page_url\":null}");
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_account\",\"balance\":{\"available\":{\"undefined\":{\"currency\":\"USD\",\"value\":35}},\"inbound_pending\":{\"undefined\":{\"currency\":\"USD\",\"value\":11}},\"outbound_pending\":{\"undefined\":{\"currency\":\"USD\",\"value\":60}}},\"country\":\"ec\",\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":null,\"livemode\":true,\"other\":null,\"status\":\"closed\",\"storage\":null,\"type\":\"other\"}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.FinancialAccounts;
Stripe.V2.StripeList financialAccounts = service
@@ -6768,7 +6759,7 @@ public void TestV2MoneyManagementFinancialAccountGet2()
HttpMethod.Get,
"/v2/money_management/financial_accounts/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_account\",\"balance\":{\"available\":{\"undefined\":{\"currency\":\"USD\",\"value\":35}},\"inbound_pending\":{\"undefined\":{\"currency\":\"USD\",\"value\":11}},\"outbound_pending\":{\"undefined\":{\"currency\":\"USD\",\"value\":60}}},\"country\":\"ec\",\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":null,\"other\":null,\"status\":\"closed\",\"storage\":null,\"type\":\"other\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_account\",\"balance\":{\"available\":{\"undefined\":{\"currency\":\"USD\",\"value\":35}},\"inbound_pending\":{\"undefined\":{\"currency\":\"USD\",\"value\":11}},\"outbound_pending\":{\"undefined\":{\"currency\":\"USD\",\"value\":60}}},\"country\":\"ec\",\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":null,\"livemode\":true,\"other\":null,\"status\":\"closed\",\"storage\":null,\"type\":\"other\"}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.FinancialAccounts;
Stripe.V2.MoneyManagement.FinancialAccount financialAccount = service
@@ -6785,10 +6776,10 @@ public void TestV2MoneyManagementFinancialAddressPost()
HttpMethod.Post,
"/v2/money_management/financial_addresses",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_address\",\"created\":\"1970-01-12T21:42:34.472Z\",\"credentials\":null,\"currency\":\"gip\",\"financial_account\":\"financial_account\",\"status\":\"failed\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_address\",\"created\":\"1970-01-12T21:42:34.472Z\",\"credentials\":null,\"currency\":\"stn\",\"financial_account\":\"financial_account\",\"livemode\":true,\"settlement_currency\":null,\"status\":\"failed\"}");
var options = new Stripe.V2.MoneyManagement.FinancialAddressCreateOptions
{
- Currency = "gip",
+ Currency = "stn",
FinancialAccount = "financial_account",
};
var client = new StripeClient(this.Requestor);
@@ -6807,7 +6798,7 @@ public void TestV2MoneyManagementFinancialAddressGet()
HttpMethod.Get,
"/v2/money_management/financial_addresses",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_address\",\"created\":\"1970-01-12T21:42:34.472Z\",\"credentials\":null,\"currency\":\"gip\",\"financial_account\":\"financial_account\",\"status\":\"failed\"}],\"next_page_url\":null,\"previous_page_url\":null}");
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_address\",\"created\":\"1970-01-12T21:42:34.472Z\",\"credentials\":null,\"currency\":\"stn\",\"financial_account\":\"financial_account\",\"livemode\":true,\"settlement_currency\":null,\"status\":\"failed\"}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.FinancialAddresses;
Stripe.V2.StripeList financialAddresses = service
@@ -6824,7 +6815,7 @@ public void TestV2MoneyManagementFinancialAddressGet2()
HttpMethod.Get,
"/v2/money_management/financial_addresses/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_address\",\"created\":\"1970-01-12T21:42:34.472Z\",\"credentials\":null,\"currency\":\"gip\",\"financial_account\":\"financial_account\",\"status\":\"failed\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_address\",\"created\":\"1970-01-12T21:42:34.472Z\",\"credentials\":null,\"currency\":\"stn\",\"financial_account\":\"financial_account\",\"livemode\":true,\"settlement_currency\":null,\"status\":\"failed\"}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.FinancialAddresses;
Stripe.V2.MoneyManagement.FinancialAddress financialAddress = service
@@ -6841,7 +6832,7 @@ public void TestV2MoneyManagementInboundTransferPost()
HttpMethod.Post,
"/v2/money_management/inbound_transfers",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.inbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"payment_method\":{\"type\":\"type\",\"us_bank_account\":null}},\"receipt_url\":\"receipt_url\",\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"financial_account\":\"financial_account\"},\"transfer_history\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"id\":\"obj_123\",\"level\":\"canonical\",\"type\":\"bank_debit_failed\",\"bank_debit_failed\":null,\"bank_debit_processing\":null,\"bank_debit_queued\":null,\"bank_debit_returned\":null,\"bank_debit_succeeded\":null}]}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.inbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"payment_method\":{\"type\":\"type\",\"us_bank_account\":null}},\"livemode\":true,\"receipt_url\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"financial_account\":\"financial_account\"},\"transfer_history\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"id\":\"obj_123\",\"level\":\"canonical\",\"type\":\"bank_debit_failed\",\"bank_debit_failed\":null,\"bank_debit_processing\":null,\"bank_debit_queued\":null,\"bank_debit_returned\":null,\"bank_debit_succeeded\":null}]}");
var options = new Stripe.V2.MoneyManagement.InboundTransferCreateOptions
{
Amount = new Stripe.V2.Amount { Currency = "USD", Value = 96 },
@@ -6872,7 +6863,7 @@ public void TestV2MoneyManagementInboundTransferGet()
HttpMethod.Get,
"/v2/money_management/inbound_transfers",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.inbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"payment_method\":{\"type\":\"type\",\"us_bank_account\":null}},\"receipt_url\":\"receipt_url\",\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"financial_account\":\"financial_account\"},\"transfer_history\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"id\":\"obj_123\",\"level\":\"canonical\",\"type\":\"bank_debit_failed\",\"bank_debit_failed\":null,\"bank_debit_processing\":null,\"bank_debit_queued\":null,\"bank_debit_returned\":null,\"bank_debit_succeeded\":null}]}],\"next_page_url\":null,\"previous_page_url\":null}");
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.inbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"payment_method\":{\"type\":\"type\",\"us_bank_account\":null}},\"livemode\":true,\"receipt_url\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"financial_account\":\"financial_account\"},\"transfer_history\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"id\":\"obj_123\",\"level\":\"canonical\",\"type\":\"bank_debit_failed\",\"bank_debit_failed\":null,\"bank_debit_processing\":null,\"bank_debit_queued\":null,\"bank_debit_returned\":null,\"bank_debit_succeeded\":null}]}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.InboundTransfers;
Stripe.V2.StripeList inboundTransfers = service
@@ -6889,7 +6880,7 @@ public void TestV2MoneyManagementInboundTransferGet2()
HttpMethod.Get,
"/v2/money_management/inbound_transfers/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.inbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"payment_method\":{\"type\":\"type\",\"us_bank_account\":null}},\"receipt_url\":\"receipt_url\",\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"financial_account\":\"financial_account\"},\"transfer_history\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"id\":\"obj_123\",\"level\":\"canonical\",\"type\":\"bank_debit_failed\",\"bank_debit_failed\":null,\"bank_debit_processing\":null,\"bank_debit_queued\":null,\"bank_debit_returned\":null,\"bank_debit_succeeded\":null}]}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.inbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"payment_method\":{\"type\":\"type\",\"us_bank_account\":null}},\"livemode\":true,\"receipt_url\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"financial_account\":\"financial_account\"},\"transfer_history\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"id\":\"obj_123\",\"level\":\"canonical\",\"type\":\"bank_debit_failed\",\"bank_debit_failed\":null,\"bank_debit_processing\":null,\"bank_debit_queued\":null,\"bank_debit_returned\":null,\"bank_debit_succeeded\":null}]}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.InboundTransfers;
Stripe.V2.MoneyManagement.InboundTransfer inboundTransfer = service
@@ -6906,7 +6897,7 @@ public void TestV2MoneyManagementOutboundPaymentPost()
HttpMethod.Post,
"/v2/money_management/outbound_payments/id_123/cancel",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"metadata\":null,\"outbound_payment_quote\":null,\"receipt_url\":\"receipt_url\",\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"metadata\":null,\"outbound_payment_quote\":null,\"receipt_url\":null,\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.OutboundPayments;
Stripe.V2.MoneyManagement.OutboundPayment outboundPayment = service
@@ -6923,7 +6914,7 @@ public void TestV2MoneyManagementOutboundPaymentPost2()
HttpMethod.Post,
"/v2/money_management/outbound_payments",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"metadata\":null,\"outbound_payment_quote\":null,\"receipt_url\":\"receipt_url\",\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"metadata\":null,\"outbound_payment_quote\":null,\"receipt_url\":null,\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}");
var options = new Stripe.V2.MoneyManagement.OutboundPaymentCreateOptions
{
Amount = new Stripe.V2.Amount { Currency = "USD", Value = 96 },
@@ -6955,7 +6946,7 @@ public void TestV2MoneyManagementOutboundPaymentGet()
HttpMethod.Get,
"/v2/money_management/outbound_payments",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"metadata\":null,\"outbound_payment_quote\":null,\"receipt_url\":\"receipt_url\",\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}],\"next_page_url\":null,\"previous_page_url\":null}");
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"metadata\":null,\"outbound_payment_quote\":null,\"receipt_url\":null,\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.OutboundPayments;
Stripe.V2.StripeList outboundPayments = service
@@ -6972,7 +6963,7 @@ public void TestV2MoneyManagementOutboundPaymentGet2()
HttpMethod.Get,
"/v2/money_management/outbound_payments/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"metadata\":null,\"outbound_payment_quote\":null,\"receipt_url\":\"receipt_url\",\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"metadata\":null,\"outbound_payment_quote\":null,\"receipt_url\":null,\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.OutboundPayments;
Stripe.V2.MoneyManagement.OutboundPayment outboundPayment = service
@@ -6989,7 +6980,7 @@ public void TestV2MoneyManagementOutboundPaymentQuotePost()
HttpMethod.Post,
"/v2/money_management/outbound_payment_quotes",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment_quote\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"estimated_fees\":[{\"amount\":{\"currency\":\"USD\",\"value\":96},\"type\":\"cross_border_fee\"}],\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"fx_quote\":{\"rates\":{\"undefined\":{\"exchange_rate\":\"exchange_rate\"}},\"to_currency\":\"to_currency\"},\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"}}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment_quote\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"estimated_fees\":[{\"amount\":{\"currency\":\"USD\",\"value\":96},\"type\":\"cross_border_payout_fee\"}],\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"fx_quote\":{\"lock_duration\":\"five_minutes\",\"lock_expires_at\":\"1970-01-18T15:15:29.586Z\",\"lock_status\":\"active\",\"rates\":{\"undefined\":{\"exchange_rate\":\"exchange_rate\"}},\"to_currency\":\"to_currency\"},\"livemode\":true,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"}}");
var options = new Stripe.V2.MoneyManagement.OutboundPaymentQuoteCreateOptions
{
Amount = new Stripe.V2.Amount { Currency = "USD", Value = 96 },
@@ -7014,6 +7005,23 @@ public void TestV2MoneyManagementOutboundPaymentQuotePost()
"/v2/money_management/outbound_payment_quotes");
}
+ [Fact]
+ public void TestV2MoneyManagementOutboundPaymentQuoteGet()
+ {
+ this.StubRequest(
+ HttpMethod.Get,
+ "/v2/money_management/outbound_payment_quotes/id_123",
+ (HttpStatusCode)200,
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment_quote\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"estimated_fees\":[{\"amount\":{\"currency\":\"USD\",\"value\":96},\"type\":\"cross_border_payout_fee\"}],\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"fx_quote\":{\"lock_duration\":\"five_minutes\",\"lock_expires_at\":\"1970-01-18T15:15:29.586Z\",\"lock_status\":\"active\",\"rates\":{\"undefined\":{\"exchange_rate\":\"exchange_rate\"}},\"to_currency\":\"to_currency\"},\"livemode\":true,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"}}");
+ var client = new StripeClient(this.Requestor);
+ var service = client.V2.MoneyManagement.OutboundPaymentQuotes;
+ Stripe.V2.MoneyManagement.OutboundPaymentQuote outboundPaymentQuote = service
+ .Get("id_123");
+ this.AssertRequest(
+ HttpMethod.Get,
+ "/v2/money_management/outbound_payment_quotes/id_123");
+ }
+
[Fact]
public void TestV2MoneyManagementOutboundTransferPost()
{
@@ -7021,7 +7029,7 @@ public void TestV2MoneyManagementOutboundTransferPost()
HttpMethod.Post,
"/v2/money_management/outbound_transfers/id_123/cancel",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"metadata\":null,\"receipt_url\":\"receipt_url\",\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"metadata\":null,\"receipt_url\":null,\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.OutboundTransfers;
Stripe.V2.MoneyManagement.OutboundTransfer outboundTransfer = service
@@ -7038,7 +7046,7 @@ public void TestV2MoneyManagementOutboundTransferPost2()
HttpMethod.Post,
"/v2/money_management/outbound_transfers",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"metadata\":null,\"receipt_url\":\"receipt_url\",\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"metadata\":null,\"receipt_url\":null,\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}");
var options = new Stripe.V2.MoneyManagement.OutboundTransferCreateOptions
{
Amount = new Stripe.V2.Amount { Currency = "USD", Value = 96 },
@@ -7069,7 +7077,7 @@ public void TestV2MoneyManagementOutboundTransferGet()
HttpMethod.Get,
"/v2/money_management/outbound_transfers",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"metadata\":null,\"receipt_url\":\"receipt_url\",\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}],\"next_page_url\":null,\"previous_page_url\":null}");
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"metadata\":null,\"receipt_url\":null,\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.OutboundTransfers;
Stripe.V2.StripeList outboundTransfers = service
@@ -7086,7 +7094,7 @@ public void TestV2MoneyManagementOutboundTransferGet2()
HttpMethod.Get,
"/v2/money_management/outbound_transfers/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"metadata\":null,\"receipt_url\":\"receipt_url\",\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"delivery_options\":null,\"description\":null,\"expected_arrival_date\":null,\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"metadata\":null,\"receipt_url\":null,\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\",\"value\":null}}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.OutboundTransfers;
Stripe.V2.MoneyManagement.OutboundTransfer outboundTransfer = service
@@ -7103,7 +7111,7 @@ public void TestV2MoneyManagementOutboundSetupIntentPost()
HttpMethod.Post,
"/v2/money_management/outbound_setup_intents/id_123/cancel",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"next_action\":null,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"next_action\":null,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.OutboundSetupIntents;
Stripe.V2.MoneyManagement.OutboundSetupIntent outboundSetupIntent = service
@@ -7120,7 +7128,7 @@ public void TestV2MoneyManagementOutboundSetupIntentPost2()
HttpMethod.Post,
"/v2/money_management/outbound_setup_intents",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"next_action\":null,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"next_action\":null,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}");
var options = new Stripe.V2.MoneyManagement.OutboundSetupIntentCreateOptions();
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.OutboundSetupIntents;
@@ -7138,7 +7146,7 @@ public void TestV2MoneyManagementOutboundSetupIntentGet()
HttpMethod.Get,
"/v2/money_management/outbound_setup_intents",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"next_action\":null,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}],\"next_page_url\":null,\"previous_page_url\":null}");
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"next_action\":null,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.OutboundSetupIntents;
Stripe.V2.StripeList outboundSetupIntents = service
@@ -7155,7 +7163,7 @@ public void TestV2MoneyManagementOutboundSetupIntentGet2()
HttpMethod.Get,
"/v2/money_management/outbound_setup_intents/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"next_action\":null,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"next_action\":null,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.OutboundSetupIntents;
Stripe.V2.MoneyManagement.OutboundSetupIntent outboundSetupIntent = service
@@ -7172,7 +7180,7 @@ public void TestV2MoneyManagementOutboundSetupIntentPost3()
HttpMethod.Post,
"/v2/money_management/outbound_setup_intents/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"next_action\":null,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"next_action\":null,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}");
var options = new Stripe.V2.MoneyManagement.OutboundSetupIntentUpdateOptions();
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.OutboundSetupIntents;
@@ -7190,7 +7198,7 @@ public void TestV2MoneyManagementPayoutMethodPost()
HttpMethod.Post,
"/v2/money_management/payout_methods/id_123/archive",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.PayoutMethods;
Stripe.V2.MoneyManagement.PayoutMethod payoutMethod = service
@@ -7207,7 +7215,7 @@ public void TestV2MoneyManagementPayoutMethodGet()
HttpMethod.Get,
"/v2/money_management/payout_methods",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}}],\"next_page_url\":null,\"previous_page_url\":null}");
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.PayoutMethods;
Stripe.V2.StripeList payoutMethods = service
@@ -7224,7 +7232,7 @@ public void TestV2MoneyManagementPayoutMethodGet2()
HttpMethod.Get,
"/v2/money_management/payout_methods/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.PayoutMethods;
Stripe.V2.MoneyManagement.PayoutMethod payoutMethod = service.Get(
@@ -7241,7 +7249,7 @@ public void TestV2MoneyManagementPayoutMethodPost2()
HttpMethod.Post,
"/v2/money_management/payout_methods/id_123/unarchive",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"bank_account\":null,\"card\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_outbound_setup_intent\":null,\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.PayoutMethods;
Stripe.V2.MoneyManagement.PayoutMethod payoutMethod = service
@@ -7258,7 +7266,7 @@ public void TestV2MoneyManagementPayoutMethodsBankAccountSpecGet()
HttpMethod.Get,
"/v2/money_management/payout_methods_bank_account_spec",
(HttpStatusCode)200,
- "{\"object\":\"v2.money_management.payout_methods_bank_account_spec\",\"countries\":{\"undefined\":{\"fields\":[{\"local_name\":\"local_name\",\"local_name_human\":{\"content\":\"content\",\"localization_key\":\"localization_key\"},\"max_length\":1111390753,\"min_length\":711577229,\"placeholder\":\"placeholder\",\"stripe_name\":\"stripe_name\",\"validation_regex\":\"validation_regex\"}]}}}");
+ "{\"object\":\"v2.money_management.payout_methods_bank_account_spec\",\"countries\":{\"undefined\":{\"fields\":[{\"local_name\":\"local_name\",\"local_name_human\":{\"content\":\"content\",\"localization_key\":\"localization_key\"},\"max_length\":1111390753,\"min_length\":711577229,\"placeholder\":\"placeholder\",\"stripe_name\":\"stripe_name\",\"validation_regex\":\"validation_regex\"}]}},\"livemode\":true}");
var client = new StripeClient(this.Requestor);
var service = client
.V2
@@ -7278,7 +7286,7 @@ public void TestV2MoneyManagementReceivedCreditGet()
HttpMethod.Get,
"/v2/money_management/received_credits",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.received_credit\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"balance_transfer\":null,\"bank_transfer\":null,\"card_spend\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":null,\"financial_account\":\"financial_account\",\"receipt_url\":null,\"status\":\"returned\",\"status_details\":null,\"status_transitions\":null,\"type\":\"card_spend\"}],\"next_page_url\":null,\"previous_page_url\":null}");
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.received_credit\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"balance_transfer\":null,\"bank_transfer\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"crypto_wallet_transfer\":null,\"description\":null,\"financial_account\":\"financial_account\",\"livemode\":true,\"receipt_url\":null,\"status\":\"returned\",\"status_details\":null,\"status_transitions\":null,\"type\":\"crypto_wallet_transfer\"}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.ReceivedCredits;
Stripe.V2.StripeList receivedCredits = service
@@ -7295,7 +7303,7 @@ public void TestV2MoneyManagementReceivedCreditGet2()
HttpMethod.Get,
"/v2/money_management/received_credits/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.received_credit\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"balance_transfer\":null,\"bank_transfer\":null,\"card_spend\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":null,\"financial_account\":\"financial_account\",\"receipt_url\":null,\"status\":\"returned\",\"status_details\":null,\"status_transitions\":null,\"type\":\"card_spend\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.received_credit\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"balance_transfer\":null,\"bank_transfer\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"crypto_wallet_transfer\":null,\"description\":null,\"financial_account\":\"financial_account\",\"livemode\":true,\"receipt_url\":null,\"status\":\"returned\",\"status_details\":null,\"status_transitions\":null,\"type\":\"crypto_wallet_transfer\"}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.ReceivedCredits;
Stripe.V2.MoneyManagement.ReceivedCredit receivedCredit = service
@@ -7312,7 +7320,7 @@ public void TestV2MoneyManagementReceivedDebitGet()
HttpMethod.Get,
"/v2/money_management/received_debits",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.received_debit\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"bank_transfer\":null,\"card_spend\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":null,\"financial_account\":\"financial_account\",\"receipt_url\":null,\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"type\":\"bank_transfer\"}],\"next_page_url\":null,\"previous_page_url\":null}");
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.received_debit\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"bank_transfer\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":null,\"financial_account\":\"financial_account\",\"livemode\":true,\"receipt_url\":null,\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"type\":\"bank_transfer\"}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.ReceivedDebits;
Stripe.V2.StripeList receivedDebits = service
@@ -7329,7 +7337,7 @@ public void TestV2MoneyManagementReceivedDebitGet2()
HttpMethod.Get,
"/v2/money_management/received_debits/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.received_debit\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"bank_transfer\":null,\"card_spend\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":null,\"financial_account\":\"financial_account\",\"receipt_url\":null,\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"type\":\"bank_transfer\"}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.received_debit\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"bank_transfer\":null,\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":null,\"financial_account\":\"financial_account\",\"livemode\":true,\"receipt_url\":null,\"status\":\"canceled\",\"status_details\":null,\"status_transitions\":null,\"type\":\"bank_transfer\"}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.ReceivedDebits;
Stripe.V2.MoneyManagement.ReceivedDebit receivedDebit = service.Get(
@@ -7346,7 +7354,7 @@ public void TestV2MoneyManagementTransactionGet()
HttpMethod.Get,
"/v2/money_management/transactions",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"balance_impact\":{\"available\":{\"currency\":\"USD\",\"value\":35},\"inbound_pending\":{\"currency\":\"USD\",\"value\":11},\"outbound_pending\":{\"currency\":\"USD\",\"value\":60}},\"category\":\"return\",\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"fee_transaction\",\"adjustment\":null,\"fee_transaction\":null,\"inbound_transfer\":null,\"outbound_payment\":null,\"outbound_transfer\":null,\"received_credit\":null,\"received_debit\":null},\"status\":\"pending\",\"status_transitions\":{\"posted_at\":null,\"void_at\":null}}],\"next_page_url\":null,\"previous_page_url\":null}");
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"balance_impact\":{\"available\":{\"currency\":\"USD\",\"value\":35},\"inbound_pending\":{\"currency\":\"USD\",\"value\":11},\"outbound_pending\":{\"currency\":\"USD\",\"value\":60}},\"category\":\"return\",\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"outbound_payment\",\"adjustment\":null,\"fee_transaction\":null,\"inbound_transfer\":null,\"outbound_payment\":null,\"outbound_transfer\":null,\"received_credit\":null,\"received_debit\":null},\"livemode\":true,\"status\":\"pending\",\"status_transitions\":{\"posted_at\":null,\"void_at\":null}}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.Transactions;
Stripe.V2.StripeList transactions = service
@@ -7363,7 +7371,7 @@ public void TestV2MoneyManagementTransactionGet2()
HttpMethod.Get,
"/v2/money_management/transactions/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"balance_impact\":{\"available\":{\"currency\":\"USD\",\"value\":35},\"inbound_pending\":{\"currency\":\"USD\",\"value\":11},\"outbound_pending\":{\"currency\":\"USD\",\"value\":60}},\"category\":\"return\",\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"fee_transaction\",\"adjustment\":null,\"fee_transaction\":null,\"inbound_transfer\":null,\"outbound_payment\":null,\"outbound_transfer\":null,\"received_credit\":null,\"received_debit\":null},\"status\":\"pending\",\"status_transitions\":{\"posted_at\":null,\"void_at\":null}}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"balance_impact\":{\"available\":{\"currency\":\"USD\",\"value\":35},\"inbound_pending\":{\"currency\":\"USD\",\"value\":11},\"outbound_pending\":{\"currency\":\"USD\",\"value\":60}},\"category\":\"return\",\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"outbound_payment\",\"adjustment\":null,\"fee_transaction\":null,\"inbound_transfer\":null,\"outbound_payment\":null,\"outbound_transfer\":null,\"received_credit\":null,\"received_debit\":null},\"livemode\":true,\"status\":\"pending\",\"status_transitions\":{\"posted_at\":null,\"void_at\":null}}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.Transactions;
Stripe.V2.MoneyManagement.Transaction transaction = service.Get(
@@ -7380,7 +7388,7 @@ public void TestV2MoneyManagementTransactionEntryGet()
HttpMethod.Get,
"/v2/money_management/transaction_entries",
(HttpStatusCode)200,
- "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction_entry\",\"balance_impact\":{\"available\":{\"currency\":\"USD\",\"value\":35},\"inbound_pending\":{\"currency\":\"USD\",\"value\":11},\"outbound_pending\":{\"currency\":\"USD\",\"value\":60}},\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"transaction\":\"transaction\",\"transaction_details\":{\"category\":\"return\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"fee_transaction\",\"adjustment\":null,\"fee_transaction\":null,\"inbound_transfer\":null,\"outbound_payment\":null,\"outbound_transfer\":null,\"received_credit\":null,\"received_debit\":null}}}],\"next_page_url\":null,\"previous_page_url\":null}");
+ "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction_entry\",\"balance_impact\":{\"available\":{\"currency\":\"USD\",\"value\":35},\"inbound_pending\":{\"currency\":\"USD\",\"value\":11},\"outbound_pending\":{\"currency\":\"USD\",\"value\":60}},\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"livemode\":true,\"transaction\":\"transaction\",\"transaction_details\":{\"category\":\"return\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"outbound_payment\",\"adjustment\":null,\"fee_transaction\":null,\"inbound_transfer\":null,\"outbound_payment\":null,\"outbound_transfer\":null,\"received_credit\":null,\"received_debit\":null}}}],\"next_page_url\":null,\"previous_page_url\":null}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.TransactionEntries;
Stripe.V2.StripeList transactionEntries = service
@@ -7397,7 +7405,7 @@ public void TestV2MoneyManagementTransactionEntryGet2()
HttpMethod.Get,
"/v2/money_management/transaction_entries/id_123",
(HttpStatusCode)200,
- "{\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction_entry\",\"balance_impact\":{\"available\":{\"currency\":\"USD\",\"value\":35},\"inbound_pending\":{\"currency\":\"USD\",\"value\":11},\"outbound_pending\":{\"currency\":\"USD\",\"value\":60}},\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"transaction\":\"transaction\",\"transaction_details\":{\"category\":\"return\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"fee_transaction\",\"adjustment\":null,\"fee_transaction\":null,\"inbound_transfer\":null,\"outbound_payment\":null,\"outbound_transfer\":null,\"received_credit\":null,\"received_debit\":null}}}");
+ "{\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction_entry\",\"balance_impact\":{\"available\":{\"currency\":\"USD\",\"value\":35},\"inbound_pending\":{\"currency\":\"USD\",\"value\":11},\"outbound_pending\":{\"currency\":\"USD\",\"value\":60}},\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"livemode\":true,\"transaction\":\"transaction\",\"transaction_details\":{\"category\":\"return\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"outbound_payment\",\"adjustment\":null,\"fee_transaction\":null,\"inbound_transfer\":null,\"outbound_payment\":null,\"outbound_transfer\":null,\"received_credit\":null,\"received_debit\":null}}}");
var client = new StripeClient(this.Requestor);
var service = client.V2.MoneyManagement.TransactionEntries;
Stripe.V2.MoneyManagement.TransactionEntry transactionEntry = service
@@ -7514,7 +7522,7 @@ public void TestV2TestHelpersFinancialAddressPost()
HttpMethod.Post,
"/v2/test_helpers/financial_addresses/id_123/credit",
(HttpStatusCode)200,
- "{\"object\":\"financial_address_credit_simulation\",\"status\":\"status\"}");
+ "{\"object\":\"financial_address_credit_simulation\",\"livemode\":true,\"status\":\"status\"}");
var options = new Stripe.V2.TestHelpers.FinancialAddressCreditOptions
{
Amount = new Stripe.V2.Amount { Currency = "USD", Value = 96 },
@@ -7536,7 +7544,7 @@ public void TestV2TestHelpersFinancialAddressPost2()
HttpMethod.Post,
"/v2/test_helpers/financial_addresses/id_123/generate_microdeposits",
(HttpStatusCode)200,
- "{\"object\":\"financial_address_generated_microdeposits\",\"amounts\":[{\"currency\":\"USD\",\"value\":1}],\"status\":\"accepted\"}");
+ "{\"object\":\"financial_address_generated_microdeposits\",\"amounts\":[{\"currency\":\"USD\",\"value\":1}],\"livemode\":true,\"status\":\"accepted\"}");
var client = new StripeClient(this.Requestor);
var service = client.V2.TestHelpers.FinancialAddresses;
Stripe.V2.FinancialAddressGeneratedMicrodeposits financialAddressGeneratedMicrodeposits = service
@@ -7593,7 +7601,7 @@ public void TestFinancialAccountNotOpenError()
{
var options = new Stripe.V2.MoneyManagement.FinancialAddressCreateOptions
{
- Currency = "gip",
+ Currency = "stn",
FinancialAccount = "financial_account",
};
var client = new StripeClient(this.Requestor);
From 004db850b680e8fad82d1b6bdf88d42e26dd9b14 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Tue, 22 Apr 2025 22:20:34 +0000
Subject: [PATCH 15/15] Update generated code for v1719
---
OPENAPI_VERSION | 2 +-
.../Services/Charges/ChargePaymentDetailsLodgingOptions.cs | 2 +-
.../PaymentIntents/PaymentIntentPaymentDetailsLodgingOptions.cs | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index d14f8cd66c..3fdaa4ab05 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1718
\ No newline at end of file
+v1719
\ No newline at end of file
diff --git a/src/Stripe.net/Services/Charges/ChargePaymentDetailsLodgingOptions.cs b/src/Stripe.net/Services/Charges/ChargePaymentDetailsLodgingOptions.cs
index ef5e8bf44a..0e0e804bb0 100644
--- a/src/Stripe.net/Services/Charges/ChargePaymentDetailsLodgingOptions.cs
+++ b/src/Stripe.net/Services/Charges/ChargePaymentDetailsLodgingOptions.cs
@@ -58,7 +58,7 @@ public class ChargePaymentDetailsLodgingOptions : INestedOptions
public string Category { get; set; }
///
- /// Loding check-in time. Measured in seconds since the Unix epoch.
+ /// Lodging check-in time. Measured in seconds since the Unix epoch.
///
[JsonProperty("checkin_at")]
[JsonConverter(typeof(UnixDateTimeConverter))]
diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentDetailsLodgingOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentDetailsLodgingOptions.cs
index fd55c714a1..5848f56424 100644
--- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentDetailsLodgingOptions.cs
+++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentDetailsLodgingOptions.cs
@@ -58,7 +58,7 @@ public class PaymentIntentPaymentDetailsLodgingOptions : INestedOptions
public string Category { get; set; }
///
- /// Loding check-in time. Measured in seconds since the Unix epoch.
+ /// Lodging check-in time. Measured in seconds since the Unix epoch.
///
[JsonProperty("checkin_at")]
[JsonConverter(typeof(UnixDateTimeConverter))]