confirmAlipayPayment
suspend fun Stripe.confirmAlipayPayment( confirmPaymentIntentParams: ConfirmPaymentIntentParams, authenticator: AlipayAuthenticator, stripeAccountId: String? = this.stripeAccountId): PaymentIntentResult
Content copied to clipboard
Confirm and authenticate a PaymentIntent using the Alipay SDK
Return
a PaymentIntentResult object
See also
Parameters
confirmPaymentIntentParams
ConfirmPaymentIntentParams used to confirm the PaymentIntent
authenticator
a AlipayAuthenticator used to interface with the Alipay SDK
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.
Throws
failure to properly authenticate yourself (check your key)
your request has invalid parameters
failure to connect to Stripe's API
any other type of problem (for instance, a temporary issue with Stripe's servers)