#numan_code
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/1313413996128243732
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there, I'm not familar with reporting. What do you mean by "Expansion and Contractions" ?
I am tring to calculate the MRR and this is the DOC link where explain how i can calculate
https://support.stripe.com/questions/understanding-monthly-recurring-revenue-(mrr)
but i am not not able to calculate these two point Expansion and Contractions
can you please help me how i can get the subscription that is downgraded or upgraded?
I don't have the insight about how the formula, but if you visit your Stripe Dashboard at https://dashboard.stripe.com/billing/revenue , you''ll find your MRR report
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Yes but i need to calculate on my side
so that's why i am asking if any api or anything i can do for this please let me know
I'm afraid that I don't have any information about MRR calculation. You might want to ask support https://support.stripe.com/contact/ and see if they have a better answer.
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Have iyou know how i can get the upgraded or downgraded subscriptions ?
You can listen to customer.subscription.updated event and check its items[price] in the previous_attributes hash. So that you can compare the current price and the previous price to determine if it's a upgrade or downgrade
yeah i know this but how i cn get previously user who already upgraded or downgraded his subscriptions
Any api or method i can get ?
You can use the event API to retrieve past events up to 30 days https://docs.stripe.com/api/events/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
can we gets events more then 30 days ?
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Events within the last 30 days will be fully visible via the API and Dashboard.
Basically i want to get all those events that are upgraded or downgraded regardless of time limit.