#GhostAk47
1 messages · Page 1 of 1 (latest)
thanks
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
would you mind sharing the request ID?
it's in the screenshot you shared
req_2DzskwmPJbLWKg
thanks
you need to specify the Stripe-Account header
because this is a payout of your Connect Account
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
can you share a webhook event ?
each event for a connected account will also contain a top-level account property.
Please copy past its Id evt_123
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": {...}
}
You have the accountId if that webhook event is a Connect Event
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
please don't use mentions, I'm monitoring your thread
the payout object it self don't have an AccountId What do you want to achieve exactly here ?
do you want to transfer funds to a connected Account or create a Payout for your bank account ?
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
So you are receiving the webhook event and you can get the related transactions of that payout following this guide:
https://stripe.com/docs/expand/use-cases#charges-in-payout
Can you share the requestId ?
this time it not giving any request id it's some kind of exception
in the screenshot you can check once
this one
that catch is a catch for an API call, no ?
if so there must be one related in:
https://dashboard.stripe.com/test/logs
So yeah, there is a requestId for that failure call, can you share it with me ?
But that call is not correct, refer to the API documentation of that call:
https://stripe.com/docs/api/balance_transactions/retrieve
const balanceTransaction = await stripe.balanceTransactions.retrieve(
'txn_1LNIsNF1SIVBSMvIxfFyMiBx'
);
i am not getting request id this time
Okay
wait you want to do a retreive or listing ?
there must be one...
listing
Search in https://dashboard.stripe.com/test/logs for the reated failure requestId, or at least share with me the full error message
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
Can you copy past that Payout Id here?
po_1MbZwMPxWmtzfttcpu5uOXpz
Doing a quick test...
okay