#falejand

1 messages · Page 1 of 1 (latest)

stable echoBOT
hoary ferry
crimson thistle
#

following with the same, I tried that already, there is not customer.listPaymentMethods().retrieve(pmId);

#

I guess I can do a simple find with the collection from the listPaymentMethods()

#

just wanted to confirm the api was available or not to avoid using 2 apis and use one instead

hoary ferry
#

What you want to achieve here? list Payement methods or retrieve one payment method?

crimson thistle
#

make sure that a customer has a payment method id

#

as a validation rule

#

my input is a customerId and a paymentMethodID

#

I want to implement just basic validation that in fact the customerId is associated with the paymentMethodID I receive from my internal APIs

hoary ferry
crimson thistle
#

oh awesome, it does the same description as the other one, I'll use that one instead, thx for the help 🙂

hoary ferry
#

It looks like the API reference is not up-to-date, thanks for flagging this out, I'd escalate and let the relevant team to fix it.