fetchMostRecentPaymentMethod
open fun fetchMostRecentPaymentMethod(activity: FragmentActivity, callback: FetchMostRecentPaymentMethodCallback)
Called to get a user's existing payment method, if any. The payment method returned is not guaranteed to be the most recently added payment method. If your user already has an existing payment method, you may not need to show Drop-In.
Note: a client token must be used and will only return a payment method if it contains a customer id.
Parameters
activity
the current FragmentActivity
callback
callback for handling result