#dooms4973
1 messages · Page 1 of 1 (latest)
Hello! If you want to create multiple fees/transfers for a single payment you'd look at separate transfers: https://stripe.com/docs/connect/separate-charges-and-transfers
thx for your answer , can i do this with a checkout session ?
Sure, you'd just create the session/payment as normal (minus the application_fee_amount parameter) and then create the required transfers after the session is complete
ok thx a lot again , i have trouble to understand this , so if i create a payment with checkout and application fee , amount = 1000 + fee , application_fee = 2% , on_behalf=providerAccount , so the client pay 1020 euros , my application get 20 euros fee for this payment and the provider get 1000 , and now when the payment is succeed using a webhook "payment_succeed" , i create a charge of 2% of 1000 for the provider and i my platform get 20euros fee .
i understant thx again