#rafmaghari-stripe cli
1 messages ยท Page 1 of 1 (latest)
you can trigger a payout.create event
once the payout is paid it will trigger the payout.paid event. unfortunately this is the only way
no it's just that you don't have enough balance to create a payout
you should trigger multiple payment_intent.succeeded first so you would have balance
and then trigger this
I have an account in my test data that has a future payout.
How can I use that account?
you could stripe login to that account
hmm the issue is I'm using connected account to my account
they don't have login
What's I am going to do is I need to notify my user's that the payment for them is on their bank already that's why I want to use this webhook..
Hey, taking over here. You mean an Express connected account?
Yep connected account.
What I'm going to do is notify them when the payment is already available on their banks.
But as you can see I can't hit the payout.paid in webhook.
Yep, what you want to do is actually create a new Payout on the connected account: https://stripe.com/docs/cli/post#post-stripe-account
Is there any way to associate the webhook with a specific account?
Then you'll get the subsequent payout.paid event you can listen for
๐
Let's I have this payout for the account can I hit the payout.paid already?
Since I have the for payouts.
Lemme try ๐
Looks like you're using automatic payouts?
Probably need to switch to a manual schedule to be able to create one
Ow.. I see no way to hit that in local?
Do we have a documentation where I can see the response of payout.paid event?
Not sure what you mean
Sure, it's just a Payout object: https://stripe.com/docs/api/payouts/object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
already see what you mean! :))
what should I put in statement descriptor?
Whatever you want! Just the string that appears on bank statements
Not really relevant for testing
Looks like it created the Payout to me! What's the issue?
payout already happened once I change from scheduled to manual ๐ฎ
And did you not receive any Payout events?
My backend logged it, I will initiate another payout. Thank you! ๐
It seems. that payout.paid is not triggering ๐ฆ
why payout is disabled?
is it because I don't have balance?
yes, you can't pay out if you don't have available balance
in test mode you can charge a specific card and the funds from that charge are available immediately to payout https://stripe.com/docs/testing#available-balance
otherwise you have to wait for funds to be available after charging (https://stripe.com/docs/payouts#payout-speed)
4000000360000006
I'm using this card because it's from AUS.
but it seems every time I charge the card it always go available soon.
not in AVAILABLE PAYOUT
Am I using a wrong card?
see the link to the test card I posted
I see, I need to use the international card ๐ thanks for this :)))
I already hit the webhook event for payout.paid. Thank you!
is there any to know the associated connected account in payout response ?
What I want to do after I receive the payout.paid update.
I will update the user connected account in my database.
I think stripe connected id is enough
Thank you for your help
it would be in the account field in the top level event object https://stripe.com/docs/connect/webhooks#connect-webhooks
Thank you!!! :))