#Vijaykrishnan
1 messages · Page 1 of 1 (latest)
👋 happy to help
both work, it depends on which one you have access to
the simplest would be the PI
okay so in that case if i use reverse_transfer attribute also for the connected account will the amount be taken back from the connected account even payout is completed ?
any input here ?
direct or destination charges?
destination
const paymentIntent = await stripe.paymentIntents.create({
customer: customerID,
amount: Math.round(finalPrice * 100),
confirm:true,
currency: 'usd',
payment_method: req.body.paymentInfoRequest.paymentIntent,
payment_method_types: ['card'],
application_fee_amount: 300,
transfer_data: {
destination: customerConnectedAccount
},
}); => this is how my payment intent is created and transferred to the connected account
so my Q is once the payout is done how can i initiate refund - if i enable reverse transfer will it take from the completed payout also ?
Hey! Taking over for my colleague. Let me catch up.
sure
You need to pass the charge, and set reverse_transfer: true , you'll see this reflected in the next payout... if the first payout is sent already to the bank of the connected account...
if we use payment intent we cannot do this ? and this allows partial refund also right ?
if we use payment intent we cannot do this ?
Why ? in the PaymentIntent you have charge object https://stripe.com/docs/api/payment_intents/object#payment_intent_object-latest_charge
and this allows partial refund also right ?
Yes, check this guide for more details and options (like refund application fees):
https://stripe.com/docs/connect/destination-charges#issuing-refunds
Hi! I'm taking over my colleague. Please, let me know if you have any other questions.