#iam-connect-sc&t
1 messages · Page 1 of 1 (latest)
Hi 👋
Collecting applicaiton fees with the SC&T funds flow (https://docs.stripe.com/connect/separate-charges-and-transfers) is just a matter of transferring an amount less than the amount charged.
E.g. you create a Charge for $100 and then a Transfer for $70. So you keep the $30
I am doing it this way but I am not sure if the rest is transferred to the platform.
i.e this is the payload:
stripe_payment_info = {
"amount": int(amount_to_charge),
"currency": organization.currency,
"customer": customer.id,
"payment_method": stripe_payment_method,
"application_fee_amount": int(platform_fee),
"transfer_data": {
"destination": connected_account,
# "amount": int(amount_to_transfer),
},
"transfer_group": transfer_group,
}
if I uncomment the transfer amount it gives me mutual error
The Charge is created on the Platform the funds don't transfer anywhere
what would be the best way to handle this scenario:
i.e I have charge of 180 and want to pass 60 to the platform and 120 to the connected account.
I am quite new to this so I am not sure if the transfer and paltform fee is charged properly.
Okay so one thing I think you need to understand.
- You make a Charge for 180 <- At this point all 180 are on the platform
If you want to pass 120 to the Connected Account you create the Transfer from the Platform -> Connected Account
That will leave the remaining 60 on the Platform
so it automatically transferrrs remaining to the platform?
iam-connect-sc&t
I think I get your point like if I am creating charge for 180 the platform gets all and transferring 120 will only transfer the amount to the connected account so I dont have to charge for "application_fee_amount" cause 60 is already on the platform if I am correct?
Bingo!
The way separate charges & transfers work, it's almost like the Connected account doesn't exist. The customer pays you, the platform and the funds settle on your Stripe account. The Connected Account then receives a transfer from the Platform account
It goes
Customer -> Platform -> Connected Account
Thank you! now I can do it with peace😃