#noe-payout
1 messages · Page 1 of 1 (latest)
Hey!
I can't get the payout data on the balance transaction API
What exactly are you expecting?
Issue is that Payout object (po_1Km2RuQbfl7QxFrMqjGE7UpI) belongs to a different account to the API keys you're using
should be able to fetch the data
Hence the resource_missing error
Ok, yep. You made that request using the API keys of acct_1JZe0YHnuXmsEsJ3 which is the platform in this instance.
The Payout (po_1Km2RuQbfl7QxFrMqjGE7UpI) belongs to acct_1JwJShQbfl7QxFrM which is a connected account.
In your API request, you need to pass the Stripe-Account header, using the ID of the connected account (acct_1JwJShQbfl7QxFrM): https://stripe.com/docs/connect/authentication
ok, let me try it
I added Stripe-Account in header but getting another error
Can you share the ID for that request?
May I know where to see the ID?
just now I used postman and i didn't find it in the logs,
before that I used stripe ruby gem and showed the request ID in the response
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
My guess is you're using the API key of a different account in Postman
I think this one
req_OcbYl4NJhDc1X0
sorry my bad, I used wrong api key.
I just changed to the correct key
but still return empty data
here is the req ID req_iXMAio6cs3flKS
Can you remove the type: 'charge' parameter?
Perfect!