#leanvitale_api

1 messages · Page 1 of 1 (latest)

silver cometBOT
#

👋 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/1366724360030916722

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

potent hull
#

hi there!

#

what you shared is a regular PaymentIntent, so it's not tied to any connected account. that's why you can't use application_fee_amount.

sturdy viper
#

I want to do a Direct Charge

#

I need the money to go directly to the connected account and I need to charge a commission, then I also need that once the payment is made to the connected account, to make one or more transfers to other accounts that are affiliates. How can I do this?

potent hull
#

I want to do a Direct Charge
then you need to use the Stripe-Account header to create the PaymentIntent

sturdy viper
#

Oka, and how can I then make transfers from this connected account to other accounts?

potent hull
#

by setting application_fee_amount

sturdy viper
potent hull
#

that's normal. if you do a Direct Charge, then the customer object needs to be on the connected account, not the platform.

sturdy viper
# potent hull by setting `application_fee_amount`

Let me tell you how the flow is:
An organizer collects a sale (acct_1), our platform charges a usage fee (application_fee_amount), and then I need that from the money that "acct_1" has received, 2 transfers are made to "acct_2" and "acct_3". Is this possible?

sturdy viper
potent hull
#

Maybe this is not the flow I need to do, but should use “Destination charges”.
Destination Charges would work yes, since the customer is on the platform account.

sturdy viper
#

Oka! Thanks