#DiscoBlade
1 messages · Page 1 of 1 (latest)
Hi there, you can call the same API again once you have sufficient balance
yes, but i'm planning to create a failed transfer logs and that logs will be used for resending the transfer
is t possible?
And i want to avoid the duplicate
So basically automatically create transfers when funds are sufficient, is this the correct understanding?
yes.
OK, You can listen to balance.available event (https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer_creation), One this event is fired, you can check your balance and transfer logs, and decide whether to create the transfer.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks, btw what endpoint should i use for connected account when sending it to their bank?
from connect account balance to their bank account
https://stripe.com/docs/connect/webhooks. you should setup a connect webhook to listen to events from your connected accounts.
this is for sending to connected account to their bank?
This is a webhook endpoint to listen to events generated in your connected accounts
okay
but how about this question?
Sorry I miss this, is your question about payouts events?
Sure, you can listen to payout.paid event in your connect webhook endpoint (https://stripe.com/docs/api/events/types#event_types-payout.paid)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I mean how can i send the balance of a connected account into their bank.
I believe the link you send is about the event and not about sending the balance
Are you using auto payout or manual payout?
Manual payout, i want to send it through api
Sure, here's the API https://stripe.com/docs/api/payouts/create#create_payout
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I see, thank you