#gabor-hiya_best-practices
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/1458813024360992859
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
Hey soma
can you clarify what you mean by "event ingestion"? are you talking about the default_aggregation? https://docs.stripe.com/api/billing/meter/create
got it. the default_aggregation can't be changed once the Meter is created. so if you want to use a different value, then you would need to create a brand new Meter.
Yeah I suspected. Is there a recommended approach to do this? For examle if I create a new meter, can I attach it to existing prices/products? Theoretically all I need to do is submit new meter events to this new meter id?
Even if these prices are already assigned to active subscriptions?
hum... the Price has a meter property, but it can't be updated. so you'll also need new Price obejcts
Is there any way to query the submitted values per stripe customer per day so that we can pre-check if data has been added or not for a given day?
we have this: https://docs.stripe.com/api/billing/meter-event-summary