#Nidhi-Connect

1 messages · Page 1 of 1 (latest)

vernal burrow
#

Hi, is this a question about separate charge and transfer?

lucid burrow
#

Yes

#

Let me show you

#

const paymentIntent = await stripe.paymentIntents.create({
amount: 1200,
currency: 'usd',
payment_method_types: ['card'],
payment_method: paymentMethod,
transfer_data: {
amount: 800,
destination: 'acct_1KXXXXXX',
},
confirm: true
});

#

Now I want to refund the whole amount - 1200

#

const refund = await stripe.refunds.create({
payment_intent: 'pi_3KXXXXXXXXX',
reverse_transfer:true
});

I have tried this. But the whole refund amount deducted from the main stripe account.

#

Is it possible to refund 800 from this connected account and the rest from the main account?

vernal burrow
#

can you send me the payment intent id?

lucid burrow
#

sure But I have done this with Test mode.

#

pi_3KSxykK2dQ4yKJXn0aPQG8rd

vernal burrow
lucid burrow
#

OK, I have set it up and working with the destination account. But the first time it charged 2.9% from main account and now on refund, it deduct the 4$ from main account.

#

it means the charges deduct from main account on refund time

vernal burrow
#

can you send me the new Payment Intent ID?

lucid burrow
#

pi_3KSzGHK2dQ4yKJXn0WDI3oW5

vernal burrow
#

This payment is already fully-refunded, there is only a 0.65 processing fee.

what do you mean by it deduct the 4$ from main account. ?

lucid burrow
#

we want to carryover the refund without processing fee, so how can we do that

vernal burrow
lucid burrow
#

for example in our case
We have transferred 12$ and we want to carry over the refund amount which is 12$- 0.652$ (which is stripe fees ) back to customer

#

Can we deduct the processing fees from the destination account?

vernal burrow
#

There is no processing fee for the connected account in destination charge.