#lt_payouts-error

1 messages ¡ Page 1 of 1 (latest)

steel kestrelBOT
#

👋 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.

honest maple
#

this is where the error lies, specifically line 73. The logs tell me "Error creating Stripe payout: No such external account: '*******************'

toxic totem
#

lt_payouts-error

honest maple
#

it returns the actual external account number

toxic totem
#

You are trying to create a Payout on the connected account right? That's where that ba_123 lives?

honest maple
#

i was trying to initiate a payout from my platforms stripe account, to a connected accounts bank account. is this possible?

toxic totem
#

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?

honest maple
#

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

toxic totem
#

no that is impossible

honest maple
#

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?

toxic totem
#

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

honest maple
#

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.

toxic totem
#

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

honest maple
#

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?

toxic totem
#

yes

honest maple
#

Awesome. Thank you so much!

#

Really cleared everything up.