#sapirasras_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/1275756425624420422
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
only this part
hi! that's not supported today unfortunately
is there a way to get all the info that there is in the modal?
is it going to be supported in the near future?
'get' it in what way/medium?
I don't know/can't comment on the roadmap for the embedded components team, I'd suggest raising the feedback for "deep-linking" to an object in a support ticket to https://support.stripe.com/?contact=true so the team can see it (my team also collects feedback but doesn't hurt)
I mean if there is an api call that gets all the data that this modal displays with the deatils of the charges, adjustments and the data that this modal displays
sure, that would be https://docs.stripe.com/api/payouts/retrieve plus https://docs.stripe.com/expand/use-cases#charges-in-payout
it also gives the data for refunds transfers and adjustments?
those are all balance_tranasctions and each transaction links to the "source" so yes you can build/see all the same information
someone on my team is actually in the process of writing some new documentation on how to work with that list of transactions for reconciliation so that will be useful when it's done
ok great! and another this is there a way to get the totals data that the payout component displays? or I need to calculate it based on payouts data?
you mostly have to calculate it, but it's a combination of looking at https://docs.stripe.com/api/balance/balance_object#balance_object-available and also listing Payouts that are in_transit and summing their amounts and so on
it's unfortunately pretty complex and is one of the reasons we made the embedded components, so each platform doesn't havve to re-implement all this logic
but can we get only the totals component without the list?
doesn't seem like it
what is the diff between “available soon” and “in transit”?
not sure, I think available soon is the sum of Payouts in status:pending and transit is the sum of Payouts in status:in_transit" . These dashboard balances have always been super opaque
Is there a way to get the definitions? 🙃
not really, I've spent years trying to help platforms re-implement all that logic without the product teams really clearly explaining where the numbers come from, nowadays embedded components lets you sidestep that. Internally those numbers from specific data sources the Dashboard teams built and not really specific API values.
wait can't you use https://docs.stripe.com/connect/supported-embedded-components/balances ?
so yeah, use that. I was wrong when I said 'no' to " can we get only the totals component without the list?". You can , use the Balance component.
ok, maybe I can use that, although it is very different from the report design we have. I wish there was a way to get only the values
that would be nice but the directon we went in was exposing the Dashboard components as embedabble, not exposing API endpoints for the data they use