#GhostAk47

1 messages · Page 1 of 1 (latest)

alpine pythonBOT
gloomy holly
#

👋 happy to help

red bloom
#

thanks

red bloom
#

Hey

#

this is my payout id
po_1MbZwMPxWmtzfttcpu5uOXpz

#

and i am getting no such a payout

#

i am using same stripe key

#

@gloomy holly

#

Can you check please why i am getting this error

gloomy holly
#

would you mind sharing the request ID?

red bloom
#

form where i can get that

#

i took this payout id from stripe dashboard

alpine pythonBOT
gloomy holly
#

it's in the screenshot you shared

red bloom
#

req_2DzskwmPJbLWKg

gloomy holly
#

thanks

#

you need to specify the Stripe-Account header

#

because this is a payout of your Connect Account

red bloom
#

okay but when I get the payout event form webhook at that time i don't know for which connect account payout it is

#

we didn't received any account id in payout webhook event

ashen rampart
#

can you share a webhook event ?

red bloom
ashen rampart
#

each event for a connected account will also contain a top-level account property.

#

Please copy past its Id evt_123

ashen rampart
# red bloom

this is the object, you need to refer to the root event object:

{
  "id": "evt_2h6LRIGQq3mdht",
  "livemode": true,
  "object": "event",
  "type": "customer.created",
  "account": "acct_YTpAdtXZqrqWPs",
  "pending_webhooks": 2,
  "created": 1349654313,
  "data": {...}
}
red bloom
#

okay

#

Should i use event id in Stripe-Account header

ashen rampart
#

You have the accountId if that webhook event is a Connect Event

red bloom
#

okay as of now i am using stripe cli that's why i am not getting accont id right ?

#

but still i am facing issue after adding stripe account id

#

@ashen rampart

ashen rampart
#

please don't use mentions, I'm monitoring your thread

ashen rampart
#

do you want to transfer funds to a connected Account or create a Payout for your bank account ?

red bloom
#

I just want to receive the payout event and after that all related transactions of that payout

#

but now i am getting error after sending stripe account id in header

ashen rampart
ashen rampart
red bloom
#

this time it not giving any request id it's some kind of exception

#

in the screenshot you can check once

#

this one

ashen rampart
#

that catch is a catch for an API call, no ?

red bloom
ashen rampart
#

So yeah, there is a requestId for that failure call, can you share it with me ?

red bloom
#

i am not getting request id this time

ashen rampart
#

wait you want to do a retreive or listing ?

ashen rampart
red bloom
#

listing

ashen rampart
red bloom
#

this the full error I am getting also the function syntax I am using is I follow the document you have shared

#

It's look like some syntax issue or version issue because api call not reaching to stripe server

#

because i am looking into developer logs these call are not there

ashen rampart
#

Can you copy past that Payout Id here?

red bloom
#

po_1MbZwMPxWmtzfttcpu5uOXpz

ashen rampart
#

Doing a quick test...

red bloom
#

okay