#maverick_connect-metrics
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/1219356021831634964
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- maverick_balance-connect, 1 hour ago, 16 messages
- maverickdoge_connect-balances, 1 hour ago, 8 messages
@solid sun many ways to do this, depends on what you are really after. If your connected account is on daily Payouts then the best option is to list their Payouts in the past 30 days I'd say
maverick_connect-metrics
it actually is on daily payout
Yep, so listing the last 30 days of payouts should be a good way to do this via the API
just for the knowledge, imagine if the payout intervall changes to payout a week, what would u recommend than?
Can you tell me more about what you are trying to figure out here? You should still be able to list however many payouts you want, I guess for weekly you would mostly be deciding between displaying info for the last 4 payouts or the last 5
so in the chart, last 30 days revenue generation should be shown but if I can only get the data from 4 days of the last 30 days than it wouldn't work.
The endpoints does not list things in terms of days, it lists each payout. If payouts for an account are weekly, each payout would represent a week so four payouts would represent twenty-eight days. You can also list more than four payouts, if you iterate you can list all of an account's payouts for years in to the past.
I would highly recommend playing around with this call in test mode. I think it will clarify a lot
Its all working fine but I realized that ofcourse its not real time since payout are not instant, so if the revenue is generated today, it would take a day for the payout and and so there would be one day delay in the chart. Should I therefore use (https://docs.stripe.com/api/balance_transactions) to see all the incoming/outgoing balance that comes in for connected accounts.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
And than I would have to retrieve all transactions in the last 30 day and than for each day calculate the revenue and than send the filterd data to the client?