retrieveSetupIntent

fun retrieveSetupIntent(clientSecret: String, stripeAccountId: String? = this.stripeAccountId, callback: ApiResultCallback<SetupIntent>)

Retrieve a SetupIntent asynchronously.

See Retrieve a SetupIntent. GET /v1/setup_intents/:id

Parameters

clientSecret

the client_secret with which to retrieve the SetupIntent

stripeAccountId

Optional, the Connect account to associate with this request. By default, will use the Connect account that was used to instantiate the Stripe object, if specified.

callback

a ApiResultCallback to receive the result or error