#AndrewXia-connect
1 messages ยท Page 1 of 1 (latest)
Yes, with direct charges the amoutn is immediately paid to the vendor account and will be available to pay out to their external bank account after X number of days. IS there a reason you're using Direct charges, and not destination charges?
dump question, how do I use destination charge?
Ah, actually I was wrong - it does lookk like you're using destiantion charges ( I see you setting transfer_data [destination.
ah yeah I updated that just now to actually reflect my code, pasted in something wrong earlier
๐
So correct me if I'm misunderstanding, but is your goal to delay when the funds hit the connect account's stripe balance, or to delay when the payout is actually happening?
I want to delay when the payout is actually happening
The goals is if the customer cancels and wants a refund, I can refund the remaining amount that has not been paid out yet. Is this the right usecase?
Gotcha - then I think what you have set up is correct. Since they're on a manual payout schedule, the payouts can't be made unless you explicitly create them
But currently, the Express Dashboard is showing $0 in "Not paid out yet" but I see the amount in "Total earnings". Doesn't this mean the vendor is being paid out immediately?
No, that just means how much is in their Stripe Account balance - those funds haven't actually been paid out to an external account yet
What's the difference between that and "Not paid out yet"?
I also get this error You have insufficient funds in your Stripe account for this transfer. When trying to create a payout with:
await stripe.payouts.create(
{
amount: 100,
currency: 'usd',
},
{
stripeAccount: coach.coach.stripeId,
},
)
Hmm... actually let's back up for a minute - do you mind sharing the request ID that resulted in that error?
Sure! how do I get that?
You should be able to find that in your dashboard logs https://dashboard.stripe.com/test/logs
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Alternatively, if you have the account ID of the connect account I can take a look at that
The "Insufficent funds" error was this one: req_rTDDbr4tFGr1qm
Ah, I see what it is - all the funds that the connect account has right now are still pending - they're not available yet. Once those become available you'll be able to payout, but until then the request will fail
ohhhh
We have test cards for this situation that'll help: https://stripe.com/docs/testing#available-balance
You can use those to get the funds immediately to your available balance
I used 4242 4242 4242 4242 is there another one I should be using?
Ah nvm, found it, thank you!
๐