#vartan-leapfin_api

1 messages ยท Page 1 of 1 (latest)

fading spireBOT
#

๐Ÿ‘‹ 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/1338568682468675654

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

molten pond
#

Hi ๐Ÿ‘‹

So are you saying that, when you retrieve refunds from the Events list API, you don't get all the refunds you retrieve when you use the Refunds list API?

zenith pond
#

Yes

#

Request -> https://api.stripe.com/v1/events?created[gte]=1737137861&created[lte]=1737137861

Response ->
{ "object": "list", "data": [], "has_more": false, "url": "/v1/events" }

Request -> https://api.stripe.com/v1/refunds?created[gte]=1737137861&created[lte]=1737137861

Response ->
{ "object": "list", "count": 1, "data": [ { "id": "pyr_1QiK6zDptqM2bn1xw6MAysiQ", "object": "refund",

molten pond
#

That object is a Payment Refund from a Transfer between a Connect Platform and Connect Account. We do not generate refund.created webhook events for this kind of refund.

zenith pond
#

Thanks for the clarification (I don't have full transparency into the accounts / setup that's being used in Stripe by the customer).

So I assume there's no way of getting this from the Events API (as the list of events is empty regardless of event type webhook), and the proper way would be also get information from the connected account, is that assumption correct?

fading spireBOT
molten pond
#

I'm not sure what exactly you are getting refunds for but connect transfers and reversals (showing up as refunds) are very different from payment refunds.

zenith pond
#

I see, thanks!