createThirdPartPayParams

fun createThirdPartPayParams(paymentMethodType: String, paymentIntentId: String, clientSecret: String, customerId: String? = null, paymentConsentId: String? = null, currency: String? = null, countryCode: String? = null, additionalInfo: Map<String, String>? = null, returnUrl: String? = null, flow: AirwallexPaymentRequestFlow? = null): ConfirmPaymentIntentParams

Return the ConfirmPaymentIntentParams for ThirdPart Pay

Parameters

paymentMethodType

Payment method type, required.

paymentIntentId

the ID of the PaymentIntent, required.

clientSecret

the clientSecret of PaymentIntent, required.

customerId

the customerId of PaymentIntent, optional.

paymentConsentId

the customerId of PaymentConsent, optional.

currency

amount currency

additionalInfo

used by LPMs

returnUrl

optional

flow

optional