#wiseguy98

1 messages · Page 1 of 1 (latest)

woven furnaceBOT
cyan flint
floral linden
#

when retreiving the list without any filters/params, what is the default sort order?

cyan flint
#

Chronological, most recently created first

floral linden
#

that sounds great, thanks!

If I have any follow up questions, do you prefer I ask in this thread or start a new one?

cyan flint
#

Depends, when generally close them after ~30 minutes

floral linden
#

Cool, thanks!

#

Is it possible to have the created info for a paymentsource when retrieving a Customer Object?

cyan flint
#

Which API/object are you referencing when you say 'paymentsource'?

floral linden
#

So I am when I retrieve a Customer Object using the customer ID, I also get the registered payment sources (field: sources). It consists of an array which holds the customers registered payment sources. the sources array element dont seem to have a "created" field

Customer Object Im referring to: https://stripe.com/docs/api/customers

cyan flint
#

Ah, yeah I assumed you were using Payment Methods. Sources are deprecated you see

#

Yeah, no created field there. Guess you could track that yourself and add to metadata on creation

floral linden
#

ah I see. So you suggest I retireve using Payment Method?

cyan flint
#

Well you can't if your integration is not creating Payment Methods

floral linden
#

But the "sources" in Customer Object always returns a chronological array? (most recently created first)

cyan flint
#

Yes, that's the case for all APIs