#rebryk_webhook-events-analysis

1 messages ยท Page 1 of 1 (latest)

hallow dockBOT
#

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

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

sand rain
#

Hello ๐Ÿ‘‹

Unfortunately, that is not possible. We call this out in our docs

We only guarantee access to events through the Retrieve Event API for 30 days.

late owl
#

yeah, i've read it. but events are still available via dashboard

#

so i was thinkin if there is a way to export them

#

even .csv would work

sand rain
#

We do not have a way to export them

late owl
#

damn it

#

any advice on the topic?

sand rain
#

What are you attempting to do?

late owl
#

i want to export all webhook events to put into my database, because we are building BI system that works with stripe and other stores (like ApplePay)

#

we accept payments via different channels

#

analytics basically

sand rain
#

Why would you need events for that?

late owl
#

AppleStore, i am sorry

sand rain
#

You can retrieve Charges and Payment Intents for entire Account histories

late owl
#

because we need to have subscription started/canceled/renewed/etc events to analyze all stats

#

like subscription renewals

#

yes, i can do it separately for stripe, but i need all sources in a single place

sand rain
#

You can piece that together from Invoices

late owl
#

started and renewal - yes, that is a good point

#

cancellation might be available from subscription objects i guess

sand rain
#

The Subscription object includes a number of properties with information on cancellation

late owl
#

yeah, i think it might work for us. thx!

sand rain
#

cancel_at, canceled_at, cancellation_details

late owl
#

yes, you are right

sand rain
#

Of course, once you are connected to a Stripe account you can set up webhook endpoints to listen for events and build up your data going forward

#

So maybe you could offer a sort of tiered data analytics

late owl
#

yes, there is no issue with new data

#

we will collect it daily with api

sand rain
#

For history > 30 days, you have some level of analysis but for all events less than 30 days old, you offer a more fine-grained view

late owl
#

got it. thanks again!

sand rain
#

Happy to shed what ๐Ÿ’ก I can ๐Ÿ™‚