create

fun create(clientSecret: String, paymentMethodType: PaymentMethod.Type): ConfirmPaymentIntentParams

Create the parameters necessary for confirming a PaymentIntent based on its clientSecret and paymentMethodType

Use this initializer for PaymentIntents that already have a PaymentMethod attached.

Parameters

clientSecret

client secret from the PaymentIntent that is to be confirmed

paymentMethodType

the known type of the PaymentIntent's attached PaymentMethod


Create a ConfirmPaymentIntentParams without a payment method.