cancelSetupIntent

Cancel an existing SetupIntent.

If the cancel request succeeds, SetupIntentCallback.onSuccess will be called with the updated SetupIntent object with status CANCELED. If the cancel request fails, SetupIntentCallback.onFailure will be called with an error.

Parameters

setupIntent

The existing SetupIntent to be cancelled.

params

Details of the cancellation.

callback

The SetupIntentCallback invoked when the operation completes.