#ibgoldbergs

1 messages · Page 1 of 1 (latest)

runic gullBOT
green hearth
#

on behalf of doesn't really make sense in this request, since you (the platform) are debitting the connected account balance. Why are you trying to set that?

#

Arguably this should fail as a 4xx error, but it looks like it gets ignored instead

lone cypress
#

Trying to build a report to show all the charges we made that were due to debiting a connected account

green hearth
#

How does that relate to setting OBO on the account debit?

lone cypress
#

because it allows us to pull in the name of the connected account

#

if there is a better way, i'd love to know

green hearth
lone cypress
#

maybe lets drop OBO, and move onto the problem i'm trying to solve. Want to generate a report of charges where we debited the connected account

#

can we do this via sigma?

#

select
connected_accounts.id,
connected_accounts.business_name,
charges.id
from charges
left join connected_accounts on connected_accounts.id = charges.source_id

This doesn't seem right in Sigma

runic gullBOT
green hearth
#

We aren't really equipped to help with sigma queries, but it looks like the information you need is present on the charge. Looking at the request above you can see payment_method_details.type='stripe_account' and source.id='acct_1234'

#

So you might want to filter/join on those