confirmSetupIntentSynchronous
fun confirmSetupIntentSynchronous(confirmSetupIntentParams: ConfirmSetupIntentParams, idempotencyKey: String? = null): SetupIntent
Deprecated
use {@link #confirmSetupIntent(Activity, ConfirmSetupIntentParams)}
Blocking method to confirm a SetupIntent object. Do not call this on the UI thread or your app will crash.
See Confirm a SetupIntent. POST /v1/setup_intents/:id/confirm
Return
a SetupIntent or null
if a problem occurred
Parameters
confirmSetupIntentParams
a set of params with which to confirm the Setup Intent
idempotencyKey
optional, see Idempotent Requests