#kabobbob
1 messages · Page 1 of 1 (latest)
You can handle this by creating a tier with an up_to value of 1: https://stripe.com/docs/products-prices/pricing-models#adding-flat-fees
This kind of tier doesn't appear to be possible to create via the Dashboard
I'll try that
Doesn't seem to work. This post:
"billing_scheme": "tiered",
"recurring": {
"interval": "month",
"usage_type": "licensed",
"interval_count": "3"
},
"currency": "usd",
"nickname": "2024_model_api",
"tiers": {
"0": {
"flat_amount": "0",
"up_to": "1",
"unit_amount_decimal": "0"
},
"1": {
"flat_amount_decimal": "3750",
"up_to": "1000000",
"unit_amount_decimal": "0"
},
"2": {
"flat_amount_decimal": "10000",
"up_to": "inf",
"unit_amount_decimal": "0"
}
},
"product": "prod_...",
"tiers_mode": "volume"
}```
creates the following price:
For the first tier, omit flat_amount and set unit_amount to what you want the flat fee to be
Ah! I got it:
"billing_scheme": "tiered",
"recurring": {
"interval": "month",
"usage_type": "licensed",
"interval_count": "3"
},
"currency": "usd",
"nickname": "2024_tic_model_api",
"tiers": {
"0": {
"up_to": "1",
"unit_amount_decimal": "3750"
},
"1": {
"flat_amount_decimal": "3750",
"up_to": "1000000",
"unit_amount_decimal": "0"
},
"2": {
"flat_amount_decimal": "10000",
"up_to": "inf",
"unit_amount_decimal": "0"
}
},
"product": "prod_Oo2gvO5AFkUOxJ",
"tiers_mode": "volume"
}```
amazing!