#lucadaniele_api

1 messages ¡ Page 1 of 1 (latest)

urban hareBOT
#

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

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

mortal lodge
#

Hello

versed oyster
#

Hi

mortal lodge
versed oyster
#

Ok thanks will look at it.
if I use payment_intent_data JSON do I have to keep the second JSON containing stripeAccount property to specify that the remaining part goes to the connected account right?

urban hareBOT
mortal lodge
#

No you can remove that

#

If you set payment_intent_data.destination then a Transfer will automatically be created and funds will be sent to the Connected Account

versed oyster
#

Ok understood so application_fee_amount is the cut that I keep and then in destination field I put the ID of the connected account

mortal lodge
#

Yep

versed oyster
#

Perfect thank you very much

mortal lodge
#

np

versed oyster
#

application_fee_amount is in cents like unit_amount right?

mortal lodge
#

Yes