#Nidhi-Connect
1 messages · Page 1 of 1 (latest)
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?
can you send me the payment intent id?
Thanks for the ID. You should set the reverse_transfer to true to pull back the funds.
https://dashboard.stripe.com/test/logs/req_6yWJeRBDsXrIHG it seems like you didn't set it in the refund request.
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
can you send me the new Payment Intent ID?
pi_3KSzGHK2dQ4yKJXn0WDI3oW5
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. ?
we want to carryover the refund without processing fee, so how can we do that
Stripe’s fees on the original payment will not be returned in case of a refund. see https://support.stripe.com/questions/understanding-fees-for-refunded-payments
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?
There is no processing fee for the connected account in destination charge.