The short answer on Flint
On Flint a price is a field, not a record. Send a new unit_price_money on the product variant and the change is done: the variant keeps its ID and SKU, so your code, carts, and payment links never point at a dead price. New orders, checkouts, and payment link visits charge the new price. A buyer already in checkout keeps the price they started with, and a shop cart tells the buyer once that it changed. For subscriptions, update the plan for new signups, then move existing subscribers with one call each and pick when the new price starts. The Flint requests are below.
Why a Stripe price can't be edited
A Stripe Price is an amount, a currency, and for subscriptions an interval, attached to a Product. After you create it, the API won't change its currency, unit_amount, or recurring settings. Updating a price accepts only active, metadata, nickname, lookup_key, currency_options, and tax_behavior (once, while it is unspecified). Stripe deletes only prices that were never used, and only from the Dashboard; anything that sold is archived instead, so the record of past payments stays intact.
So "update a price" on Stripe is a migration: a new Price ID, and every place that stored the old one moved over to it.
How to change a price on Stripe, step by step
Create the new Price on the same Product. If your pricing page reads prices by lookup_key, move the key in the same call so it shows the new amount without a deploy. Then rewrite your own stored copies of the old ID:
// 1. Create the new Price and move the lookup key your pages read
const newPrice = await stripe.prices.create({
product: "prod_CrewTee",
unit_amount: 3000,
currency: "usd",
lookup_key: "crew_tee_standard",
transfer_lookup_key: true,
});
// 2. Make it the product's default price
await stripe.products.update("prod_CrewTee", { default_price: newPrice.id });
// 3. Rewrite every stored copy of the old ID: your catalog table,
// saved carts, CMS entries, and app config
await db.catalog.updateMany({
where: { stripePriceId: oldPriceId },
data: { stripePriceId: newPrice.id },
});
Payment Links come next. An existing link's line items take a quantity but not a price, so the new price needs a new link and a new URL:
// 4. A Payment Link can't swap its price: make a new link
const link = await stripe.paymentLinks.create({
line_items: [{ price: newPrice.id, quantity: 1 }],
});
await stripe.paymentLinks.update(oldLinkId, {
active: false,
inactive_message: `This item has moved: ${link.url}`,
});
// Then replace the old URL in every email, page, and QR code
Existing subscriptions keep billing the old Price, archived or not, until you move them. Find them with the price filter and update each item. Send the item's id and quantity with the new price, and choose a proration_behavior. Archive last, once nothing points at the old IDs:
// 5. Move each existing subscription to the new Price
for await (const sub of stripe.subscriptions.list({ price: oldMonthlyPriceId })) {
const item = sub.items.data.find((i) => i.price.id === oldMonthlyPriceId);
await stripe.subscriptions.update(sub.id, {
items: [{ id: item.id, price: newMonthlyPriceId, quantity: item.quantity }],
proration_behavior: "none", // the new amount starts next period
});
}
// 6. Only now archive the old Prices
await stripe.prices.update(oldPriceId, { active: false });
await stripe.prices.update(oldMonthlyPriceId, { active: false });
proration_behavior decides what subscribers pay for the change: create_prorations (the default) adds a credit and a charge for the rest of the period to the next invoice, always_invoice bills that difference at once, and none charges the full new amount from the next invoice. Tell subscribers before the first higher charge.
Where a Stripe price change goes wrong
The inactive-price error is reported by Stripe integrations in the wild, such as this issue on a Stripe Firebase extension, where a synced catalog kept offering an archived price at checkout.
On Flint, you change the price, not the ID
A Flint product has variants, and each variant carries its own unit_price_money, SKU, and stock. Changing the price is one request:
curl -X PATCH https://api.withflintpay.com/v1/products/prod_1kmn0aExample/variants/var_1kmn0aExample \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"unit_price_money": { "amount": 3000, "currency": "USD" },
"expected_version": 3
}'
expected_version is optional; send it to reject the write if someone changed the variant since you read it. The response is the same variant at its new price (abridged):
{
"data": {
"variant_id": "var_1kmn0aExample",
"product_id": "prod_1kmn0aExample",
"name": "M / Black",
"sku": "TEE-M-BLK",
"unit_price_money": { "amount": 3000, "currency": "USD" },
"compare_at_price_money": null,
"version": 4
}
}
To run a sale instead, lower unit_price_money and set compare_at_price_money to the old price in the same request. Flint shops show it as the "was" price, and your own pages read it from the variant. Clear it with null when the sale ends. Each change sends a product_variant.updated webhook.
What picks up the new price
| Where the variant is sold | After the price change |
|---|
| New orders and checkout sessions | Charge the new price. Flint copies it onto the order line. |
| Payment links | The same link and URL charge the new price from the next checkout it starts. |
| A checkout already in progress, or an open order | Keeps the price the buyer started with, so no total moves under them. |
| Shop carts | The cart shows the new price and tells the buyer once, for example "Crew tee is now $30.00 (was $28.00)." |
| Paid orders, receipts, and refunds | Keep what the buyer was charged. |
| Subscription plans and subscriptions | Keep their recorded prices until you change them, below. |
Raise a subscription price for new and existing subscribers
Subscriptions are priced from a plan, and each subscription records the plan's prices when it starts, so a subscriber never pays an amount you didn't move them to. Raising a price is two steps. First, change the plan's price for new subscribers by replacing its line items. Keep the line's subscription_plan_line_item_id and send the new amount:
curl -X PATCH https://api.withflintpay.com/v1/subscription-plans/plan_1kmn0aExample \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"expected_version": 2,
"line_items": [
{
"subscription_plan_line_item_id": "spli_1kmn0aExample",
"type": "custom",
"name": "Pro",
"unit_price_money": { "amount": 2500, "currency": "USD" }
}
]
}'
Everyone who signs up from now on, through checkout, a payment link, or the API, pays $25. The plan ID doesn't change, so your pricing page and links stay as they are.
Then move existing subscribers. List the subscriptions on the plan, paging with page_token:
curl -G https://api.withflintpay.com/v1/subscriptions \
-H "Authorization: Bearer YOUR_API_KEY" \
-d subscription_plan_id=plan_1kmn0aExample \
-d status=active -d status=trialing -d status=past_due -d status=paused \
-d page_size=100
For each one, call change-plan with the subscription's own plan. Flint replaces its lines with the plan's current prices, keeps the quantity, and applies the timing you choose:
curl -X POST https://api.withflintpay.com/v1/subscriptions/sub_1kmn0aExample/change-plan \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: reprice-sub_1kmn0aExample-2027" \
-H "Content-Type: application/json" \
-d '{
"subscription_plan_id": "plan_1kmn0aExample",
"billing_starts": "next_renewal"
}'
With next_renewal, nothing is charged now and the next renewal bills the new price (abridged):
{
"data": {
"billing_starts": "next_renewal",
"subscription": {
"subscription_id": "sub_1kmn0aExample",
"subscription_plan_id": "plan_1kmn0aExample",
"status": "active",
"recurring_subtotal_money": { "amount": 2500, "currency": "USD" },
"next_billing_at": "2027-01-14T00:00:00Z",
"scheduled_plan_change": null
},
"order": null,
"order_payment_attempt": null
}
}
Flint protects subscribers from a last-minute surprise: a next_renewal or period_end price change requested within 3 days of a renewal (30 days for yearly billing) waits for the following renewal. The response then reports billing_starts: "period_end" and the date in scheduled_plan_change.effective_at, and Flint sends subscription.plan_change_scheduled. Flint doesn't email subscribers about the change, so send your own notice; a plan change preview gives the amount to put in it.
Pick when the new price starts
billing_starts | What the subscriber pays | Closest Stripe setting |
|---|
next_renewal | Nothing now; the new price from the next renewal. | proration_behavior: "none" |
period_end | Nothing now; the current terms stay until the next charged renewal, then the new terms frozen when you scheduled it. | A subscription schedule phase |
prorated_now | The difference for the rest of the period, charged now; billing dates stay. | proration_behavior: "always_invoice" |
now | A new full period at the new price now, less credit for unused time. | Resetting the billing cycle anchor |
A now or prorated_now change applies only if the payment succeeds; a declined card leaves the subscription exactly as it was. The plan changes and proration guide works through all four on one example.
Who Flint is built for
US businesses selling online or in their own app, paid in USD, that want the catalog, orders, checkout, payment links, and subscriptions behind one API instead of a payment API plus the migration scripts above. Flint runs payments on your own Stripe account if you connect one, or on an account Flint sets up for you. See Flint for online stores.
Changing a price on Stripe and on Flint
| Stripe Prices | Flint catalog and plans |
|---|
| Change a product's price | Create a new Price, repoint every ID, archive the old one | PATCH the variant's unit_price_money |
| IDs your code stores | Change with every new price | Variant ID and SKU stay the same |
| Payment links | New link and URL; the old one is deactivated | Same link, new price at the next checkout |
| Saved carts holding the old price | Refused once the old Price is archived | Shop carts show the new price and say so once |
| Price for new subscribers | A new Price ID in your signup code | Replace the plan's line items; same plan ID |
| Existing subscribers | Update each item with its id, new price, and quantity | change-plan to the same plan; quantities carry over |
| Start the new price next period | proration_behavior: "none" | billing_starts: "next_renewal", with a built-in notice window |
Questions, answered
Can you edit a price in Stripe?
Not its amount. After a Price is created, its currency, unit_amount, and recurring interval can't be changed. You can update active, metadata, nickname, lookup_key, currency_options, and tax_behavior (only while it is unspecified). To charge a different amount, create a new Price and switch to its ID.
What happens when you archive a price in Stripe?
It can't be used for new purchases, so a Checkout Session or subscription that sends its ID is refused. Existing subscriptions on that price keep billing it until they're canceled or moved, and Stripe's guide says existing Payment Links that use the product are deactivated. You can unarchive it by setting active back to true.
Can I delete a Stripe price?
Only if it has never been used, and only in the Dashboard; the API can't delete prices. A used price can only be archived, and Stripe keeps it for historical transactions.
How do I raise prices for existing subscribers on Stripe?
List the subscriptions that contain the old price with the price filter, then update each one with the subscription item's id, the new price, and its current quantity. Send proration_behavior none if the new price should start next period. Tell customers before the first higher charge.
How do I change a price on Flint?
Send the new unit_price_money in PATCH /v1/products/{product_id}/variants/{variant_id}. The variant keeps its ID and SKU, so nothing else needs repointing: new orders, checkouts, and payment link visits charge the new price, and orders and checkouts that already started keep theirs.
Does changing a Flint price change what existing subscribers pay?
No. A subscription keeps the prices it signed up with. Update the plan's price for new subscribers, then call POST /v1/subscriptions/{subscription_id}/change-plan with the subscription's own plan to move it to the current price, choosing whether the change bills now, prorated, at the next renewal, or at period end.
My Flint plan sells a catalog variant. How does it pick up the variant's new price?
A plan records the variant's price when the line is added, so a later variant price change doesn't reach existing plans. Replace the plan's line items and send that variant's line without its subscription_plan_line_item_id; the new line takes the variant's current price. Then move existing subscribers with change-plan.
Does Flint email subscribers about a price change?
No. Flint sends no plan change email, so tell subscribers before the new price takes effect. A plan change preview gives the amount, and the subscription.plan_change_scheduled webhook tells you when a deferred change is scheduled. A change at the next renewal that falls within 3 days of it (30 days for yearly plans) waits one more renewal.
Do I need my own Stripe account to use Flint?
No. Flint runs payments on your own Stripe account if you connect one, or on an account Flint sets up for you. Either way the catalog, orders, checkout, and subscriptions are Flint's, so a price change is one field.
Sources
All sources accessed December 2, 2026.