#Cheqo
1 messages ยท Page 1 of 1 (latest)
Hi ๐
If you are making direct charges then the Connect Account will retain the Customer Total - your Application fee
We describe the funds flow here: https://stripe.com/docs/connect/direct-charges#flow-of-funds-with-fees
Hi, retain? so its not transfered to my own account?
Sorry, my mistake. It's transferred to your account
Which the Funds Flow diagram illustrates
here is what I want:
But that is not how funds flow with Direct Charges
So I want to find out whatever was deducted from stripe and return it
That will be in the Balance Transaction related to the Charge on the Connected Account
So you retrive the Charge once it's completed and get the Balance Transaction from the Charge: https://stripe.com/docs/api/charges/object#charge_object-balance_transaction
Then In the Balance Transaction you can see the fee and fee_details: https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-fee
so, I expand the balance_transaction then simply check the fee value?
and then do a transfer with that amount?
You will likely want to check the fee_details
Because fee will include both Stripe and Application fees and any taxes
But fee_details will break out each one
I see, so its array of objects and I need to find the one which fee_details = "stripe_fee"?
Yes
And then in the final step I would be doing "Creating separate charges and transfers"
so this payment is direct charge
Yes, you can simply transfer the Stripe fee amount to the Connected Account
Awesome, so to add on. Theoretically, I can put my application fee as full charge amount (stripe fees excluded) and then hold on to these funds until lets say my stripe connect account delivers a service or a product, and once fulfilled I can simply transfer the products full cost ($100)?
At that point you're basically doing a Separate Charge & Transfers funds flow so using that approach would make more sense
In that situation the Platform is assessed the Stripe fees anyway so you wouldn't need to go through the hassle of tracking down those fees and transferring them. You could just transfer the full price for the product/service
Yes, it seems like it would make more sense, but I would be responsible for any type of fraud that the connected account were to do?
Yes in that case
so just to clarify one thing, in case of a refund, it has to be full amount or the amount after stripe fees?
Let's say on your first sale, you could go into negative balance
The refund will be for the full amount charged. Yes you can go negative
Ok thats clear.
Thanks a lot for this info