#noe-payout

1 messages · Page 1 of 1 (latest)

woven pagoda
#

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

viral cedar
#

should be able to fetch the data

woven pagoda
#

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.

viral cedar
#

ok, let me try it

viral cedar
#

I added Stripe-Account in header but getting another error

woven pagoda
#

Can you share the ID for that request?

viral cedar
#

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

woven pagoda
#

My guess is you're using the API key of a different account in Postman

viral cedar
#

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

woven pagoda
#

Can you remove the type: 'charge' parameter?

viral cedar
#

ah yeah, it works now

#

I found the data, thanks

woven pagoda
#

Perfect!