#barrelmaker_best-practices

1 messages ¡ Page 1 of 1 (latest)

echo juniperBOT
#

👋 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/1318977485517623306

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

brazen fulcrum
#

Hello
We don't have a specific API for this.
Have you looked into Reporting to see if any of the reports meet your usecase?

opal orbit
#

I looked but there doesnt seem to be anywhere that i can just check "Product A has generated $X"

brazen fulcrum
#

Are these one-time products or subscriptions?

opal orbit
#

for both one-time + subscriptions, essentially a total sum of revenue, and not just MRR

brazen fulcrum
#

I believe the doc I shared above should let you look at both

opal orbit
#

but i am not able to get his via the API? i want to generate the total sum and display it on my platform, and not require customers to go to their Stripe account. We use Stripe Connect as well

brazen fulcrum
#

There's no single API for this unfortunately, no.

opal orbit
#

ok interesting, very surprised there is no way to query payment intents by product or price id, but ty!

brazen fulcrum
#

PaymentIntents are lower level objects and don't directly associate with Product or Price objects.

Depending on how you accept payments, Either Checkout Sessions or Invoice/Subscription object can be the bridge between PaymentIntents and Product/Prices