#bmizerany1234
1 messages · Page 1 of 1 (latest)
Hi 👋
No we do not currently have an API to generate Pricing Table template code. https://stripe.com/docs/payments/checkout/pricing-table
I really only need a list of table IDs
but generating them would be really nice by API, but 100% get that is not possible today
We have no APIs that pertain to pricing tables
I could understand a use case like if you were using an Injectable pricing table in dynamic template
Can I get pricing table IDs from the dashboard within a stripe UI ext?
But API access to this data was not part of the design.
I'm not sure what you mean by "stripe UI ext"
A Stripe App installed in the sidebar
The names given to "apps" is confusing to me sorry
Stripe Apps rely on the same public APIs so I doubt it. But that would be up to an app developer ultimately.
Interesting. How does the app know what the customer ID is for the currently viewed customer deatil page?
The context of the page you are on is injected into the App
I got the hello world running yesterday and I was able to see the customer ID for the customer in the detail
Ah cool. Is there a context for pricing tables, one with the ID?
I literally only need the ID
Here are all the available viewports (which is what determines app context) : https://stripe.com/docs/stripe-apps/reference/viewports
But we don't have a screen for pricing tables in the Dashboard like we do for a customer page so I doubt that is available.