#zajca
1 messages · Page 1 of 1 (latest)
It is not, no. It's a recurring pricing model: https://stripe.com/docs/products-prices/pricing-models#volume-based-pricing
If you want to model that in a one-time payment, you'll need tot rack usage yourself and calculate the payment amount according to that ad-hoc
But than I need multiple prices set per one product, no?
One of my colleague, also suggest to use coupons for this.
Correct, you'd be using inline prices: https://stripe.com/docs/products-prices/pricing-models#inline-pricing
inline prices are also per subscription not for one time payments, no?
We are now have this flow:
- create invoice
- add items with priceId
- create payment intent
we not creating subscription
Nope, you can use them for one-time invoices too
Is there any docs? I can see price_data only as part of subscriptions.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.