#khaled_sct-refunds
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1237032052403077152
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ sorry, but I'm not quite sure I'm grasping the charge flow you're describing. Can you elaborate on that a bit more, or do you have example objects from your testing that you can share with me so I can take a closer look at those?
It sounds like you may be talking about a Separate Charges and Transfers flow, but I'd like to make sure we're aligned.
for example in test mode
I did this payment "pi_3PDPQzJNbtjSGjJZ1MNdpOpD"
then I transfered this payment by the transfer group to the connect account look at this charge "py_1PDPROR0aOjwBYR2vUeA9HQd" and this transfer "tr_1PDPROJNbtjSGjJZYteuaLu8"
So if i want to refund this payment what should I do
Yup, this looks like a Separate Charges and Transfers flow, so instructions for performing a refund are here:
https://docs.stripe.com/connect/separate-charges-and-transfers?platform=react-native#issue-refunds
and the section under that has instructions for reversing the Transfer, if that's something you'd also like to do as part of this flow.
khaled_sct-refunds
So you mean I will refund this py_1PDPROR0aOjwBYR2vUeA9HQd not pi_3PDPQzJNbtjSGjJZ1MNdpOpD?
Nope
You refund the Payment Intent that was created by your Checkout Session. If you want to reverse the Transfer too, then you make another request to do so by providing the ID of the Transfer object:
https://docs.stripe.com/api/transfer_reversals/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I got you thanks
Any time!