#redam_api
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/1240548296104214601
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
The file content can only be access with API key, e.g. using curl as example
How would you like to download the report?
i have a nestjs backend (api), i want to retrieve the content in my code
do i have to use http or is there any sdk method available?
btw i using stripe sdk in my nestjs app to create these reports
stripe-node library doesn't provide a function to download the content. You likely need to third party library such as axios to download the report
if i were to use axios, how to pass my stripe key in the request? should i provide it in the headers?
i have another question: is it possible to run reports on specific products?
if i were to use axios, how to pass my stripe key in the request? should i provide it in the headers?
Yes. I'd recommend giving it a try in test mode
is it possible to run reports on specific products?
https://docs.stripe.com/reports/report-types/balance > I'm afraid that's not possible
I'm just wondering if there's a way to get some statistics on who purchased what during specific time ranges without having to save the actual data from stripe in my database.
I am trying to use the run reports but it didn't achieve what i want.
I'm not sure if stripe does provide the api to do what i want, so i thought i'd check with you .. i'll provide a screenshot of what i'm trying to achieve
Stripe doesn't have an API to get the statistics with given products. I'd recommend storing the information in your database and analyse from there accordingly
ok thanks