From c644b9255bf18392db077743f516e07603bbf140 Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Mon, 4 Nov 2019 12:14:38 -0800 Subject: [PATCH] Add support for `UseStripeSdk` on `PaymentIntent` create and confirm --- .../Services/PaymentIntents/PaymentIntentConfirmOptions.cs | 7 +++++++ .../Services/PaymentIntents/PaymentIntentCreateOptions.cs | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentConfirmOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentConfirmOptions.cs index 386bce7f15..c5c04779d0 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentConfirmOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentConfirmOptions.cs @@ -96,5 +96,12 @@ public class PaymentIntentConfirmOptions : BaseOptions /// [JsonProperty("source")] public string Source { get; set; } + + /// + /// Set to true only when using manual confirmation and the iOS or Android SDKs to + /// handle additional authentication steps. + /// + [JsonProperty("use_stripe_sdk")] + public bool? UseStripeSdk { get; set; } } } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentCreateOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentCreateOptions.cs index e7486afed3..ef5aa5df2a 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentCreateOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentCreateOptions.cs @@ -200,5 +200,12 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// [JsonProperty("transfer_group")] public string TransferGroup { get; set; } + + /// + /// Set to true only when using manual confirmation and the iOS or Android SDKs to + /// handle additional authentication steps. + /// + [JsonProperty("use_stripe_sdk")] + public bool? UseStripeSdk { get; set; } } }