#mtoledo2_api
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/1435267228596699228
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I'm curious if this is because the funds go charge -> connected account -> application_fee -> platform account. Therefore when specifying source as the original charge there isn't the amount there?
Hey there, taking a look
Oh and in which case maybe instead what I really want is https://docs.stripe.com/api/fee_refunds/object? Which will go back to the connected account?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yea, you created the payment as a destination charge with an application fee, so the transfer to the connected account already happened, and the fee was transferred to your platform as shown here: https://docs.stripe.com/connect/destination-charges?platform=web&ui=elements#flow-of-funds-app-fee
So you cannot make another transfer with that source transaction, it has already been consumed by the automatic transfer
Yes, you can either make a fee refund or you can make a transfer without the source transaction (but that would require available balance, and likely being on manual payouts). Fee refund it probably the way to go, and you'd specify the amount to refund assuming you don't want to return the entire amount.