#waddy-payment_methods

1 messages · Page 1 of 1 (latest)

versed wing
#

Hi, I'm checking for you

#

Yes I can confirm the list is sorted from newer to older

#

when you fetch the payment_methods you could use data[0] of the response as your latest payment method

misty frigate
#

You are my hero, thanks. I understood that setting the limit option to 1 can reduce bandwidth and retrieving only the latest.

versed wing
#

this is also an option and would be valid but you still have to use the data[0] since that API always return a list

misty frigate
#

OK, got it, and also I confirmed empty list data: [] returned when no attached payment method. Thank you.