#kanvil
1 messages ยท Page 1 of 1 (latest)
Hi there ๐ just to make sure I'm understanding correctly, you're looking to retrieve data to create your own custom pricing table and are trying to figure out how to pull the necessary information from the API?
Yes
We have three different membership types named "A, B, C". Pricing table for each membership type. I created the products using stripe, but I don't know how to group them and some data is not coming in the way I want.
Awesome, for the Price object, since it's a tiered price the amount information will be stored in tiers rather than amount:
https://stripe.com/docs/api/prices/object#price_object-tiers
For 1, can you clarity what yo uare referring to when you reference feature_list?
3 seems like it would largely be up to you to decide how you would like to group/structure the content on your site.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks for the amount info.
While my products are listed in the pricing table, the items in the package are written as a string. example:
Product 1
This includes:
1- aaaa
2- bbbb
3- cccc
When I say feature_list, I'm talking about these items.
It sounds like you're referring to the product features functionality that the Pricing Table provides:
https://stripe.com/docs/payments/checkout/pricing-table#product-features
The information that you provide there is stored with the Pricing Table itself, rather than on the Product objects, and it cannot be retrieved via the API.
If you would like to store additional data on Stripe objects, then I suggest taking a look at metadata as it can be used to hold additional data that is important to your flow on related Stripe objects.
https://stripe.com/docs/api/metadata
It would allow you to store your product feature details on either the Price or the Product.
Thanks for your help, I'll look into them all โ๏ธ
Any time!