retrievePaymentIntentWithOrderedPaymentMethods

open suspend override fun retrievePaymentIntentWithOrderedPaymentMethods(clientSecret: String, options: ApiRequest.Options, locale: Locale): PaymentMethodPreference?

Retrieve a PaymentIntent using its client_secret, with the accepted payment method types ordered according to the locale provided.

Analytics event: PaymentAnalyticsEvent.PaymentIntentRetrieve

Parameters

clientSecret

client_secret of the PaymentIntent to retrieve

locale

locale used to determine the order of the payment method types