#macscr - connect
1 messages ยท Page 1 of 1 (latest)
howdy
If you're a connect platform, you decide on your won application fees for payments, but for payment intents you need to set an explicit amount, not a percentage. You can implement this internally as a percent certainly, but you need to calculate the amount and send that to the API as the application_fee_amount:
https://stripe.com/docs/connect/direct-charges#collecting-fees
You can see the fund flow drawn out here:
https://stripe.com/docs/connect/direct-charges#flow-of-funds-with-fees
this is a regional US based app, so i typically do direct charges with the api and not intent. Does that make any difference? No problem doing my own calculation. It would be for a car rental app, so they would have to charge sales tax, so i would have to do that calculation as well anyway
Payment Intents is one of our APIs -- our latest payment API and what we recommend using ๐
https://stripe.com/docs/api/payment_intents/create?lang=curl
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The platform fee parameter is document here:
https://stripe.com/docs/api/payment_intents/create?lang=curl#create_payment_intent-application_fee_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.
i know what it is, i just dont really have a desire to use that type of work flow and why i use the charges api instead
Sorry, fixed my links
The same applies when using Charges: https://stripe.com/docs/api/charges/create#create_charge-application_fee_amount
awesome. so that hits both accounts stripe accounts instantly without any need to wait on payouts, etc?
The amounts will be pending while the payment settles and becomes available, but the fee transfer to your platform will be created automatically right away, yes.
understandable. Guessing connected account if they had to do a refund would be out both fees, right?
Correct. If you create the refund as the platform you can chose whether to refund your application fees:
https://stripe.com/docs/connect/direct-charges#issuing-refunds
btw, thanks for your help, i really appreciate your time and the information you have provided
NP! Happy to help you out with this ๐