retrievePaymentIntent
fun retrievePaymentIntent(clientSecret: String, stripeAccountId: String? = this.stripeAccountId, expand: List<String> = emptyList(), callback: ApiResultCallback<PaymentIntent>)
Retrieve a PaymentIntent asynchronously.
See Retrieve a PaymentIntent. GET /v1/payment_intents/:id
Parameters
clientSecret
the client_secret with which to retrieve the PaymentIntent
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.
expand
Optional, a list of keys to expand on the returned PaymentIntent
object.
callback
a ApiResultCallback to receive the result or error