Skip to content

How do I update a price in Stripe?

You can't change the amount. Once a Stripe Price exists, its currency, unit_amount, and billing interval are fixed, so Stripe's own guidance is to create a new Price, switch everything to the new ID, and archive the old one. Everything means your database, saved carts, Payment Links, which can't swap a line's price, and every existing subscription, which keeps billing the old Price until you move it.
Verified against official documentationReviewed Send a correction (opens in a new tab)

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:

JavaScript
// 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:

JavaScript
// 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:

JavaScript
// 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

  1. Archiving the old Price breaks every place that still holds its ID#

    Checkout fails with "The price specified is inactive. This field only accepts active prices." for buyers with a saved cart or an old app build.

    Archiving sets active to false, which Stripe defines as a price that can't be used for new purchases. Saved carts, cached pricing pages, mobile builds, CMS entries, and your own lookup tables keep the old ID until you rewrite them, and the first request that sends it is refused.

    Confirm it

    Search your database, config, and front end for the old price_ ID before you archive it, and watch for the inactive-price error in your checkout logs after.

    Fix

    Repoint everything first and archive last. Have pricing pages and checkout resolve the price by lookup_key, and move the key with transfer_lookup_key: true when you create the new Price, so they pick it up without a deploy.

  2. Swapping a subscription's price resets its quantity to 1#

    A customer paying for 12 seats was billed for one after the price change.

    Stripe's guide says updating a subscription item's price reverts the quantity to the default of 1 unless you send it again.

    Confirm it

    Compare each migrated subscription item's quantity against its value before the change.

    Fix

    Send the item's current quantity with the new price in the same update.

  3. Leaving out the item ID bills both prices#

    The next invoice charged $28 and $30 for the same plan.

    When a subscription update sends a new price without the existing subscription item's id, Stripe adds it as a second item, so both prices stay active on the subscription.

    Confirm it

    List migrated subscriptions with more than one item for the same product.

    Fix

    Always pass items[0][id] with the new items[0][price].

  4. A mid-period price increase adds a proration nobody expected#

    Subscribers' next invoice was larger than the new price: it also carried a charge for the rest of the old period.

    The default proration_behavior is create_prorations. Changing the price mid-period creates a credit for unused time at the old price and a debit at the new price, and they land on the next invoice next to the full new period.

    Confirm it

    Look for invoice lines with proration: true on the first invoice after the change.

    Fix

    For a price increase that starts next period, send proration_behavior: "none". Customers then pay the full new amount on the next invoice and nothing for the current one.

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
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):

JSON
{
  "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 soldAfter the price change
New orders and checkout sessionsCharge the new price. Flint copies it onto the order line.
Payment linksThe same link and URL charge the new price from the next checkout it starts.
A checkout already in progress, or an open orderKeeps the price the buyer started with, so no total moves under them.
Shop cartsThe 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 refundsKeep what the buyer was charged.
Subscription plans and subscriptionsKeep 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
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
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
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):

JSON
{
  "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_startsWhat the subscriber paysClosest Stripe setting
next_renewalNothing now; the new price from the next renewal.proration_behavior: "none"
period_endNothing now; the current terms stay until the next charged renewal, then the new terms frozen when you scheduled it.A subscription schedule phase
prorated_nowThe difference for the rest of the period, charged now; billing dates stay.proration_behavior: "always_invoice"
nowA 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 PricesFlint catalog and plans
Change a product's priceCreate a new Price, repoint every ID, archive the old onePATCH the variant's unit_price_money
IDs your code storesChange with every new priceVariant ID and SKU stay the same
Payment linksNew link and URL; the old one is deactivatedSame link, new price at the next checkout
Saved carts holding the old priceRefused once the old Price is archivedShop carts show the new price and say so once
Price for new subscribersA new Price ID in your signup codeReplace the plan's line items; same plan ID
Existing subscribersUpdate each item with its id, new price, and quantitychange-plan to the same plan; quantities carry over
Start the new price next periodproration_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.