diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 98d845ab65..85b34541d5 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1402 \ No newline at end of file +v1409 \ No newline at end of file diff --git a/src/Stripe.net/Constants/ApiVersion.cs b/src/Stripe.net/Constants/ApiVersion.cs index 6c56685a19..090fbcce39 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 = "2024-12-18.acacia"; + public const string Current = "2024-11-20.acacia"; } } \ No newline at end of file diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountManagementFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountManagementFeatures.cs index e923118ac4..c6038a5cde 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountManagementFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountManagementFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsAccountManagementFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. This value can only be - /// true for accounts where controller.requirement_collection is application. - /// The default value is the opposite of the external_account_collection value. For - /// example, if you don’t set external_account_collection, it defaults to true and - /// disable_stripe_user_authentication defaults to false. + /// Disables Stripe user authentication for this embedded component. This feature can only + /// be true for accounts where you’re responsible for collecting updated information + /// when requirements are due or change, like Custom accounts. The default value for this + /// feature is false when external_account_collection is enabled and + /// true otherwise. /// [JsonProperty("disable_stripe_user_authentication")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountOnboardingFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountOnboardingFeatures.cs index 30568b1165..d0e23e34a0 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountOnboardingFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountOnboardingFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsAccountOnboardingFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. This value can only be - /// true for accounts where controller.requirement_collection is application. - /// The default value is the opposite of the external_account_collection value. For - /// example, if you don’t set external_account_collection, it defaults to true and - /// disable_stripe_user_authentication defaults to false. + /// Disables Stripe user authentication for this embedded component. This feature can only + /// be true for accounts where you’re responsible for collecting updated information + /// when requirements are due or change, like Custom accounts. The default value for this + /// feature is false when external_account_collection is enabled and + /// true otherwise. /// [JsonProperty("disable_stripe_user_authentication")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsBalancesFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsBalancesFeatures.cs index 7c2c0a93d5..7e06736219 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsBalancesFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsBalancesFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsBalancesFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. This value can only be - /// true for accounts where controller.requirement_collection is application. - /// The default value is the opposite of the external_account_collection value. For - /// example, if you don’t set external_account_collection, it defaults to true and - /// disable_stripe_user_authentication defaults to false. + /// Disables Stripe user authentication for this embedded component. This feature can only + /// be true for accounts where you’re responsible for collecting updated information + /// when requirements are due or change, like Custom accounts. The default value for this + /// feature is false when external_account_collection is enabled and + /// true otherwise. /// [JsonProperty("disable_stripe_user_authentication")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsNotificationBannerFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsNotificationBannerFeatures.cs index 0a6d022478..0c9e469d20 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsNotificationBannerFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsNotificationBannerFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsNotificationBannerFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. This value can only be - /// true for accounts where controller.requirement_collection is application. - /// The default value is the opposite of the external_account_collection value. For - /// example, if you don’t set external_account_collection, it defaults to true and - /// disable_stripe_user_authentication defaults to false. + /// Disables Stripe user authentication for this embedded component. This feature can only + /// be true for accounts where you’re responsible for collecting updated information + /// when requirements are due or change, like Custom accounts. The default value for this + /// feature is false when external_account_collection is enabled and + /// true otherwise. /// [JsonProperty("disable_stripe_user_authentication")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsPayoutsFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsPayoutsFeatures.cs index c03ac4ad83..b473297301 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsPayoutsFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsPayoutsFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsPayoutsFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. This value can only be - /// true for accounts where controller.requirement_collection is application. - /// The default value is the opposite of the external_account_collection value. For - /// example, if you don’t set external_account_collection, it defaults to true and - /// disable_stripe_user_authentication defaults to false. + /// Disables Stripe user authentication for this embedded component. This feature can only + /// be true for accounts where you’re responsible for collecting updated information + /// when requirements are due or change, like Custom accounts. The default value for this + /// feature is false when external_account_collection is enabled and + /// true otherwise. /// [JsonProperty("disable_stripe_user_authentication")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/Cards/Card.cs b/src/Stripe.net/Entities/Cards/Card.cs index 272b3af39c..4ff3810573 100644 --- a/src/Stripe.net/Entities/Cards/Card.cs +++ b/src/Stripe.net/Entities/Cards/Card.cs @@ -291,13 +291,6 @@ public Customer Customer [JsonProperty("networks")] public CardNetworks Networks { get; set; } - /// - /// Status of a card based on the card issuer. - /// One of: regulated, or unregulated. - /// - [JsonProperty("regulated_status")] - public string RegulatedStatus { get; set; } - /// /// For external accounts that are cards, possible values are new and errored. /// If a payout fails, the status is set to errored and - /// This is used by the financial networks to identify a transaction. Visa calls this the - /// Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the - /// Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network - /// Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent - /// the date (MM/DD). This field will be available for successful Visa, Mastercard, or - /// American Express transactions and always null for other card brands. - /// - [JsonProperty("network_transaction_id")] - public string NetworkTransactionId { get; set; } - [JsonProperty("overcapture")] public ChargePaymentMethodDetailsCardOvercapture Overcapture { get; set; } - /// - /// Status of a card based on the card issuer. - /// One of: regulated, or unregulated. - /// - [JsonProperty("regulated_status")] - public string RegulatedStatus { get; set; } - /// /// Populated if this transaction used 3D Secure authentication. /// diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs index 66de0dbc47..370ad70702 100644 --- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs +++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs @@ -106,13 +106,6 @@ public class ConfirmationTokenPaymentMethodPreviewCard : StripeEntity - /// Status of a card based on the card issuer. - /// One of: regulated, or unregulated. - /// - [JsonProperty("regulated_status")] - public string RegulatedStatus { get; set; } - /// /// Contains details on how this Card may be used for 3D Secure authentication. /// diff --git a/src/Stripe.net/Entities/Disputes/DisputeEvidenceDetailsEnhancedEligibility.cs b/src/Stripe.net/Entities/Disputes/DisputeEvidenceDetailsEnhancedEligibility.cs index 8fa9ca20d6..3bfc24316b 100644 --- a/src/Stripe.net/Entities/Disputes/DisputeEvidenceDetailsEnhancedEligibility.cs +++ b/src/Stripe.net/Entities/Disputes/DisputeEvidenceDetailsEnhancedEligibility.cs @@ -7,8 +7,5 @@ public class DisputeEvidenceDetailsEnhancedEligibility : StripeEntity - { - /// - /// Visa Compelling Evidence 3.0 eligibility status. - /// One of: fee_acknowledged, or requires_fee_acknowledgement. - /// - [JsonProperty("status")] - public string Status { get; set; } - } -} diff --git a/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidence.cs b/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidence.cs index 47519d3ae2..08abb032d7 100644 --- a/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidence.cs +++ b/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidence.cs @@ -7,8 +7,5 @@ public class DisputeEvidenceEnhancedEvidence : StripeEntity - { - /// - /// A field acknowledging the fee incurred when countering a Visa Compliance dispute. If - /// this field is set to true, evidence can be submitted for the compliance dispute, and you - /// may incur a $500 fee if the case is lost. - /// - [JsonProperty("fee_acknowledged")] - public bool FeeAcknowledged { get; set; } - } -} diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs index 069b1f8a88..91e99aa601 100644 --- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs +++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs @@ -106,13 +106,6 @@ public class PaymentMethodCard : StripeEntity [JsonProperty("networks")] public PaymentMethodCardNetworks Networks { get; set; } - /// - /// Status of a card based on the card issuer. - /// One of: regulated, or unregulated. - /// - [JsonProperty("regulated_status")] - public string RegulatedStatus { get; set; } - /// /// Contains details on how this Card may be used for 3D Secure authentication. /// diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountManagementFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountManagementFeaturesOptions.cs index 91b6163d59..37dd1a8fb1 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountManagementFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountManagementFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsAccountManagementFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. This value can only be - /// true for accounts where controller.requirement_collection is application. - /// The default value is the opposite of the external_account_collection value. For - /// example, if you don’t set external_account_collection, it defaults to true and - /// disable_stripe_user_authentication defaults to false. + /// Disables Stripe user authentication for this embedded component. This feature can only + /// be true for accounts where you’re responsible for collecting updated information + /// when requirements are due or change, like Custom accounts. The default value for this + /// feature is false when external_account_collection is enabled and + /// true otherwise. /// [JsonProperty("disable_stripe_user_authentication")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountOnboardingFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountOnboardingFeaturesOptions.cs index c2a6acf273..d4366fd088 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountOnboardingFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountOnboardingFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsAccountOnboardingFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. This value can only be - /// true for accounts where controller.requirement_collection is application. - /// The default value is the opposite of the external_account_collection value. For - /// example, if you don’t set external_account_collection, it defaults to true and - /// disable_stripe_user_authentication defaults to false. + /// Disables Stripe user authentication for this embedded component. This feature can only + /// be true for accounts where you’re responsible for collecting updated information + /// when requirements are due or change, like Custom accounts. The default value for this + /// feature is false when external_account_collection is enabled and + /// true otherwise. /// [JsonProperty("disable_stripe_user_authentication")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsBalancesFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsBalancesFeaturesOptions.cs index c86e593081..f8aa614802 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsBalancesFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsBalancesFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsBalancesFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. This value can only be - /// true for accounts where controller.requirement_collection is application. - /// The default value is the opposite of the external_account_collection value. For - /// example, if you don’t set external_account_collection, it defaults to true and - /// disable_stripe_user_authentication defaults to false. + /// Disables Stripe user authentication for this embedded component. This feature can only + /// be true for accounts where you’re responsible for collecting updated information + /// when requirements are due or change, like Custom accounts. The default value for this + /// feature is false when external_account_collection is enabled and + /// true otherwise. /// [JsonProperty("disable_stripe_user_authentication")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsNotificationBannerFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsNotificationBannerFeaturesOptions.cs index a7701e366e..5de881d382 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsNotificationBannerFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsNotificationBannerFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsNotificationBannerFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. This value can only be - /// true for accounts where controller.requirement_collection is application. - /// The default value is the opposite of the external_account_collection value. For - /// example, if you don’t set external_account_collection, it defaults to true and - /// disable_stripe_user_authentication defaults to false. + /// Disables Stripe user authentication for this embedded component. This feature can only + /// be true for accounts where you’re responsible for collecting updated information + /// when requirements are due or change, like Custom accounts. The default value for this + /// feature is false when external_account_collection is enabled and + /// true otherwise. /// [JsonProperty("disable_stripe_user_authentication")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsPayoutsFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsPayoutsFeaturesOptions.cs index 0a4f923b58..ebb666ed9e 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsPayoutsFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsPayoutsFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsPayoutsFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. This value can only be - /// true for accounts where controller.requirement_collection is application. - /// The default value is the opposite of the external_account_collection value. For - /// example, if you don’t set external_account_collection, it defaults to true and - /// disable_stripe_user_authentication defaults to false. + /// Disables Stripe user authentication for this embedded component. This feature can only + /// be true for accounts where you’re responsible for collecting updated information + /// when requirements are due or change, like Custom accounts. The default value for this + /// feature is false when external_account_collection is enabled and + /// true otherwise. /// [JsonProperty("disable_stripe_user_authentication")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceOptions.cs b/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceOptions.cs index 6baa2d899c..62b1a16bbf 100644 --- a/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceOptions.cs +++ b/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceOptions.cs @@ -10,11 +10,5 @@ public class DisputeEvidenceEnhancedEvidenceOptions : INestedOptions /// [JsonProperty("visa_compelling_evidence_3")] public DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3Options VisaCompellingEvidence3 { get; set; } - - /// - /// Evidence provided for Visa Compliance evidence submission. - /// - [JsonProperty("visa_compliance")] - public DisputeEvidenceEnhancedEvidenceVisaComplianceOptions VisaCompliance { get; set; } } } diff --git a/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceVisaComplianceOptions.cs b/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceVisaComplianceOptions.cs deleted file mode 100644 index fb976a25f8..0000000000 --- a/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceVisaComplianceOptions.cs +++ /dev/null @@ -1,16 +0,0 @@ -// File generated from our OpenAPI spec -namespace Stripe -{ - using Newtonsoft.Json; - - public class DisputeEvidenceEnhancedEvidenceVisaComplianceOptions : INestedOptions - { - /// - /// A field acknowledging the fee incurred when countering a Visa Compliance dispute. If - /// this field is set to true, evidence can be submitted for the compliance dispute, and you - /// may incur a $500 fee if the case is lost. - /// - [JsonProperty("fee_acknowledged")] - public bool? FeeAcknowledged { get; set; } - } -} diff --git a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs index 2c541c5dee..8be80d5990 100644 --- a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs +++ b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs @@ -35,7 +35,7 @@ public class WebhookEndpointCreateOptions : BaseOptions, IHasMetadata /// 2019-11-05, 2019-12-03, 2020-03-02, 2020-08-27, /// 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, or 2024-12-18.acacia. + /// 2024-10-28.acacia, or 2024-11-20.acacia. /// [JsonProperty("api_version")] public string ApiVersion { get; set; }