#emilycheyne - express accounts

1 messages · Page 1 of 1 (latest)

fast silo
bleak marsh
#

sorry, I should also mention the transfer has source_transaction

fast silo
#

Are you using source_transaction with separate charges and transfer?

bleak marsh
#

yes, sorry it's just missing

#

I pull it from essentially paymentIntent.charges.data[0].id

fast silo
#

In which case the error does indicate that the currencies need to match, there

#

You may want to use a destination charge for this instead, which can handle the transfer for you

bleak marsh
#

ah I see, so that will work even if the default currency for the account is USD, but the payment intent is in CAD?

#

and can there be multiple destinations? we have to do three transfers. the example I see is:

const paymentIntent = await stripe.paymentIntents.create({
  payment_method_types: ['card'],
  amount: 1000,
  currency: 'usd',
  transfer_data: {
    destination: '{{CONNECTED_STRIPE_ACCOUNT_ID}}',
  },
});
fast silo
#

for the first quesiton, yes thats handle and currency management in explained here:

#

but no you cannot specify multiple destinations, to send transfers to multiple accounts you need to use those manual transfers

bleak marsh
#

okay, I see. The situation I was trying to avoid though was the transfers happening before the money is there. Is there a way to avoid this with payment intents?

#

and if we use the manual transfers will we technically end up paying stripe transaction fees twice; once on the initial payment intent and then again on subsequent transfers?

fast silo