#kaladin_docs
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1252639049848459325
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi there ๐
If you're using a Direct Charge structure, you set application_fee_amount when creating the Invoice:
https://docs.stripe.com/api/invoices/create#create_invoice-application_fee_amount
If you're using a Destination Charge flow, or Separate Charges and Transfers, then you use transfer_data.amount to control how much of the payment is transferred to your Connected Account when the payment is made. Leaving the rest in your Platform Account's balance.
https://docs.stripe.com/api/invoices/create#create_invoice-transfer_data-amount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ah thank you. I had been looking for the payment intent object and had completely missed the application fee on the root object ๐คฆ