#umairasif - connect payouts

1 messages ยท Page 1 of 1 (latest)

elder bane
#

Hey there, can you explain what you're trying to do exactly? Do you have any example requests you can share that you're having trouble with?

sour trout
#

I have to payout manually from stripe connect account to external bank accounts, I have added multiple bank accounts against single connect account, Now I want to payout in the default external bank account of that specific connect account.

#

I have to use this.
$stripe->payouts->create([
'amount' => 1100,
'currency' => 'usd',
]);

#

but in this request, I have to add specific stripe connect and external bank account

elder bane
sour trout
#

Thanks, it worked.

elder bane
#

NP!

sour trout
#

one more thing, when we do a payout, which webhook event do we have to listen once payout status updated?

elder bane
sour trout
#

For payouts event, I tried a failed payout by adding the test bank of insufficient_funds,
I then looked for the events, it called all the webhook events including created, updated, paid and failed. paid webhook will always be called in any case? Like this was the failed payouts, will it be called on every type of payouts?

elder bane
#

Can you share the test payout ID you created?

sour trout
#

po_1KRfzMR8CnBroTH04mtQqr5W

sour trout
#

You there?

inland cedar
#

HI ๐Ÿ‘‹ @elder bane had to step away but I'm looking into this payout

sour trout
#

Alright.

lament sequoia
#

๐Ÿ‘‹ Just hopping in to help - Yes, I believe you receiving a payout.paid event is expected behavior. We send that event when a payout is expected to land in your account, but if it does fail we'll follow that up with a payout.failed event (see https://stripe.com/docs/api/events/types#event_types-payout.paid)