#xxxxx-reverse-transfer

1 messages · Page 1 of 1 (latest)

rustic swallow
#

Hi there 👋 whichever connected account received the funds from the initial transfer that you're indicating should be reversed.

violet grove
#

then why we are passing this parameter at the time of calling the refund api , it should be called while creating paymentintent. Don't you think so?

rustic swallow
#

Sorry, I'm not following. When a Payment Intent is created, no transfer has happened so there would be nothing to reverse at that point. That parameter is there so that you can reverse the transfer associated with a payment when triggering a refund for it.

violet grove
#

why when a Payment Intent is created, no transfer has happened as while calling the paymentIntent we pass the account_id in the transfer_data parameter.

rustic swallow
#

Because when a Payment Intent is created, no funds have been brought in yet so there are no funds to transfer. Once the Payment Intent is paid, then an associated Transfer is created to the connected account that you specified.

violet grove
#

okay thanks, but if we are pulling the funds back from the connected account to cover refunds , then why we call the reverse transfer api to transfer the money back from the connected account back to the stripe balance?

rustic swallow
#

The reverse_transfer parameter is used to indicate that the transfer associated with the payment that is being refunded should be reversed to recover the funds from the connected account. If you don't use that parameter then the connected account would keep the funds from the initial transfer and the platform would pay for the refund.

violet grove
#

okay got it.