#martin-dev-price-product

1 messages ยท Page 1 of 1 (latest)

golden thistle
#

Hi ๐Ÿ‘‹ I don't think you'll be able to use Search for this, due to the limitation that you mentioned. You can use our endpoint that lists all Prices, and pass in the ID of the Product as a filter:
https://stripe.com/docs/api/prices/list#list_prices-product

You could then loop through the results looking for ones that match the unit_amount you're looking for.

calm bluff
#

Okay, thank you!