#lt_payouts-error
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1235649425540382730
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
this is where the error lies, specifically line 73. The logs tell me "Error creating Stripe payout: No such external account: '*******************'
lt_payouts-error
it returns the actual external account number
You are trying to create a Payout on the connected account right? That's where that ba_123 lives?
i was trying to initiate a payout from my platforms stripe account, to a connected accounts bank account. is this possible?
yes but you are mixing up a lot of the words. Let me explain
a Transfer moves money between Stripe accounts. You, the platform can move $10 from your own platform's balance to your connected account's balance inside Stripe
a Payout moves money between a Stripe account's balance inside Stripe to your own bank account associated with the Stripe account, outside of Stripe
Does that part make sense?
Yeah -- to my understanding transfers move money within Stripe and payouts move money from stripe balance to an external account. I was wondering if theres a way for me to move money from my platforms stripe account directly into a connected accounts external bank account, without having to transfer it to their stripe account first
no that is impossible
so you first do a Transfer, and then after that you create a Payout. And when you create that Payout you pass the connected account id in the Stripe-Account header: https://stripe.com/docs/connect/authentication#stripe-account-header
the link you provided me with has to do with the PaymentIntent API -- do i pass in the Stripe Account header when creating the payment intent?
That doc I shared explained how the feature works. It applies to all APIs. You are not creating a PaymentIntent. You are explicitly creating a Payout so you would pass the same option (the stripe_account one) to your Payout creation code
Oh i understand. essentially it is mandatory that i transfer the funds to the connected stripe balance first, and then use the stripe-account header when creating a payout to make that Payout API call on the connected account to pay the money out to their bank.
exactly!
that's why you got that error earlier, you gave us the ba_123 but it doesn't exist on your account (the platform). It exists on the connected account
Right, and Payouts only ever move money from associated stripe account + external accounts. So even if i included the header when initiating that payout, it is always going to take from that stripe account balance correct?
yes