#RON WAFFLE
1 messages ยท Page 1 of 1 (latest)
Hello ๐
I don't think there's a way to query Prices by amount
You can assign a lookup key to the prices though
https://stripe.com/docs/api/prices/list#list_prices-lookup_keys
Ah I see
assign the amount as a lookup key I guess but you'd need to make sure those are unique
yup
thank you
NP! ๐ Happy to help
How do I retrieve it using lookup_keys?
In the API docs it looks like id is required
is it prices->search([]); ?
You'd want to use the List endpoint instead
https://stripe.com/docs/api/prices/list
Ah thank you