diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index e16afd5cb..4b855eceb 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1368 \ No newline at end of file +v1369 \ No newline at end of file diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs index 96c572fd5..e28efdcff 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs @@ -13,6 +13,12 @@ public class ChargePaymentMethodDetailsCard : StripeEntity + /// The latest amount intended to be authorized by this charge. + /// + [JsonProperty("amount_requested")] + public long? AmountRequested { get; set; } + /// /// Authorization code on the charge. /// @@ -158,6 +164,9 @@ public class ChargePaymentMethodDetailsCard : StripeEntity /// Populated if this transaction used 3D Secure authentication. /// diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPartialAuthorization.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPartialAuthorization.cs new file mode 100644 index 000000000..ecc5dd80b --- /dev/null +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPartialAuthorization.cs @@ -0,0 +1,17 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; + + public class ChargePaymentMethodDetailsCardPartialAuthorization : StripeEntity + { + /// + /// Indicates whether the transaction requested for partial authorization feature and the + /// authorization outcome. + /// One of: declined, fully_authorized, not_requested, or + /// partially_authorized. + /// + [JsonProperty("status")] + public string Status { get; set; } + } +} diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs index 978f3a2f4..9c255ff1b 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs @@ -80,6 +80,13 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity + /// Request partial authorization on this PaymentIntent. + /// One of: if_available, or never. + /// + [JsonProperty("request_partial_authorization")] + public string RequestPartialAuthorization { get; set; } + /// /// We strongly recommend that you rely on our SCA Engine to automatically prompt your /// customers for authentication based on risk level and Metadata { get; set; } + /// + /// Payment method-specific configuration for this PaymentIntent. + /// + [JsonProperty("payment_method_options")] + public PaymentIntentPaymentMethodOptionsOptions PaymentMethodOptions { get; set; } + /// /// Text that appears on the customer's statement as the statement descriptor for a non-card /// or card charge. This value overrides the account's default statement descriptor. For diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs index 83e12558c..0625e8243 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs @@ -103,6 +103,13 @@ public class PaymentIntentPaymentMethodOptionsCardOptions : INestedOptions [JsonProperty("request_overcapture")] public string RequestOvercapture { get; set; } + /// + /// Request partial authorization on this PaymentIntent. + /// One of: if_available, or never. + /// + [JsonProperty("request_partial_authorization")] + public string RequestPartialAuthorization { get; set; } + /// /// We strongly recommend that you rely on our SCA Engine to automatically prompt your /// customers for authentication based on risk level and