title: How to get price for Stripe subscription product with volume pricing?
body: <p>How do I get the price for a subscription product in Stripe where there is volume pricing?  The <a href="https://stripe.com/docs/api/prices?lang=node" rel="nofollow noreferrer">Pricing API docs</a> are here.</p>
  <p>For example, in the Stripe dashboard I create a single subscription product priced at $10/month for the first 5 units, $5 thereafter.  So if the user enters 5 into a numeric input on a webpage then I want to display $50. If the user enters 6, I want to display $30.  I want the value from Stripe, not try and calculate it in the browser.</p>
  <p>The Stripe docs on <a href="https://stripe.com/docs/billing/subscriptions/overview" rel="nofollow noreferrer">subscriptions</a> don't seem to cover anything other than multiple tiered products, each with a fixed price.</p>
  <p>When I create the subscription I can set the quantity, but I want to display the price before the user commits to buying.</p>
  <p>Note: this question specifically relates to using the Stripe API and is not about getting the price by using a vendor product.</p>