confirmSetupIntent

Confirm that your customer intends to set up the current or provided payment method.

Before confirming a setup intent, a payment method must be attached. You may call collectSetupIntentPaymentMethod to attach or change the payment method for a setup intent object.

Return

A Cancelable that allows the operation to be canceled at any time

Parameters

intent

A SetupIntent with a payment method attached.

callback

The SetupIntentCallback to be invoked when the command completes