#ravinder_webhooks
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/1263480377712971838
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- ravinder_webhooks, 5 hours ago, 13 messages
- ravinder_webhooks, 2 days ago, 9 messages
Hello
Hi
Your options are either to list refunds for the Charge or retreive the Charge and expand refunds: https://docs.stripe.com/api/charges/object#charge_object-refunds
can you confirm that either i use charge id or payment intent id, i will get same refund list?
If you use that ID to retreive the object and expand refunds?
Yes, refunds should always appear in reverse chronological order when provided via the API
Should be easy to test that as well
reverse chronological order means sorted by date, right?
Yes
Yes
do you it is valid user case where multiple account manager can create refund for same payment intent?
Not sure what you mean by that?
i want to make sure that i apply right refund and in correct order when get "charge.refuned"
What does "apply" mean?
apply means refund amount on website too
Okay so you are talking about how to show these refunds in your own UI?
And want to make sure they are in the right order?
nope, i also refund amount from order on refund to match it with stripe payment intent
i want to prevent race condition if multiple refund generates continuosly for same payment intent, possible by multiple stripe account user who has access to same account
Sorry, I don't understand. You can't prevent refunds from happening if triggered via the Dashboard.