#Kosta
1 messages · Page 1 of 1 (latest)
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',
});
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?
PaymentIntent is created by the Invoice.
Is it necessary to edit "paymentIntents" by adding transfer_group to it? Or "paymentIntents" is not editable.
It's not mandatory, you can make transfer without transfer_group:
https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options:~:text=You can also make a transfer with neither an associated charge nor a transfer_group—for example%2C when you must pay a provider but there’s no associated customer payment.
It's clear. Thanks a lot.