#iamyounus_53659
1 messages · Page 1 of 1 (latest)
https://stripe.com/docs/connect/separate-charges-and-transfers Looks like this is the flow that you are looking for, have you got a chacne to read it through?
Note that there's no Stripe API to schedule a transfer, you still need to run your own cron job to schedule transfers to the connected accounts.
I am a little confused! So I create a charge and than run a cron job which will check if charge created was 10 days ago call transaction api for those seller? Is there any thing like Stripe Payout
https://stripe.com/docs/connect/manage-payout-schedule
I got this from someone but I dont hwo to fit it in my flow
Because all those 3 seller have create a connect account on my stripe account while creating there account
The delay_days property reflects how long it takes for on_behalf_of charges (or direct charges performed on the connected account) to become available for payout.
Are you using on_behalf_of or direct charges?
I am using Charge api to deduct payment from user card. Sorry If I sound a little dump I am new to it
No worries!
Charges API is deprecated and you should use PaymentIntents API instead.
I'd suggest you to go through https://stripe.com/docs/connect/charges to learn various charge types. I believe "Separate charges and transfers" is the right fit but the final call is yours.
And for stripe payout ? I should call trasfer api on cron job?
Let's do it step by step
Transfer means moving funds from your account (platform) to a connected account. Payout is to move funds from a Stripe account to an external bank account.
So in order to payout to your connected account's bank account, you need to transfer the funds first, and follow by a payout.
If you want to hold the funds for 10 days before transfering it to the connected account, you can just use a cron job to schedule the transfer, and payout automatically
If you don't mind to transfer the funds to the connected account first, you can use the delay_days to delay the payout without running your cron job
Thanks ! Appreciate your help will try to implement that . Will ask for help if got stuck 😅 .Thanks for your time.