#Kosta

1 messages · Page 1 of 1 (latest)

sonic coralBOT
valid bobcat
#

Hi
Once the invoice is paid, you need to create transfers to each connected Account, like:

const transfer = await stripe.transfers.create({
  amount: 2000,
  currency: 'usd',
  destination: '{{OTHER_CONNECTED_STRIPE_ACCOUNT_ID}}',
  transfer_group: 'ORDER10',
});
flint tulip
#

I'm starting to understand.
I track the payment and create the transfer.
do I need to create paymentIntents ?

$stripe->paymentIntents->create([
'amount' => 10000,
'currency' => 'USD',
'transfer_group' => 'ORDER10',
]);

#

Or "paymentIntents" is created for the integration page?

valid bobcat
#

PaymentIntent is created by the Invoice.

flint tulip
#

Is it necessary to edit "paymentIntents" by adding transfer_group to it? Or "paymentIntents" is not editable.

flint tulip
#

It's clear. Thanks a lot.