#nicus_connect-objects

1 messages ¡ Page 1 of 1 (latest)

compact oceanBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1275449192025817151

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

fathom karma
#

Hi

#

I am trying to get all related transactions to a particular payout

#

but I am getting a 404, "no such payout XXX" when I perform request.

#

My code is:
client = StripeClient(business.stripe_mode)
charges = client.stripe.BalanceTransaction.list(
payout=payout_id,
type="charge",
expand=["data.source"],
)

#

it's an "standard" payout, so I understand I can get the transactions associated,

sonic pulsarBOT
clear current
#

Can you share the request id where you're getting this error

fathom karma
#

how can I get the request id?

clear current
fathom karma
#

ok, thanks, please give me some minutes while I look for it

clear current
#

That payout is a connect payout

#

You're making the request on the platform account

#

You need to pass the stripe account header of the connect account

fathom karma
#

stripe account header would be the "connected account id"?

clear current
#

yeah

#

that doc explains it

fathom karma
#

thanks! I just wanna to be sure

#

I will try it

#

I appriciate the help, have an awoseme day.

clear current
#

No problem!