#iam-connect-sc&t

1 messages · Page 1 of 1 (latest)

weak wingBOT
warm yacht
cunning drift
#

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

warm yacht
#

The Charge is created on the Platform the funds don't transfer anywhere

cunning drift
#

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.

warm yacht
#

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

cunning drift
#

so it automatically transferrrs remaining to the platform?

warm yacht
#

No

#

The payment is on the platform to start with

weak wingBOT
#

iam-connect-sc&t

cunning drift
#

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?

warm yacht
#

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

cunning drift
#

Thank you! now I can do it with peace😃