#fr0smat1c

1 messages · Page 1 of 1 (latest)

late inletBOT
versed moon
#

Also, for general information, I use Cross-Border payouts

slender escarp
#
  1. Have you tried looking at the Payout object using its Id? it should have a status https://stripe.com/docs/api/payouts/object
  2. You can Revese a Transfer https://stripe.com/docs/api/transfer_reversals/create
versed moon
#

I don't have access to the payout object, because I do the transfer first, and Stripe automatically makes the payout on Connected Account itself

#

So I have only transfer Id and connected account Id

slender escarp
#

Did you receive any payout.created webhook event?

#

and payout.failed, payout.paid?

versed moon
#

Yeah, I can process them
But I can't link them to a transfer, for example.
So I can see that some payout was not successful, but I can't understand which payout is related to which transfer in my case.

#

Looked at example of a payout object. How can I understand from it which connected account it belongs to?

slender escarp
#

The Payout belongs to the account whose the Secret Key is being used

#

So if you call List Payout on your Secret key, that's your own account's Payout

#

If you list Payout on a Connected Account, you will need to use Stripe Account Header when calling List Payout API

versed moon
#

I understand that.
But my flow is a little different.
There is a main platform, i.e. the main Stripe account that holds the entire balance.
A user on the platform connects a withdrawal method by creating a Stripe Express Connected Account

How can I use the Payout object to find out which Connected Account it belongs to?

slender escarp
#

Yes but each Express Connected Account still has their own Payouts

#

That's how Connect works

#

You can provide some concrete Payout Id and your Platform Account Id, and your Express Connected Account Id. We can verify

late inletBOT
versed moon
#

Using Stripe Dashboard, I can figure out which account a Payout belongs to.
But if I process the webhook event payout.failed, I can't find out on the server which user or stripe connected account it belongs to?

rocky meadow
versed moon
#

Oh, okey
I will check this
Thanks

versed moon
#

And another one question
How can I quickly testing payout.failed webhook event on Express Connected Account without waiting payout?