/// Report a new Payment Record. You may report a Payment Record as it is initialized and
/// later report updates through the other report_* methods, or report Payment Records in a
diff --git a/src/Stripe.net/Services/PromotionCodes/PromotionCodeRestrictionsOptions.cs b/src/Stripe.net/Services/PromotionCodes/PromotionCodeRestrictionsOptions.cs
index e057666325..5d1f7edb2c 100644
--- a/src/Stripe.net/Services/PromotionCodes/PromotionCodeRestrictionsOptions.cs
+++ b/src/Stripe.net/Services/PromotionCodes/PromotionCodeRestrictionsOptions.cs
@@ -12,7 +12,9 @@ public class PromotionCodeRestrictionsOptions : INestedOptions
///
/// Promotion codes defined in each available currency option. Each key must be a
/// three-letter ISO currency
- /// code and a supported currency.
+ /// code and a supported currency. Each
+ /// currency must be different from the minimum_amount_currency set on the promotion
+ /// code.
///
[JsonProperty("currency_options")]
[STJS.JsonPropertyName("currency_options")]
diff --git a/src/Stripe.net/Services/Quotes/QuoteInvoiceSettingsCustomFieldOptions.cs b/src/Stripe.net/Services/Quotes/QuoteInvoiceSettingsCustomFieldOptions.cs
new file mode 100644
index 0000000000..7ce9e875b3
--- /dev/null
+++ b/src/Stripe.net/Services/Quotes/QuoteInvoiceSettingsCustomFieldOptions.cs
@@ -0,0 +1,25 @@
+// File generated from our OpenAPI spec
+namespace Stripe
+{
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+ using STJS = System.Text.Json.Serialization;
+
+ [STJS.JsonConverter(typeof(STJStripeOptionsConverter))]
+ public class QuoteInvoiceSettingsCustomFieldOptions : INestedOptions
+ {
+ ///
+ /// The name of the custom field. This may be up to 40 characters.
+ ///
+ [JsonProperty("name")]
+ [STJS.JsonPropertyName("name")]
+ public string Name { get; set; }
+
+ ///
+ /// The value of the custom field. This may be up to 140 characters.
+ ///
+ [JsonProperty("value")]
+ [STJS.JsonPropertyName("value")]
+ public string Value { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/Quotes/QuoteInvoiceSettingsOptions.cs b/src/Stripe.net/Services/Quotes/QuoteInvoiceSettingsOptions.cs
index 4f9bd072d3..3f64dc7b14 100644
--- a/src/Stripe.net/Services/Quotes/QuoteInvoiceSettingsOptions.cs
+++ b/src/Stripe.net/Services/Quotes/QuoteInvoiceSettingsOptions.cs
@@ -1,13 +1,38 @@
// File generated from our OpenAPI spec
namespace Stripe
{
+ using System.Collections.Generic;
using Newtonsoft.Json;
using Stripe.Infrastructure;
using STJS = System.Text.Json.Serialization;
[STJS.JsonConverter(typeof(STJStripeOptionsConverter))]
- public class QuoteInvoiceSettingsOptions : INestedOptions
+ public class QuoteInvoiceSettingsOptions : INestedOptions, IHasSetTracking
{
+ private List customFields;
+ private string description;
+ private string footer;
+
+ [JsonIgnore]
+ [STJS.JsonIgnore]
+ internal SetTracker SetTracker { get; } = new SetTracker();
+
+ ///
+ /// A list of up to 4 custom fields to be displayed on the invoice.
+ ///
+ [JsonProperty("custom_fields", NullValueHandling = NullValueHandling.Ignore)]
+ [STJS.JsonPropertyName("custom_fields")]
+ [STJS.JsonIgnore(Condition = STJS.JsonIgnoreCondition.WhenWritingNull)]
+ public List CustomFields
+ {
+ get => this.customFields;
+ set
+ {
+ this.customFields = value;
+ this.SetTracker.Track();
+ }
+ }
+
///
/// Number of days within which a customer must pay the invoice generated by this quote.
/// This value will be null for quotes where
@@ -17,6 +42,38 @@ public class QuoteInvoiceSettingsOptions : INestedOptions
[STJS.JsonPropertyName("days_until_due")]
public long? DaysUntilDue { get; set; }
+ ///
+ /// An arbitrary string attached to the object. Often useful for displaying to users.
+ ///
+ [JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)]
+ [STJS.JsonPropertyName("description")]
+ [STJS.JsonIgnore(Condition = STJS.JsonIgnoreCondition.WhenWritingNull)]
+ public string Description
+ {
+ get => this.description;
+ set
+ {
+ this.description = value;
+ this.SetTracker.Track();
+ }
+ }
+
+ ///
+ /// Footer to be displayed on the invoice.
+ ///
+ [JsonProperty("footer", NullValueHandling = NullValueHandling.Ignore)]
+ [STJS.JsonPropertyName("footer")]
+ [STJS.JsonIgnore(Condition = STJS.JsonIgnoreCondition.WhenWritingNull)]
+ public string Footer
+ {
+ get => this.footer;
+ set
+ {
+ this.footer = value;
+ this.SetTracker.Track();
+ }
+ }
+
///
/// The connected account that issues the invoice. The invoice is presented with the
/// branding and support information of the specified account.
@@ -24,5 +81,10 @@ public class QuoteInvoiceSettingsOptions : INestedOptions
[JsonProperty("issuer")]
[STJS.JsonPropertyName("issuer")]
public QuoteInvoiceSettingsIssuerOptions Issuer { get; set; }
+
+ bool IHasSetTracking.IsPropertySet(string propertyName)
+ {
+ return this.SetTracker.IsSet(propertyName);
+ }
}
}
diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentConfirmOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentConfirmOptions.cs
index 5f224f6992..18dc723133 100644
--- a/src/Stripe.net/Services/SetupIntents/SetupIntentConfirmOptions.cs
+++ b/src/Stripe.net/Services/SetupIntents/SetupIntentConfirmOptions.cs
@@ -1,6 +1,7 @@
// File generated from our OpenAPI spec
namespace Stripe
{
+ using System.Collections.Generic;
using Newtonsoft.Json;
using Stripe.Infrastructure;
using STJS = System.Text.Json.Serialization;
@@ -10,6 +11,37 @@ public class SetupIntentConfirmOptions : BaseOptions
{
private SetupIntentMandateDataOptions mandateData;
+ ///
+ /// The list of payment method types to allow for this SetupIntent. Stripe will only use
+ /// methods in this list when determining the payment methods to offer. A list of valid
+ /// payment method types can be found here.
+ /// One of: acss_debit, affirm, afterpay_clearpay, alipay,
+ /// alma, amazon_pay, au_becs_debit, bacs_debit,
+ /// bancontact, billie, bizum, blik, boku_promptpay,
+ /// boleto, capchase_pay, card, cashapp, check_scan,
+ /// click_to_pay, crypto, customer_balance, demo_pay,
+ /// duitnow, dummy_auth_push, dummy_passthrough_card, edenred,
+ /// eps, fpx, gcash, getbalance, gift_card,
+ /// giropay, gopay, grabpay, id_bank_transfer, ideal,
+ /// kakao_pay, klarna, knet, konbini, kr_card,
+ /// kr_market, kriya, link, mb_way, mobilepay,
+ /// momo, mondu, multibanco, naver_pay, netbanking,
+ /// ng_bank, ng_bank_transfer, ng_card, ng_market,
+ /// ng_ussd, ng_wallet, nz_bank_account, octopus, oxxo,
+ /// p24, paper_check, pay_by_bank, payco, paynow,
+ /// paypal, paypay, payto, pix, promptpay, qris,
+ /// rechnung, revolut_pay, samsung_pay, satispay,
+ /// scalapay, sepa_debit, sequra, shop_pay, shopeepay,
+ /// sofort, south_korea_market, stripe_balance, sunbit,
+ /// swish, tamara, test_pay, truemoney, twint,
+ /// upi, us_bank_account, us_cash_voucher, vipps,
+ /// wechat_pay, wero, or zip.
+ ///
+ [JsonProperty("allowed_payment_method_types")]
+ [STJS.JsonPropertyName("allowed_payment_method_types")]
+ public List AllowedPaymentMethodTypes { get; set; }
+
[JsonProperty("client_secret")]
[STJS.JsonPropertyName("client_secret")]
public string ClientSecret { get; set; }
diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentCreateOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentCreateOptions.cs
index c6c0dd3774..6a88b4dc03 100644
--- a/src/Stripe.net/Services/SetupIntents/SetupIntentCreateOptions.cs
+++ b/src/Stripe.net/Services/SetupIntents/SetupIntentCreateOptions.cs
@@ -11,6 +11,37 @@ public class SetupIntentCreateOptions : BaseOptions, IHasMetadata
{
private SetupIntentMandateDataOptions mandateData;
+ ///
+ /// The list of payment method types to allow for this SetupIntent. Stripe will only use
+ /// methods in this list when determining the payment methods to offer. A list of valid
+ /// payment method types can be found here.
+ /// One of: acss_debit, affirm, afterpay_clearpay, alipay,
+ /// alma, amazon_pay, au_becs_debit, bacs_debit,
+ /// bancontact, billie, bizum, blik, boku_promptpay,
+ /// boleto, capchase_pay, card, cashapp, check_scan,
+ /// click_to_pay, crypto, customer_balance, demo_pay,
+ /// duitnow, dummy_auth_push, dummy_passthrough_card, edenred,
+ /// eps, fpx, gcash, getbalance, gift_card,
+ /// giropay, gopay, grabpay, id_bank_transfer, ideal,
+ /// kakao_pay, klarna, knet, konbini, kr_card,
+ /// kr_market, kriya, link, mb_way, mobilepay,
+ /// momo, mondu, multibanco, naver_pay, netbanking,
+ /// ng_bank, ng_bank_transfer, ng_card, ng_market,
+ /// ng_ussd, ng_wallet, nz_bank_account, octopus, oxxo,
+ /// p24, paper_check, pay_by_bank, payco, paynow,
+ /// paypal, paypay, payto, pix, promptpay, qris,
+ /// rechnung, revolut_pay, samsung_pay, satispay,
+ /// scalapay, sepa_debit, sequra, shop_pay, shopeepay,
+ /// sofort, south_korea_market, stripe_balance, sunbit,
+ /// swish, tamara, test_pay, truemoney, twint,
+ /// upi, us_bank_account, us_cash_voucher, vipps,
+ /// wechat_pay, wero, or zip.
+ ///
+ [JsonProperty("allowed_payment_method_types")]
+ [STJS.JsonPropertyName("allowed_payment_method_types")]
+ public List AllowedPaymentMethodTypes { get; set; }
+
///
/// If present, the SetupIntent's payment method will be attached to the in-context Stripe
/// Account.
diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataFpxOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataFpxOptions.cs
index e63501ff83..fe441c208a 100644
--- a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataFpxOptions.cs
+++ b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataFpxOptions.cs
@@ -20,9 +20,10 @@ public class SetupIntentPaymentMethodDataFpxOptions : INestedOptions
/// The customer's bank.
/// One of: affin_bank, agrobank, alliance_bank, ambank,
/// bank_islam, bank_muamalat, bank_of_china, bank_rakyat,
- /// bsn, cimb, deutsche_bank, hong_leong_bank, hsbc,
- /// kfh, maybank2e, maybank2u, ocbc, pb_enterprise,
- /// public_bank, rhb, standard_chartered, or uob.
+ /// bnp_paribas, bsn, cimb, citibank, deutsche_bank,
+ /// hong_leong_bank, hsbc, kfh, maybank2e, maybank2u,
+ /// mbsb_bank, ocbc, pb_enterprise, public_bank, rhb,
+ /// standard_chartered, or uob.
///
[JsonProperty("bank")]
[STJS.JsonPropertyName("bank")]
diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentUpdateOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentUpdateOptions.cs
index dc4fd1f604..e1e1d83ace 100644
--- a/src/Stripe.net/Services/SetupIntents/SetupIntentUpdateOptions.cs
+++ b/src/Stripe.net/Services/SetupIntents/SetupIntentUpdateOptions.cs
@@ -9,9 +9,50 @@ namespace Stripe
[STJS.JsonConverter(typeof(STJStripeOptionsConverter))]
public class SetupIntentUpdateOptions : BaseOptions, IHasMetadata
{
+ private List allowedPaymentMethodTypes;
private List excludedPaymentMethodTypes;
private Dictionary metadata;
+ ///
+ /// The list of payment method types to allow for this SetupIntent. Stripe will only use
+ /// methods in this list when determining the payment methods to offer. A list of valid
+ /// payment method types can be found here.
+ /// One of: acss_debit, affirm, afterpay_clearpay, alipay,
+ /// alma, amazon_pay, au_becs_debit, bacs_debit,
+ /// bancontact, billie, bizum, blik, boku_promptpay,
+ /// boleto, capchase_pay, card, cashapp, check_scan,
+ /// click_to_pay, crypto, customer_balance, demo_pay,
+ /// duitnow, dummy_auth_push, dummy_passthrough_card, edenred,
+ /// eps, fpx, gcash, getbalance, gift_card,
+ /// giropay, gopay, grabpay, id_bank_transfer, ideal,
+ /// kakao_pay, klarna, knet, konbini, kr_card,
+ /// kr_market, kriya, link, mb_way, mobilepay,
+ /// momo, mondu, multibanco, naver_pay, netbanking,
+ /// ng_bank, ng_bank_transfer, ng_card, ng_market,
+ /// ng_ussd, ng_wallet, nz_bank_account, octopus, oxxo,
+ /// p24, paper_check, pay_by_bank, payco, paynow,
+ /// paypal, paypay, payto, pix, promptpay, qris,
+ /// rechnung, revolut_pay, samsung_pay, satispay,
+ /// scalapay, sepa_debit, sequra, shop_pay, shopeepay,
+ /// sofort, south_korea_market, stripe_balance, sunbit,
+ /// swish, tamara, test_pay, truemoney, twint,
+ /// upi, us_bank_account, us_cash_voucher, vipps,
+ /// wechat_pay, wero, or zip.
+ ///
+ [JsonProperty("allowed_payment_method_types", NullValueHandling = NullValueHandling.Ignore)]
+ [STJS.JsonPropertyName("allowed_payment_method_types")]
+ [STJS.JsonIgnore(Condition = STJS.JsonIgnoreCondition.WhenWritingNull)]
+ public List AllowedPaymentMethodTypes
+ {
+ get => this.allowedPaymentMethodTypes;
+ set
+ {
+ this.allowedPaymentMethodTypes = value;
+ this.SetTracker.Track();
+ }
+ }
+
///
/// If present, the SetupIntent's payment method will be attached to the in-context Stripe
/// Account.
diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs
index 77d0139d5c..ad00bc6867 100644
--- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs
+++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs
@@ -93,9 +93,10 @@ public Dictionary Metadata
///
/// When the subscription schedule starts. We recommend using now so that it starts
- /// the subscription immediately. You can also use a Unix timestamp to backdate the
- /// subscription so that it starts on a past date, or set a future date for the subscription
- /// to start on.
+ /// the subscription immediately, and to avoid unexpected behavior due to request delays or
+ /// clock skew resulting in a slightly backdated or postdated start. You can also use a Unix
+ /// timestamp to backdate the subscription so that it starts on a past date, or set a future
+ /// date for the subscription to start on.
///
[JsonProperty("start_date")]
[JsonConverter(typeof(AnyOfConverter))]
diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsInvoiceSettingsCustomFieldOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsInvoiceSettingsCustomFieldOptions.cs
new file mode 100644
index 0000000000..b56763c0b5
--- /dev/null
+++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsInvoiceSettingsCustomFieldOptions.cs
@@ -0,0 +1,25 @@
+// File generated from our OpenAPI spec
+namespace Stripe
+{
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+ using STJS = System.Text.Json.Serialization;
+
+ [STJS.JsonConverter(typeof(STJStripeOptionsConverter))]
+ public class SubscriptionScheduleDefaultSettingsInvoiceSettingsCustomFieldOptions : INestedOptions
+ {
+ ///
+ /// The name of the custom field. This may be up to 40 characters.
+ ///
+ [JsonProperty("name")]
+ [STJS.JsonPropertyName("name")]
+ public string Name { get; set; }
+
+ ///
+ /// The value of the custom field. This may be up to 140 characters.
+ ///
+ [JsonProperty("value")]
+ [STJS.JsonPropertyName("value")]
+ public string Value { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsInvoiceSettingsOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsInvoiceSettingsOptions.cs
index 2ccd0214e0..be5551b868 100644
--- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsInvoiceSettingsOptions.cs
+++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsInvoiceSettingsOptions.cs
@@ -10,6 +10,9 @@ namespace Stripe
public class SubscriptionScheduleDefaultSettingsInvoiceSettingsOptions : INestedOptions, IHasSetTracking
{
private List accountTaxIds;
+ private List customFields;
+ private string description;
+ private string footer;
[JsonIgnore]
[STJS.JsonIgnore]
@@ -32,6 +35,19 @@ public List AccountTaxIds
}
}
+ [JsonProperty("custom_fields", NullValueHandling = NullValueHandling.Ignore)]
+ [STJS.JsonPropertyName("custom_fields")]
+ [STJS.JsonIgnore(Condition = STJS.JsonIgnoreCondition.WhenWritingNull)]
+ public List CustomFields
+ {
+ get => this.customFields;
+ set
+ {
+ this.customFields = value;
+ this.SetTracker.Track();
+ }
+ }
+
///
/// Number of days within which a customer must pay invoices generated by this subscription
/// schedule. This value will be null for subscription schedules where
@@ -41,6 +57,32 @@ public List AccountTaxIds
[STJS.JsonPropertyName("days_until_due")]
public long? DaysUntilDue { get; set; }
+ [JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)]
+ [STJS.JsonPropertyName("description")]
+ [STJS.JsonIgnore(Condition = STJS.JsonIgnoreCondition.WhenWritingNull)]
+ public string Description
+ {
+ get => this.description;
+ set
+ {
+ this.description = value;
+ this.SetTracker.Track();
+ }
+ }
+
+ [JsonProperty("footer", NullValueHandling = NullValueHandling.Ignore)]
+ [STJS.JsonPropertyName("footer")]
+ [STJS.JsonIgnore(Condition = STJS.JsonIgnoreCondition.WhenWritingNull)]
+ public string Footer
+ {
+ get => this.footer;
+ set
+ {
+ this.footer = value;
+ this.SetTracker.Track();
+ }
+ }
+
///
/// The connected account that issues the invoice. The invoice is presented with the
/// branding and support information of the specified account.
diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleListOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleListOptions.cs
index 44f575efce..7bcd643a45 100644
--- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleListOptions.cs
+++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleListOptions.cs
@@ -37,7 +37,9 @@ public class SubscriptionScheduleListOptions : ListOptions
public AnyOf Created { get; set; }
///
- /// Only return subscription schedules for the given customer.
+ /// Only return subscription schedules for the given customer. The response will not include
+ /// subscription schedules for customers with a test clock attached if this parameter is not
+ /// set.
///
[JsonProperty("customer")]
[STJS.JsonPropertyName("customer")]
diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseInvoiceSettingsCustomFieldOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseInvoiceSettingsCustomFieldOptions.cs
new file mode 100644
index 0000000000..88f8a827a1
--- /dev/null
+++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseInvoiceSettingsCustomFieldOptions.cs
@@ -0,0 +1,25 @@
+// File generated from our OpenAPI spec
+namespace Stripe
+{
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+ using STJS = System.Text.Json.Serialization;
+
+ [STJS.JsonConverter(typeof(STJStripeOptionsConverter))]
+ public class SubscriptionSchedulePhaseInvoiceSettingsCustomFieldOptions : INestedOptions
+ {
+ ///
+ /// The name of the custom field. This may be up to 40 characters.
+ ///
+ [JsonProperty("name")]
+ [STJS.JsonPropertyName("name")]
+ public string Name { get; set; }
+
+ ///
+ /// The value of the custom field. This may be up to 140 characters.
+ ///
+ [JsonProperty("value")]
+ [STJS.JsonPropertyName("value")]
+ public string Value { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseInvoiceSettingsOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseInvoiceSettingsOptions.cs
index b7102d3751..4197de6190 100644
--- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseInvoiceSettingsOptions.cs
+++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseInvoiceSettingsOptions.cs
@@ -10,6 +10,9 @@ namespace Stripe
public class SubscriptionSchedulePhaseInvoiceSettingsOptions : INestedOptions, IHasSetTracking
{
private List accountTaxIds;
+ private List customFields;
+ private string description;
+ private string footer;
[JsonIgnore]
[STJS.JsonIgnore]
@@ -32,15 +35,63 @@ public List AccountTaxIds
}
}
+ ///
+ /// A list of up to 4 custom fields to be displayed on the invoice.
+ ///
+ [JsonProperty("custom_fields", NullValueHandling = NullValueHandling.Ignore)]
+ [STJS.JsonPropertyName("custom_fields")]
+ [STJS.JsonIgnore(Condition = STJS.JsonIgnoreCondition.WhenWritingNull)]
+ public List CustomFields
+ {
+ get => this.customFields;
+ set
+ {
+ this.customFields = value;
+ this.SetTracker.Track();
+ }
+ }
+
///
/// Number of days within which a customer must pay invoices generated by this subscription
/// schedule. This value will be null for subscription schedules where
- /// billing=charge_automatically.
+ /// collection_method=charge_automatically.
///
[JsonProperty("days_until_due")]
[STJS.JsonPropertyName("days_until_due")]
public long? DaysUntilDue { get; set; }
+ ///
+ /// An arbitrary string attached to the object. Often useful for displaying to users.
+ ///
+ [JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)]
+ [STJS.JsonPropertyName("description")]
+ [STJS.JsonIgnore(Condition = STJS.JsonIgnoreCondition.WhenWritingNull)]
+ public string Description
+ {
+ get => this.description;
+ set
+ {
+ this.description = value;
+ this.SetTracker.Track();
+ }
+ }
+
+ ///
+ /// Footer to be displayed on the invoice.
+ ///
+ [JsonProperty("footer", NullValueHandling = NullValueHandling.Ignore)]
+ [STJS.JsonPropertyName("footer")]
+ [STJS.JsonIgnore(Condition = STJS.JsonIgnoreCondition.WhenWritingNull)]
+ public string Footer
+ {
+ get => this.footer;
+ set
+ {
+ this.footer = value;
+ this.SetTracker.Track();
+ }
+ }
+
///
/// The connected account that issues the invoice. The invoice is presented with the
/// branding and support information of the specified account.
diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseOptions.cs
index 18c4d1464e..97b0b6d8fc 100644
--- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseOptions.cs
+++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseOptions.cs
@@ -232,7 +232,9 @@ public List Discounts
///
/// The date at which this phase of the subscription schedule starts or now. Must be
- /// set on the first phase.
+ /// set on the first phase. Prefer to specify now over an explicit timestamp when
+ /// appropriate to avoid unexpected behavior due to request delays or clock skew resulting
+ /// in the phase being slightly backdated or postdated.
///
[JsonProperty("start_date")]
[JsonConverter(typeof(AnyOfConverter))]
@@ -257,8 +259,8 @@ public List Discounts
public bool? Trial { get; set; }
///
- /// Sets the phase to trialing from the start date to this date. Must be before the phase
- /// end date, can not be combined with trial.
+ /// Sets the phase to trialing from the start date to this date. Must be within the phase.
+ /// When combined with trial=true, it must match the phase end date.
///
[JsonProperty("trial_end")]
[JsonConverter(typeof(AnyOfConverter))]
diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs
index 2fc267ad66..829caee9dc 100644
--- a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs
+++ b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs
@@ -31,15 +31,16 @@ public class SubscriptionPaymentSettingsOptions : INestedOptions, IHasSetTrackin
/// href="https://dashboard.stripe.com/settings/billing/invoice">invoice template
/// settings. Should not be specified with payment_method_configuration.
/// One of: ach_credit_transfer, ach_debit, acss_debit, affirm,
- /// amazon_pay, au_becs_debit, bacs_debit, bancontact,
- /// boleto, card, cashapp, crypto, custom,
- /// customer_balance, eps, fpx, giropay, grabpay,
- /// ideal, jp_credit_transfer, kakao_pay, klarna,
- /// konbini, kr_card, link, multibanco, naver_pay,
- /// nz_bank_account, p24, pay_by_bank, payco, paynow,
- /// paypal, payto, pix, promptpay, revolut_pay,
- /// satispay, sepa_credit_transfer, sepa_debit, sofort,
- /// swish, twint, upi, us_bank_account, or wechat_pay.
+ /// alipay, amazon_pay, au_becs_debit, bacs_debit,
+ /// bancontact, boleto, card, cashapp, crypto,
+ /// custom, customer_balance, eps, fpx, giropay,
+ /// grabpay, ideal, jp_credit_transfer, kakao_pay,
+ /// klarna, konbini, kr_card, link, mb_way,
+ /// multibanco, naver_pay, nz_bank_account, p24,
+ /// pay_by_bank, payco, paynow, paypal, payto,
+ /// pix, promptpay, revolut_pay, satispay,
+ /// sepa_credit_transfer, sepa_debit, sofort, swish,
+ /// twint, upi, us_bank_account, or wechat_pay.
///
[JsonProperty("payment_method_types", NullValueHandling = NullValueHandling.Ignore)]
[STJS.JsonPropertyName("payment_method_types")]
diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionUpdateOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionUpdateOptions.cs
index c52612f50f..71ad826cb1 100644
--- a/src/Stripe.net/Services/Subscriptions/SubscriptionUpdateOptions.cs
+++ b/src/Stripe.net/Services/Subscriptions/SubscriptionUpdateOptions.cs
@@ -129,7 +129,7 @@ public SubscriptionBillingThresholdsOptions BillingThresholds
///
/// Indicate whether this subscription should cancel at the end of the current period
- /// (current_period_end). Defaults to false.
+ /// (current_period_end).
///
[JsonProperty("cancel_at_period_end")]
[STJS.JsonPropertyName("cancel_at_period_end")]
diff --git a/src/Stripe.net/Services/Tax/Calculations/CalculationCreateOptions.cs b/src/Stripe.net/Services/Tax/Calculations/CalculationCreateOptions.cs
index 49a371c01d..03d1a4b84c 100644
--- a/src/Stripe.net/Services/Tax/Calculations/CalculationCreateOptions.cs
+++ b/src/Stripe.net/Services/Tax/Calculations/CalculationCreateOptions.cs
@@ -56,9 +56,11 @@ public class CalculationCreateOptions : BaseOptions
public CalculationShippingCostOptions ShippingCost { get; set; }
///
- /// Timestamp of date at which the tax rules and rates in effect applies for the
- /// calculation. Measured in seconds since the Unix epoch. Can be up to 48 hours in the
- /// past, and up to 48 hours in the future.
+ /// The calculation uses the tax rules and rates that are in effect at this timestamp. You
+ /// can use a date up to 31 days in the past or up to 31 days in the future. If you use a
+ /// future date, Stripe doesn't guarantee that the expected tax rules and rate being used
+ /// match the actual rules and rate that will be in effect on that date. We deploy tax
+ /// changes before their effective date, but not within a fixed window.
///
[JsonProperty("tax_date")]
[JsonConverter(typeof(UnixDateTimeConverter))]
diff --git a/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs b/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs
index c908b86441..43443adddc 100644
--- a/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs
+++ b/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs
@@ -19,9 +19,9 @@ public class CalculationCustomerDetailsTaxIdOptions : INestedOptions
/// co_nit, cr_tin, cv_nif, de_stn, do_rcn,
/// ec_ruc, eg_tin, es_cif, et_tin, eu_oss_vat,
/// eu_vat, fo_vat, gb_vat, ge_vat, gi_tin,
- /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp,
- /// il_vat, in_gst, is_vat, it_cf, jp_cn, jp_rn,
- /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// gn_nif, hk_br, hr_oib, hu_tin, ic_nif,
+ /// id_npwp, il_vat, in_gst, is_vat, it_cf, jp_cn,
+ /// jp_rn, jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
/// kz_bin, la_tin, li_uid, li_vat, lk_vat,
/// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
/// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
@@ -43,19 +43,19 @@ public class CalculationCustomerDetailsTaxIdOptions : INestedOptions
/// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
/// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
/// fo_vat, gb_vat, ge_vat, gi_tin, gn_nif, hk_br,
- /// hr_oib, hu_tin, id_npwp, il_vat, in_gst,
- /// is_vat, it_cf, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kg_tin, kh_tin, kr_brn, kz_bin, la_tin,
- /// li_uid, li_vat, lk_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,
- /// pl_nip, py_ruc, 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.
+ /// hr_oib, hu_tin, ic_nif, id_npwp, il_vat,
+ /// in_gst, is_vat, it_cf, jp_cn, jp_rn, jp_trn,
+ /// ke_pin, kg_tin, kh_tin, kr_brn, kz_bin,
+ /// la_tin, li_uid, li_vat, lk_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, pl_nip, py_ruc, 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")]
[STJS.JsonPropertyName("type")]
diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUsMassTransitParkingTaxOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUsMassTransitParkingTaxOptions.cs
new file mode 100644
index 0000000000..2e8ac26e70
--- /dev/null
+++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUsMassTransitParkingTaxOptions.cs
@@ -0,0 +1,20 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Tax
+{
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+ using STJS = System.Text.Json.Serialization;
+
+ [STJS.JsonConverter(typeof(STJStripeOptionsConverter))]
+ public class RegistrationCountryOptionsUsMassTransitParkingTaxOptions : INestedOptions
+ {
+ ///
+ /// A jurisdiction code representing the local
+ /// jurisdiction.
+ ///
+ [JsonProperty("jurisdiction")]
+ [STJS.JsonPropertyName("jurisdiction")]
+ public string Jurisdiction { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUsOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUsOptions.cs
index d220224715..41de17be81 100644
--- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUsOptions.cs
+++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUsOptions.cs
@@ -22,6 +22,20 @@ public class RegistrationCountryOptionsUsOptions : INestedOptions
[STJS.JsonPropertyName("local_lease_tax")]
public RegistrationCountryOptionsUsLocalLeaseTaxOptions LocalLeaseTax { get; set; }
+ ///
+ /// Options for the mass transit parking tax registration.
+ ///
+ [JsonProperty("mass_transit_parking_tax")]
+ [STJS.JsonPropertyName("mass_transit_parking_tax")]
+ public RegistrationCountryOptionsUsMassTransitParkingTaxOptions MassTransitParkingTax { get; set; }
+
+ ///
+ /// Options for the parking tax registration.
+ ///
+ [JsonProperty("parking_tax")]
+ [STJS.JsonPropertyName("parking_tax")]
+ public RegistrationCountryOptionsUsParkingTaxOptions ParkingTax { get; set; }
+
///
/// Two-letter US state code (ISO
/// 3166-2).
@@ -40,8 +54,8 @@ public class RegistrationCountryOptionsUsOptions : INestedOptions
///
/// Type of registration to be created in the US.
/// One of: local_amusement_tax, local_lease_tax,
- /// state_communications_tax, state_retail_delivery_fee, or
- /// state_sales_tax.
+ /// mass_transit_parking_tax, parking_tax, state_communications_tax,
+ /// state_retail_delivery_fee, or state_sales_tax.
///
[JsonProperty("type")]
[STJS.JsonPropertyName("type")]
diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUsParkingTaxOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUsParkingTaxOptions.cs
new file mode 100644
index 0000000000..cfa7830aeb
--- /dev/null
+++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUsParkingTaxOptions.cs
@@ -0,0 +1,20 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Tax
+{
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+ using STJS = System.Text.Json.Serialization;
+
+ [STJS.JsonConverter(typeof(STJStripeOptionsConverter))]
+ public class RegistrationCountryOptionsUsParkingTaxOptions : INestedOptions
+ {
+ ///
+ /// A jurisdiction code representing the local
+ /// jurisdiction.
+ ///
+ [JsonProperty("jurisdiction")]
+ [STJS.JsonPropertyName("jurisdiction")]
+ public string Jurisdiction { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs b/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs
index 77d4c8f6a4..1c62983095 100644
--- a/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs
+++ b/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs
@@ -26,9 +26,9 @@ public class TaxIdCreateOptions : BaseOptions
/// co_nit, cr_tin, cv_nif, de_stn, do_rcn,
/// ec_ruc, eg_tin, es_cif, et_tin, eu_oss_vat,
/// eu_vat, fo_vat, gb_vat, ge_vat, gi_tin,
- /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp,
- /// il_vat, in_gst, is_vat, it_cf, jp_cn, jp_rn,
- /// jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
+ /// gn_nif, hk_br, hr_oib, hu_tin, ic_nif,
+ /// id_npwp, il_vat, in_gst, is_vat, it_cf, jp_cn,
+ /// jp_rn, jp_trn, ke_pin, kg_tin, kh_tin, kr_brn,
/// kz_bin, la_tin, li_uid, li_vat, lk_vat,
/// ma_vat, md_vat, me_pib, mk_vat, mr_nif,
/// mx_rfc, my_frp, my_itn, my_sst, ng_tin,
@@ -50,19 +50,19 @@ public class TaxIdCreateOptions : BaseOptions
/// cr_tin, cv_nif, de_stn, do_rcn, ec_ruc,
/// eg_tin, es_cif, et_tin, eu_oss_vat, eu_vat,
/// fo_vat, gb_vat, ge_vat, gi_tin, gn_nif, hk_br,
- /// hr_oib, hu_tin, id_npwp, il_vat, in_gst,
- /// is_vat, it_cf, jp_cn, jp_rn, jp_trn, ke_pin,
- /// kg_tin, kh_tin, kr_brn, kz_bin, la_tin,
- /// li_uid, li_vat, lk_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,
- /// pl_nip, py_ruc, 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.
+ /// hr_oib, hu_tin, ic_nif, id_npwp, il_vat,
+ /// in_gst, is_vat, it_cf, jp_cn, jp_rn, jp_trn,
+ /// ke_pin, kg_tin, kh_tin, kr_brn, kz_bin,
+ /// la_tin, li_uid, li_vat, lk_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, pl_nip, py_ruc, 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")]
[STJS.JsonPropertyName("type")]
diff --git a/src/Stripe.net/Services/TaxRates/TaxRateCreateOptions.cs b/src/Stripe.net/Services/TaxRates/TaxRateCreateOptions.cs
index a01fc4ea2c..a51c198ff3 100644
--- a/src/Stripe.net/Services/TaxRates/TaxRateCreateOptions.cs
+++ b/src/Stripe.net/Services/TaxRates/TaxRateCreateOptions.cs
@@ -84,9 +84,9 @@ public class TaxRateCreateOptions : BaseOptions, IHasMetadata
///
/// The high-level tax type, such as vat or sales_tax.
/// One of: amusement_tax, communications_tax, gst, hst,
- /// igst, jct, lease_tax, pst, qst,
- /// retail_delivery_fee, rst, sales_tax, service_tax, or
- /// vat.
+ /// igst, jct, lease_tax, mass_transit_parking_tax,
+ /// parking_tax, pst, qst, retail_delivery_fee, rst,
+ /// sales_tax, service_tax, or vat.
///
[JsonProperty("tax_type")]
[STJS.JsonPropertyName("tax_type")]
diff --git a/src/Stripe.net/Services/TaxRates/TaxRateUpdateOptions.cs b/src/Stripe.net/Services/TaxRates/TaxRateUpdateOptions.cs
index 83eeac2a2e..c2a725b829 100644
--- a/src/Stripe.net/Services/TaxRates/TaxRateUpdateOptions.cs
+++ b/src/Stripe.net/Services/TaxRates/TaxRateUpdateOptions.cs
@@ -81,9 +81,9 @@ public Dictionary Metadata
///
/// The high-level tax type, such as vat or sales_tax.
/// One of: amusement_tax, communications_tax, gst, hst,
- /// igst, jct, lease_tax, pst, qst,
- /// retail_delivery_fee, rst, sales_tax, service_tax, or
- /// vat.
+ /// igst, jct, lease_tax, mass_transit_parking_tax,
+ /// parking_tax, pst, qst, retail_delivery_fee, rst,
+ /// sales_tax, service_tax, or vat.
///
[JsonProperty("tax_type")]
[STJS.JsonPropertyName("tax_type")]
diff --git a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataFpxOptions.cs b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataFpxOptions.cs
index d185645125..36edcf4a4a 100644
--- a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataFpxOptions.cs
+++ b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataFpxOptions.cs
@@ -20,9 +20,10 @@ public class ConfirmationTokenPaymentMethodDataFpxOptions : INestedOptions
/// The customer's bank.
/// One of: affin_bank, agrobank, alliance_bank, ambank,
/// bank_islam, bank_muamalat, bank_of_china, bank_rakyat,
- /// bsn, cimb, deutsche_bank, hong_leong_bank, hsbc,
- /// kfh, maybank2e, maybank2u, ocbc, pb_enterprise,
- /// public_bank, rhb, standard_chartered, or uob.
+ /// bnp_paribas, bsn, cimb, citibank, deutsche_bank,
+ /// hong_leong_bank, hsbc, kfh, maybank2e, maybank2u,
+ /// mbsb_bank, ocbc, pb_enterprise, public_bank, rhb,
+ /// standard_chartered, or uob.
///
[JsonProperty("bank")]
[STJS.JsonPropertyName("bank")]
diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationFleetReportedBreakdownFuelOptions.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationFleetReportedBreakdownFuelOptions.cs
index fa08ecd85d..2f61fddb7c 100644
--- a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationFleetReportedBreakdownFuelOptions.cs
+++ b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationFleetReportedBreakdownFuelOptions.cs
@@ -9,7 +9,7 @@ namespace Stripe.TestHelpers.Issuing
public class AuthorizationFleetReportedBreakdownFuelOptions : INestedOptions
{
///
- /// Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive
+ /// Gross fuel amount that should equal Fuel Volume multiplied by Fuel Unit Cost, inclusive
/// of taxes.
///
[JsonProperty("gross_amount_decimal")]
diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationPurchaseDetailsFleetReportedBreakdownFuelOptions.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationPurchaseDetailsFleetReportedBreakdownFuelOptions.cs
index c2c7221e35..3f540c5623 100644
--- a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationPurchaseDetailsFleetReportedBreakdownFuelOptions.cs
+++ b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationPurchaseDetailsFleetReportedBreakdownFuelOptions.cs
@@ -9,7 +9,7 @@ namespace Stripe.TestHelpers.Issuing
public class AuthorizationPurchaseDetailsFleetReportedBreakdownFuelOptions : INestedOptions
{
///
- /// Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive
+ /// Gross fuel amount that should equal Fuel Volume multiplied by Fuel Unit Cost, inclusive
/// of taxes.
///
[JsonProperty("gross_amount_decimal")]
diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionPurchaseDetailsFleetReportedBreakdownFuelOptions.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionPurchaseDetailsFleetReportedBreakdownFuelOptions.cs
index 2c2d5d8c7e..f6fab4de79 100644
--- a/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionPurchaseDetailsFleetReportedBreakdownFuelOptions.cs
+++ b/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionPurchaseDetailsFleetReportedBreakdownFuelOptions.cs
@@ -9,7 +9,7 @@ namespace Stripe.TestHelpers.Issuing
public class TransactionPurchaseDetailsFleetReportedBreakdownFuelOptions : INestedOptions
{
///
- /// Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive
+ /// Gross fuel amount that should equal Fuel Volume multiplied by Fuel Unit Cost, inclusive
/// of taxes.
///
[JsonProperty("gross_amount_decimal")]
diff --git a/src/Stripe.net/Services/Tokens/TokenAccountCompanyOptions.cs b/src/Stripe.net/Services/Tokens/TokenAccountCompanyOptions.cs
index 24d356b4f8..a019b6bb24 100644
--- a/src/Stripe.net/Services/Tokens/TokenAccountCompanyOptions.cs
+++ b/src/Stripe.net/Services/Tokens/TokenAccountCompanyOptions.cs
@@ -37,6 +37,10 @@ public class TokenAccountCompanyOptions : INestedOptions, IHasSetTracking
[STJS.JsonPropertyName("address_kanji")]
public AddressJapanOptions AddressKanji { get; set; }
+ [JsonProperty("administrative_address")]
+ [STJS.JsonPropertyName("administrative_address")]
+ public AddressOptions AdministrativeAddress { get; set; }
+
///
/// Whether the company's directors have been provided. Set this Boolean to true
/// after creating all the company's directors with
/// When the business was incorporated or registered.
///
@@ -224,6 +232,10 @@ public string Structure
/// The business ID number of the company, as appropriate for the company’s country.
/// (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a
/// Company Number in the UK.).
+ ///
+ /// Changing this value requires that the account re-accept the terms of
+ /// service.
///
[JsonProperty("tax_id")]
[STJS.JsonPropertyName("tax_id")]
diff --git a/src/Stripe.net/Services/Tokens/TokenPersonOptions.cs b/src/Stripe.net/Services/Tokens/TokenPersonOptions.cs
index f349f38476..49cfa4816b 100644
--- a/src/Stripe.net/Services/Tokens/TokenPersonOptions.cs
+++ b/src/Stripe.net/Services/Tokens/TokenPersonOptions.cs
@@ -126,6 +126,10 @@ public List FullNameAliases
/// itself, you can also provide a PII token provided by
/// Stripe.js.
+ ///
+ /// Changing this value for the account's representative requires that the account re-accept
+ /// the terms
+ /// of service.
///
[JsonProperty("id_number")]
[STJS.JsonPropertyName("id_number")]
@@ -137,6 +141,10 @@ public List FullNameAliases
/// back of an ID card. Instead of the number itself, you can also provide a PII token provided by
/// Stripe.js.
+ ///
+ /// Changing this value for the account's representative requires that the account re-accept
+ /// the terms
+ /// of service.
///
[JsonProperty("id_number_secondary")]
[STJS.JsonPropertyName("id_number_secondary")]
@@ -231,6 +239,10 @@ public Dictionary Metadata
///
/// The last four digits of the person's Social Security number (U.S. only).
+ ///
+ /// Changing this value for the account's representative requires that the account re-accept
+ /// the terms
+ /// of service.
///
[JsonProperty("ssn_last_4")]
[STJS.JsonPropertyName("ssn_last_4")]
diff --git a/src/Stripe.net/Services/V2/Billing/MeterEventStreams/MeterEventStreamCreateEventOptions.cs b/src/Stripe.net/Services/V2/Billing/MeterEventStreams/MeterEventStreamCreateEventOptions.cs
index 4a963e5d73..94d0113bfb 100644
--- a/src/Stripe.net/Services/V2/Billing/MeterEventStreams/MeterEventStreamCreateEventOptions.cs
+++ b/src/Stripe.net/Services/V2/Billing/MeterEventStreams/MeterEventStreamCreateEventOptions.cs
@@ -19,7 +19,7 @@ public class MeterEventStreamCreateEventOptions : INestedOptions
///
/// A unique identifier for the event. If not provided, one will be generated. We recommend
- /// using a globally unique identifier for this. We’ll enforce uniqueness within a rolling
+ /// using a globally unique identifier for this. We'll enforce uniqueness within a rolling
/// 24 hour period.
///
[JsonProperty("identifier")]
@@ -27,7 +27,7 @@ public class MeterEventStreamCreateEventOptions : INestedOptions
public string Identifier { get; set; }
///
- /// The payload of the event. This must contain the fields corresponding to a meter’s
+ /// The payload of the event. This must contain the fields corresponding to a meter's
/// customer_mapping.event_payload_key (default is stripe_customer_id) and
/// value_settings.event_payload_key (default is value). Read more about the
///
/// A unique identifier for the event. If not provided, one will be generated. We recommend
- /// using a globally unique identifier for this. We’ll enforce uniqueness within a rolling
+ /// using a globally unique identifier for this. We'll enforce uniqueness within a rolling
/// 24 hour period.
///
[JsonProperty("identifier")]
@@ -27,7 +27,7 @@ public class MeterEventCreateOptions : BaseOptions
public string Identifier { get; set; }
///
- /// The payload of the event. This must contain the fields corresponding to a meter’s
+ /// The payload of the event. This must contain the fields corresponding to a meter's
/// customer_mapping.event_payload_key (default is stripe_customer_id) and
/// value_settings.event_payload_key (default is value). Read more about the
///
+ /// City, district, suburb, town, or village.
+ ///
+ [JsonProperty("city")]
+ [STJS.JsonPropertyName("city")]
+ public string City { get; set; }
+
+ ///
+ /// Two-letter country code (ISO
+ /// 3166-1 alpha-2).
+ ///
+ [JsonProperty("country")]
+ [STJS.JsonPropertyName("country")]
+ public string Country { get; set; }
+
+ ///
+ /// Address line 1 (e.g., street, PO Box, or company name).
+ ///
+ [JsonProperty("line1")]
+ [STJS.JsonPropertyName("line1")]
+ public string Line1 { get; set; }
+
+ ///
+ /// Address line 2 (e.g., apartment, suite, unit, or building).
+ ///
+ [JsonProperty("line2")]
+ [STJS.JsonPropertyName("line2")]
+ public string Line2 { get; set; }
+
+ ///
+ /// ZIP or postal code.
+ ///
+ [JsonProperty("postal_code")]
+ [STJS.JsonPropertyName("postal_code")]
+ public string PostalCode { get; set; }
+
+ ///
+ /// Purpose of additional address.
+ /// One of: administrative, or principal_place_of_business.
+ ///
+ [JsonProperty("purpose")]
+ [STJS.JsonPropertyName("purpose")]
+ public string Purpose { get; set; }
+
+ ///
+ /// State, county, province, or region.
+ ///
+ [JsonProperty("state")]
+ [STJS.JsonPropertyName("state")]
+ public string State { get; set; }
+
+ ///
+ /// Town or district.
+ ///
+ [JsonProperty("town")]
+ [STJS.JsonPropertyName("town")]
+ public string Town { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsOptions.cs b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsOptions.cs
index ea6b0f4b6c..dc34e86b65 100644
--- a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsOptions.cs
+++ b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsOptions.cs
@@ -9,6 +9,13 @@ namespace Stripe.V2.Core
[STJS.JsonConverter(typeof(STJStripeOptionsConverter))]
public class AccountTokenCreateIdentityBusinessDetailsOptions : INestedOptions
{
+ ///
+ /// Additional addresses associated with the business.
+ ///
+ [JsonProperty("additional_addresses")]
+ [STJS.JsonPropertyName("additional_addresses")]
+ public List AdditionalAddresses { get; set; }
+
///
/// The business registration address of the business entity.
///
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsAdditionalAddressOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsAdditionalAddressOptions.cs
new file mode 100644
index 0000000000..73a7877270
--- /dev/null
+++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsAdditionalAddressOptions.cs
@@ -0,0 +1,69 @@
+// File generated from our OpenAPI spec
+namespace Stripe.V2.Core
+{
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+ using STJS = System.Text.Json.Serialization;
+
+ [STJS.JsonConverter(typeof(STJStripeOptionsConverter))]
+ public class AccountCreateIdentityBusinessDetailsAdditionalAddressOptions : INestedOptions
+ {
+ ///
+ /// City, district, suburb, town, or village.
+ ///
+ [JsonProperty("city")]
+ [STJS.JsonPropertyName("city")]
+ public string City { get; set; }
+
+ ///
+ /// Two-letter country code (ISO
+ /// 3166-1 alpha-2).
+ ///
+ [JsonProperty("country")]
+ [STJS.JsonPropertyName("country")]
+ public string Country { get; set; }
+
+ ///
+ /// Address line 1 (e.g., street, PO Box, or company name).
+ ///
+ [JsonProperty("line1")]
+ [STJS.JsonPropertyName("line1")]
+ public string Line1 { get; set; }
+
+ ///
+ /// Address line 2 (e.g., apartment, suite, unit, or building).
+ ///
+ [JsonProperty("line2")]
+ [STJS.JsonPropertyName("line2")]
+ public string Line2 { get; set; }
+
+ ///
+ /// ZIP or postal code.
+ ///
+ [JsonProperty("postal_code")]
+ [STJS.JsonPropertyName("postal_code")]
+ public string PostalCode { get; set; }
+
+ ///
+ /// Purpose of additional address.
+ /// One of: administrative, or principal_place_of_business.
+ ///
+ [JsonProperty("purpose")]
+ [STJS.JsonPropertyName("purpose")]
+ public string Purpose { get; set; }
+
+ ///
+ /// State, county, province, or region.
+ ///
+ [JsonProperty("state")]
+ [STJS.JsonPropertyName("state")]
+ public string State { get; set; }
+
+ ///
+ /// Town or district.
+ ///
+ [JsonProperty("town")]
+ [STJS.JsonPropertyName("town")]
+ public string Town { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsOptions.cs
index e15652b016..9560561aff 100644
--- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsOptions.cs
+++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsOptions.cs
@@ -9,6 +9,13 @@ namespace Stripe.V2.Core
[STJS.JsonConverter(typeof(STJStripeOptionsConverter))]
public class AccountCreateIdentityBusinessDetailsOptions : INestedOptions
{
+ ///
+ /// Additional addresses associated with the business.
+ ///
+ [JsonProperty("additional_addresses")]
+ [STJS.JsonPropertyName("additional_addresses")]
+ public List AdditionalAddresses { get; set; }
+
///
/// The business registration address of the business entity.
///
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsAdditionalAddressOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsAdditionalAddressOptions.cs
new file mode 100644
index 0000000000..60c322aaad
--- /dev/null
+++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsAdditionalAddressOptions.cs
@@ -0,0 +1,69 @@
+// File generated from our OpenAPI spec
+namespace Stripe.V2.Core
+{
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+ using STJS = System.Text.Json.Serialization;
+
+ [STJS.JsonConverter(typeof(STJStripeOptionsConverter))]
+ public class AccountUpdateIdentityBusinessDetailsAdditionalAddressOptions : INestedOptions
+ {
+ ///
+ /// City, district, suburb, town, or village.
+ ///
+ [JsonProperty("city")]
+ [STJS.JsonPropertyName("city")]
+ public string City { get; set; }
+
+ ///
+ /// Two-letter country code (ISO
+ /// 3166-1 alpha-2).
+ ///
+ [JsonProperty("country")]
+ [STJS.JsonPropertyName("country")]
+ public string Country { get; set; }
+
+ ///
+ /// Address line 1 (e.g., street, PO Box, or company name).
+ ///
+ [JsonProperty("line1")]
+ [STJS.JsonPropertyName("line1")]
+ public string Line1 { get; set; }
+
+ ///
+ /// Address line 2 (e.g., apartment, suite, unit, or building).
+ ///
+ [JsonProperty("line2")]
+ [STJS.JsonPropertyName("line2")]
+ public string Line2 { get; set; }
+
+ ///
+ /// ZIP or postal code.
+ ///
+ [JsonProperty("postal_code")]
+ [STJS.JsonPropertyName("postal_code")]
+ public string PostalCode { get; set; }
+
+ ///
+ /// Purpose of additional address.
+ /// One of: administrative, or principal_place_of_business.
+ ///
+ [JsonProperty("purpose")]
+ [STJS.JsonPropertyName("purpose")]
+ public string Purpose { get; set; }
+
+ ///
+ /// State, county, province, or region.
+ ///
+ [JsonProperty("state")]
+ [STJS.JsonPropertyName("state")]
+ public string State { get; set; }
+
+ ///
+ /// Town or district.
+ ///
+ [JsonProperty("town")]
+ [STJS.JsonPropertyName("town")]
+ public string Town { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsOptions.cs
index 88b2da0345..ce50b22827 100644
--- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsOptions.cs
+++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsOptions.cs
@@ -9,6 +9,13 @@ namespace Stripe.V2.Core
[STJS.JsonConverter(typeof(STJStripeOptionsConverter))]
public class AccountUpdateIdentityBusinessDetailsOptions : INestedOptions
{
+ ///
+ /// Additional addresses associated with the business.
+ ///
+ [JsonProperty("additional_addresses")]
+ [STJS.JsonPropertyName("additional_addresses")]
+ public List AdditionalAddresses { get; set; }
+
///
/// The business registration address of the business entity.
///
diff --git a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs
index 5249d8f121..0164485672 100644
--- a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs
+++ b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs
@@ -47,8 +47,8 @@ public class WebhookEndpointCreateOptions : BaseOptions, IHasMetadata
/// 2025-06-30.basil, 2025-07-30.basil, 2025-08-27.basil,
/// 2025-09-30.clover, 2025-10-29.clover, 2025-11-17.clover,
/// 2025-12-15.clover, 2026-01-28.clover, 2026-02-25.clover,
- /// 2026-03-25.dahlia, 2026-04-22.dahlia, 2026-05-27.dahlia, or
- /// 2026-06-24.dahlia.
+ /// 2026-03-25.dahlia, 2026-04-22.dahlia, 2026-05-27.dahlia,
+ /// 2026-06-24.dahlia, or 2026-07-29.dahlia.
///
[JsonProperty("api_version")]
[STJS.JsonPropertyName("api_version")]
@@ -124,11 +124,16 @@ public string Description
///