#scene
1 messages · Page 1 of 1 (latest)
Yes, this is possible
Hi @tired cedar thanks a lot for the answer. To identify the express accounts can I just simply use the express account unique id from my backend? and then process the transfer with stripe.transfers.create() ?
Yes! Platform will collect the funds from the customer, then do a separate transfer to the express connected account
thanks for the information, is it possible to collect the fund with Stripe Checkout and automatically transfer 1 part to an express account and the other part to our Stripe account?
let's say 5% being transferred to our Stripe account and the remainding part is transferred to an express account, where the express account is a business that signed up with our web application to provide services
This can be done with Destination Charges that the funds will be transferred to the connected account automatically with platform taking the cut in application fees: https://stripe.com/docs/connect/destination-charges
To use the Destination Charge on Checkout Session, those parameters in above doc can be set inpayment_intent_data hash: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data
Ok this with the destination charge on checkout session the user still being redirected to a Stripe checkout page?
Yes!
ok great, so is similar to Stripe Checkout but the difference is that I set a destination account id which is the express account for the business listed in our web application, is this correct?
No. Only when on_behalf_of is used, then business name of connected account will be shown: https://stripe.com/docs/connect/destination-charges#settlement-merchant
Ok on this example:
we are collecting a total of 1000 and 123 will be transferred to the express account, is this correct?
application_fee_amount is for platform, so it'll be:
- Platform: 123
- Express connected account: 1000 - 123 = 877
got it, and once I receive back the response from Stripe on the constant "paymentIntent" I'll be able to do something like paymentIntent.url for the client to go to pay?
similar to session.url?
Sorry that I'm not clear. This guide https://stripe.com/docs/connect/destination-charges is for direct Payment Intent integration. You can find the same parameters under payment_intent_data in Checkout Session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data
Checkout Session will follow the same integration as https://stripe.com/docs/checkout/quickstart except for new parameters introduced above for Connect use case
No worries, I do really appreciate your help. I'll check this documentation