retrieveSetupIntent

fun retrieveSetupIntent(clientSecret: String, callback: SetupIntentCallback)

Retrieves a SetupIntent with a client secret.

If the information required to create a SetupIntent isn't readily available in your app, you can create the SetupIntent on your server and use this method to retrieve the SetupIntent in your app.

See https://stripe.com/docs/api/setup_intents/create.

Parameters

clientSecret

The client secret of the SetupIntent to be retrieved

callback

The callback to be called when retrieval completes