#benjamin_the_fool

1 messages · Page 1 of 1 (latest)

paper ibexBOT
coarse tendon
fading acorn
#

Sorry if I'm misunderstanding my own problem, but when I get a list of all charges, supplying only the stripe_account arg, I get a list of charges for that connected account as I would expect. But, each charge object's customer field is None. To get the customer associated with each charge I have been expanding the following path: source_transfer.source_transaction.customer which is not None, but it also seems that I cannot filter by this nested "customer". Hopefully this provides some clarity. Am I missing something here?

#

Is this thread still active?

coarse tendon
#

Ah gotcha, in that case I am guessing you are using payment intents so it will make more sense to list your payment intents and then check the latest_charge field on each payment intent if you need the charge ID

#

This thread is still active but this server is about twice as busy as I have ever seen it so responses may be a bit delayed

paper ibexBOT