#holykent
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
It depends on what kind of connected accounts you have (Standard, Express, Custom)
Custom
You can manage the payouts schedule here: https://stripe.com/docs/api/accounts/update#update_account-settings-payouts
My goal is for the customer to only interact with the Connect Onboarding as per currently_due requirements for updates or for initial registration.
They will not have to withdraw any money explicitly from Stripe, it should instead (when I transfer via the job specified above) end up in their specified bank account
Am I not supposed to use the Transfer option instead of Payout when I intend to pay connected accounts I have onboarded (which are effectively merchants)?
I might have been a bit tripped up here then, by the terminology:
My code looks like this
Settings = new AccountSettingsOptions
{
Payouts = new AccountSettingsPayoutsOptions
{
Schedule = new AccountSettingsPayoutsScheduleOptions { Interval = "manual" },
},
},
};
So this is with regards to external accounts?
The coide above means that I will have to manually, via the stripe dashboard, initiate the transfer to external accounts?
Transfers are responsible for Platform -> Connected account money movement
And Payouts for Account -> Bank account
Yes
Ok, so if the Interval is set to daily, this means that the merchant will not need to interact with Stripe provided they have already given stripe their bvank account details
may I ask another question?
How do I know if a transfer is succesful?
My understanding is that it first checks the balance of my account, then it initiates the transfer, my balance is reduced as per the transfer amount and then what?
What status is it in? How do I know if it's actually been successfully transferred to the user's bank account so that I can safely release the escrow?
do I just have to trust stripe that once the balance has been reduced in my account, that the transfer will succeed?
Yes
I am not sure about this, but you might be able to query for the latest Payouts: https://stripe.com/docs/api/payouts/list
But failures will happen and you will need to investigate those on case to case basis with your clients and their banks.
So, stripe is using the payout function internally to handle transfers and I dont explicitly have to do that?
I initiate transfer > stripe transfers from stripe account to another stripe account > then stripe issues payout to external account
is this the correct flow?
Yes, if you have the payouts schedule set up.
Ok thanks 🙂
Happy to help. Please, let me know if you have any other questions.
I do but take your time:
My current way of handling onboarding (custom connect)
is this:
I prompt the user to click "Connect With Stripe For Payouts" button - which initiates the create connect account > create account link flow.
I create the connect account set to currently_due and then they are redirected to the stripe onboarding flow.
then, the webhook is set up to listen for any AccountUpdates, and when they come in, all I do is check if there's anything in requirements.CurrentlyDue... if there is, I set the bool property PayoutsEnabled to true else false.
this is really all I need to do, right? Since anything that is eventually due will move to currently due.
And then I just have to prompt the user in the UI to click the onboard button again and the form will hjave whatever else is required
and Events.AccountUpdated will trigger on any new regulations or laws added to currentlydue for that user, right?
I set the bool property PayoutsEnabled to true else false.
You can't do it yourself, it will be done by Stripe. But it's a good indicator of whether the account is set up properly.
I mean i set it in my database record to track whether or not the user is eligible for payouts or not
so I know whether to make payouts to him or not when i queue my background jobs
else i just hold their money until they sign up.
I don't know, it's best to ask Stripe Support for these kind of things: https://support.stripe.com/?contact=true
ok but aside from the laws and regulations part, that should basically be enough to accurately track whether I should pay out to a merchant or not?
Correct