Does anyone know how I can fetch all payment methods from a Braintree vault?
Using BTDropInResult.fetch, I can fetch the latest payment method, but not all. See below:
BTDropInResult.fetch(forAuthorization: clientToken, handler: { (result, error) in
if (error != nil) {
let message = error?.localizedDescription
print (message)
} else if let result = result {
print(result) // latest payment method
} else {
}
})