createWithPaymentMethodId
Create the parameters necessary for confirming a PaymentIntent while attaching a PaymentMethod that already exists.
Parameters
the ID of the PaymentMethod that is being attached to the PaymentIntent being confirmed
client secret from the PaymentIntent being confirmed
Set to true
to save this PaymentIntent’s payment method to the associated Customer, if the payment method is not already attached. This parameter only applies to the payment method passed in the same request or the current payment method attached to the PaymentIntent and must be specified again if a new payment method is added.
Optional PaymentMethodOptionsParams
Optional ID of the Mandate to be used for this payment.
Optional details about the Mandate to create.
Optional. See SetupFutureUsage.
Optional. See Shipping.