#asdfgh-refund-reverse-transfer
1 messages · Page 1 of 1 (latest)
I am using separate charges and transfers
But these two objects are in the same transfer group
So it'll be 2 actions: a refund and a transfer reversal
You can pass the payment_intent parameter when creating the Refund: https://stripe.com/docs/api/refunds/create#create_refund-payment_intent
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay, and is this possible to also reverse a transfer later?
Normally you can pass a reverse_transfer parameter when creating the Refund, but not when using separate charges and transfers
Yes, i've seen this, but here I need to pass transferId, but I am wondering if I can achieve this with only paymentIntentId
You can't, no. As there's no transfer associated with the Payment Intent (as you did them separately)