#mashiro-lookup-keys
1 messages · Page 1 of 1 (latest)
Hey! lookup_key is a field on the Price object: https://stripe.com/docs/api/prices/object#price_object-lookup_key
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
There's no such field on a payment directly
I can set the lookup key value in the quick start page: https://stripe.com/docs/billing/quickstart but I cannot see the field in the product creation page: https://dashboard.stripe.com/test/products/create
I need to get a recurring product in the server side like:
prices = stripe.Price.list(
lookup_keys=["01"],
expand=['data.product']
)
I can get a product I've created in the quick start page since I set the value there, but I cannot for products in the product/create page.
So I'd like to know if there is a way to know a default (if there is such thing) lookup_key, or how to set lookup_key to an existing product.
Yeah it's a field that isn't available in the Dashboard