diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 876acab35..3fdaa4ab0 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1697
\ No newline at end of file
+v1719
\ No newline at end of file
diff --git a/src/Stripe.net/Constants/ApiVersion.cs b/src/Stripe.net/Constants/ApiVersion.cs
index 39eb4aeab..61d1e3b66 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/Entities/Checkout/Sessions/Session.cs b/src/Stripe.net/Entities/Checkout/Sessions/Session.cs
index 5e27421cd..24b96f672 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/Entities/Checkout/Sessions/SessionCollectedInformationTaxId.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionCollectedInformationTaxId.cs
index 3276c9999..8f3302979 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 a40e92c04..46fcbd411 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/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewAcssDebit.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewAcssDebit.cs
index a8eed0814..332d716eb 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/Events/Event.cs b/src/Stripe.net/Entities/Events/Event.cs
index 218c1a0a3..323f867dd 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/Entities/Invoices/InvoiceCustomerTaxId.cs b/src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs
index c778a1414..9477751ff 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 0ca508032..496c07100 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/PaymentMethods/PaymentMethodAcssDebit.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodAcssDebit.cs
index 12a7c5e07..3c048a432 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.
///
diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceCustomerTaxId.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceCustomerTaxId.cs
index a5e9e617b..6aefb18ed 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/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedule.cs b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedule.cs
index bfa910cfc..952a4eb73 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 eeadbde91..b76fa7807 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 8d5abfb6a..a8531662b 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 366f6cf36..f456d4493 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/Entities/Tax/Calculations/CalculationCustomerDetailsTaxId.cs b/src/Stripe.net/Entities/Tax/Calculations/CalculationCustomerDetailsTaxId.cs
index 6aa809d36..c8aa4a281 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/Registrations/RegistrationCountryOptions.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptions.cs
index 5f7f41ac7..b00360722 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 000000000..7ce22f8b3
--- /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 000000000..c1720050b
--- /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/Entities/Tax/Transactions/TransactionCustomerDetailsTaxId.cs b/src/Stripe.net/Entities/Tax/Transactions/TransactionCustomerDetailsTaxId.cs
index 4de6c8172..307d7cd48 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 1ef3cd2b0..98806b1ec 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/Entities/V2/Core/AccountLinks/AccountLink.cs b/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLink.cs
index 5b04a050a..4bda8151e 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 923a655d2..5d7f12e73 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 b873f1779..53f9c6a96 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 16576e68d..ef937b0fb 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 dca045698..d3500d43d 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 000000000..6f158af7c
--- /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 000000000..90773f2a4
--- /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 000000000..9b5515d18
--- /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 33998bacc..3cd363bbf 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 c1cff7398..c8f68d0f1 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 000000000..d0294132e
--- /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 000000000..4e1317eb7
--- /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 d39c0f1f6..c83a523cf 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 cf1f77f32..e5c129922 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 f3a0563dd..7e08ecf5c 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 51b3bae76..e7cfcb733 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 f5ba0ea9c..eb0346900 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 a2bbeba6c..000000000
--- 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 d7539e89b..000000000
--- 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 3a5c9ff06..4ee934162 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 e493b74b2..d46cb4890 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 005108780..891cb94ca 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 9f239d340..9f01e5832 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 e7edf6c3a..282483123 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 326b9a6d6..a79740a90 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 0a26fd4ef..39aac9b78 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 fcec81997..d5e636e16 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 c61179ca1..abed85183 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 ed5883f23..b6c3f987c 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 0a63c558a..a487a9c37 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 000000000..4bb732034
--- /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 000000000..b068580b6
--- /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 2ac6581ea..6c9f92cf3 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 0546d278d..31068aff8 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 3a99f2140..3356efb77 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 ee05a3ee5..85566919e 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 aef134fc9..841b5ec24 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 2e619d15a..126612e5b 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 2b6628169..f1b2d2bfa 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 5ce471f02..dc7dc9c0f 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 2562c9693..8615f9eea 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 051ba76fd..7a85e8b21 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 2b0bdade1..794168f72 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 b31d874d1..fdc0da8a3 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 c110c03d3..949c72925 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 000000000..2cbb756d8
--- /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 792c37596..000000000
--- 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 5a0223c72..000000000
--- 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 67ce39d59..000000000
--- 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 000000000..676b314db
--- /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 000000000..21498bce1
--- /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 1d04b1972..74c5c8050 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 22248bb70..000000000
--- 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 1e5b7f10d..000000000
--- 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 9e7d0cb2c..000000000
--- 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 83a681656..d48c4b836 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 4a817449b..b5f273f38 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 32ad1b275..2de2f69cc 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 72e6a0e49..ba1b2260e 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 000000000..1b917e433
--- /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 000000000..9f44b3368
--- /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 3ff8cf239..270b462be 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 b600a0f69..6bc8b12b0 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 000000000..e6489e4f7
--- /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 000000000..7d3c2f00d
--- /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 000000000..1b8f4bdae
--- /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 000000000..b79945eba
--- /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 908931aa4..8b5efe2bb 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 000000000..f9618ddfd
--- /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 000000000..ab35bf1f3
--- /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 000000000..24b77a54b
--- /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 000000000..a09cebfac
--- /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 000000000..4d4c4fac3
--- /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 7af1ee2fc..a65f7f90d 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/Charges/ChargePaymentDetailsLodgingOptions.cs b/src/Stripe.net/Services/Charges/ChargePaymentDetailsLodgingOptions.cs
index ef5e8bf44..0e0e804bb 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/Checkout/Sessions/SessionSubscriptionDataOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs
index 1a440f826..9ad86eeeb 100644
--- a/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs
+++ b/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs
@@ -36,6 +36,17 @@ public class SessionSubscriptionDataOptions : INestedOptions, IHasMetadata
#endif
public DateTime? BillingCycleAnchor { 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; }
+
///
/// 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/CustomerPaymentMethods/CustomerPaymentMethodListOptions.cs b/src/Stripe.net/Services/CustomerPaymentMethods/CustomerPaymentMethodListOptions.cs
index 454033a26..33d261108 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")]
diff --git a/src/Stripe.net/Services/CustomerTaxIds/CustomerTaxIdCreateOptions.cs b/src/Stripe.net/Services/CustomerTaxIds/CustomerTaxIdCreateOptions.cs
index 285e1e5a6..2ae2023e8 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 959b6afc0..110a96303 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 9d0033763..81bd3ab26 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/Invoices/InvoiceScheduleDetailsOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsOptions.cs
index 0c1cd5e82..9b1172cb6 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; }
+ ///
+ /// 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")]
+#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 193264397..431fbec5d 100644
--- a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsOptions.cs
+++ b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsOptions.cs
@@ -26,6 +26,17 @@ public class InvoiceSubscriptionDetailsOptions : INestedOptions
#endif
public AnyOf BillingCycleAnchor { 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 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
diff --git a/src/Stripe.net/Services/Orders/OrderTaxDetailsTaxIdOptions.cs b/src/Stripe.net/Services/Orders/OrderTaxDetailsTaxIdOptions.cs
index e314dcd7b..ffede138a 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/PaymentIntents/PaymentIntentPaymentDetailsLodgingOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentDetailsLodgingOptions.cs
index fd55c714a..5848f5642 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))]
diff --git a/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOptions.cs b/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOptions.cs
index 8a7606f74..ea76b5496 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; }
+ ///
+ /// 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")]
+#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 ebffe2e17..ab9043847 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; }
+ ///
+ /// 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")]
+#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 785f3414a..650eebcc9 100644
--- a/src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs
+++ b/src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs
@@ -84,6 +84,17 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata
#endif
public SubscriptionBillingCycleAnchorConfigOptions 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 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
diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionService.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionService.cs
index e0118620d..342f051fe 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
diff --git a/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs b/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs
index 5798619d9..c110edeab 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/Tax/Registrations/RegistrationCountryOptionsBfOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBfOptions.cs
new file mode 100644
index 000000000..4464d8643
--- /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 000000000..9fdfa8636
--- /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 000000000..f03ae84f1
--- /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 9464cec0d..fe0b1f40f 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.
///
diff --git a/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs b/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs
index 64b7e6b0a..8a1893bdf 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
diff --git a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenCreateOptions.cs b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenCreateOptions.cs
index 44a0ef759..15bdb0c28 100644
--- a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenCreateOptions.cs
+++ b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenCreateOptions.cs
@@ -26,6 +26,9 @@ public class ConfirmationTokenCreateOptions : BaseOptions
#endif
public ConfirmationTokenPaymentMethodDataOptions PaymentMethodData { get; set; }
+ ///
+ /// Payment-method-specific configuration for this ConfirmationToken.
+ ///
[JsonProperty("payment_method_options")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("payment_method_options")]
diff --git a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodOptionsCardOptions.cs b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodOptionsCardOptions.cs
index 08f52badd..c0b2fcbe2 100644
--- a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodOptionsCardOptions.cs
+++ b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodOptionsCardOptions.cs
@@ -9,7 +9,7 @@ namespace Stripe.TestHelpers
public class ConfirmationTokenPaymentMethodOptionsCardOptions : INestedOptions
{
///
- /// Installment configuration for payments attempted on this PaymentIntent.
+ /// Installment configuration for payments confirmed using this ConfirmationToken.
///
[JsonProperty("installments")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodOptionsOptions.cs b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodOptionsOptions.cs
index 61f8459f8..7079d5578 100644
--- a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodOptionsOptions.cs
+++ b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodOptionsOptions.cs
@@ -8,6 +8,9 @@ namespace Stripe.TestHelpers
public class ConfirmationTokenPaymentMethodOptionsOptions : INestedOptions
{
+ ///
+ /// Configuration for any card payments confirmed using this ConfirmationToken.
+ ///
[JsonProperty("card")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("card")]
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerAutomaticIndirectTaxOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerAutomaticIndirectTaxOptions.cs
index 39927a5f9..8003fe2a9 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 d35959d1e..84440b180 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 4a332656c..4cce9c808 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 ae9b6faa3..c9e4374a7 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 5c1296982..dee55f524 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 2cad1fa5f..0595bc1c3 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 d2c73f0f1..43469f58d 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 4fb082aa1..cc5fcd98d 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 3afeec32c..fe7d1ea80 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 5cec4d7fe..414c958e6 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 49db479c1..dd0ab4430 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 000000000..d4a8f5e7a
--- /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 46f00609d..441f20b5a 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 000000000..fc2889ae9
--- /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 b29cf4d9c..5be2fe05c 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 49f393570..79d0cc60c 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 d9008fb58..97edc8ae6 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/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs
index 792bac1d8..25abf2cae 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
@@ -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 33477d736..aa3decc4e 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
diff --git a/src/StripeTests/Services/GeneratedExamplesTest.cs b/src/StripeTests/Services/GeneratedExamplesTest.cs
index 625ba7439..295909f88 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);