#L2_Supreme - refund
1 messages ยท Page 1 of 1 (latest)
Hi there!
Can you share the request ID (req_xxx) where you see that error? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
The PaymentIntent you passed does exist, but on a different account. That's why the refund failed.
Ok, I found it in the platform account. How do I go about refunding the destination charge now though?
with this? reverse_transfer: true,
Yes, that should pull back the funds from the connected account
And I assume without the connected account ID in the header?
Correct, it is a subtle distinction but this call was made on your account and the transfers is what points to the connected account
Also hello ๐ , soma had to step out so I can help in this thread
I see, I think I got it now! Thansk for the help, were using direct charges for one product and destination for the other, thats probabyl where I got confused!
Ill try now and get back here if I run into any issues, thanks so much!
Works like a charm thanks! One additional question though, Since we do not want to refund application fees I was wondering how the refund affects fees. I can see in the connected account that the full application fee gets sent back with the reverse transfer. Our application fee covers stripe fees as well, but does that mean that we keep the original application fee and can cover stripe fees with that and will keep whatever is left afterwards?
You should be able to refund the amount minus your application fee, is the way that you are currently refunding refunding the whole thing?
It looks like the default behavior should be not refunding the application fee but that might be for something slightly different than what you are seeing here. https://site-admin.stripe.com/docs/api/refunds/create#create_refund-refund_application_fee
You are doing destination charges here correct?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes exactly, I think I have it figured out now. Default behavior, the platform account keeps the application fee, the way we want it to be. Thanks again!