# Spend caps, add-on refunds and plan changes that no longer collide

16 November 2026. Billing changes made at the same moment no longer undo or double each other, and account deletion and promotion code checks follow tighter rules.

## Improved

- **Coupons:** The public promotion code check, GET /api/v1/public/:orgId/promotions/:code, now remembers a code Stripe does not know for two minutes. Checks that reach your Stripe account are capped at 120 a minute per organization, and past that the route answers 429 with Retry-After. So guesses from many addresses can no longer find your unpublished codes or use up the Stripe requests your checkouts need. A code someone tried just before you created it can read as invalid for up to two minutes.

## Fixed

- **Billing:** Two changes to one quota's spend cap made at once no longer undo each other. Before, both answered 200 and the later one wrote over the earlier, so a cap of 0 could come back as the old cap, or a cap on a project's share could vanish. A change that keeps colliding answers 409 SPEND_CAP_CONFLICT with nothing saved, and is safe to send again. This covers PATCH /api/v1/public/workspaces/:workspaceId/quotas/:slug and PATCH /api/v1/public/me/quotas/:slug.
- **Users:** Behaviour change: with Deleting a workspace or a person holding paid add-ons set to Refuses the delete, deleting a person's account is now also refused while a workspace they created holds paid add-ons or credits, since it would go with them. The request answers 409 with reason owns_workspaces and names those workspaces. GET /api/v1/public/me/deletion now answers blocked for that person and lists the workspaces in a new workspaces field, so a confirmation that only warns can show what they lose too.
- **Billing:** When one customer pays for two workspaces whose checkouts were open at the same time, overage on a quota both plans bill is now charged once. Before, both subscriptions billed it, so the payer paid twice for every unit over.
- **Billing:** A usage report or retry queued before a plan change no longer puts the old plan's overage items back on the subscription. Before, it replaced the new plan's items and dropped the usage already recorded on them.
- **Billing:** A seat recount that waited on a plan change no longer adds the old plan's seat price back. Before, a workspace moved to a plan without seat pricing could be billed for seats, with prorations, until its next plan change.
- **Billing:** Choosing the free plan with select-free-plan while a paid checkout is completing now answers 409 CHECKOUT_IN_FLIGHT, for a workspace or a person. Before, the paid subscription could be rewritten to Free while Stripe went on billing it, or a second live subscription could be made.
- **Billing:** Cleaning up a workspace's duplicate subscriptions now keeps the paid one Stripe bills over a Free one changed later. Before, the paid one was closed while Stripe went on charging for it. A checkout that moves a workspace to a new payer now cancels only that workspace's duplicates on the previous payer, not their subscriptions for other workspaces, which were refunded and cancelled. A late completion of a checkout that was already cancelled no longer moves the workspace off its live subscription.
- **Workspaces:** Deleting a workspace now expires the Stripe Checkout sessions still open for it. Before, someone could pay one afterwards and start a subscription, credit pack or add-on for a workspace that no longer exists, billed every period with nowhere to cancel it. The delete also now sees a subscription a checkout wrote moments earlier.
- **Billing:** Resuming a paused subscription just after Stripe ended the pause on its scheduled date no longer bills a second period. Before, a resume sent before BuildBase heard from Stripe moved the billing date to that moment.
- **Add-ons:** A refund or dispute of a one-time or lifetime add-on that has since been upgraded now reaches the upgraded add-on. Where it would have ended the original, the upgrade ends too, and a won dispute gives it back. Before, the holder kept the newer version for nothing, and a later upgrade credited the refunded payment again.
- **Add-ons:** Two refunds of the same invoice's add-on lines, started at once from two dialogs or by two people, no longer both pay out. Refunds on one subscription now run one at a time, and one that cannot wait its turn answers 409 SUBSCRIPTION_BUSY with nothing refunded. When a refund goes through but removing the add-on after it fails, the Refund dialog now says the add-on was not removed, instead of reporting the refund as failed.
- **Add-ons:** Cancelling units that a decrease already set to stop at the period end now answers 409 already_removing and names the add-on to cancel instead. Before, it answered removed while the add-on went on billing for the units left.
- **Credits:** A period's plan credits, or an upgrade's, are no longer lost when their grant runs twice at once, such as a retry beside its scheduled run. Before, the second run expired the credits the first had just given. A credit bucket's status also now matches what it holds when credits are spent and returned at the same moment. Before, a bucket could stay active with 0 left, or read consumed with credits in it that could then never be spent, expired or refunded.
- **Entitlements:** When a workspace gets a plan through checkout, a switch to Free, a comp, a trial started during onboarding or an assignment by your team, its features and limits now include what its add-ons and other grants add. Before, they showed the plan alone until its grants next changed, and so did the webhook payloads that carry them.
- **Plan versions:** Publishing a pricing group version now puts the new version on sale before the old one turns legacy. Before, the group could have no current version for a moment, or for good if the publish failed, and its public pricing answered 404 meanwhile. A retry of that failed publish also left every subscriber on the old version. Unarchiving a plan version draft while the plan has another draft now answers 400 and says to publish or delete that draft first, as creating a second draft does.
- **Console:** The plan version editor now accepts -1, unlimited, as a quota's included amount. Before, it answered Included must be 0 or greater, so a draft made from a version with an unlimited quota could not be saved or published.
- **Security:** Metadata sent with a checkout can no longer set the markers BuildBase reads when a subscription ends. Those keys are now dropped, as other reserved keys already were. Before, a customer could set them to skip the usual close of a subscription and the hold that follows non-payment.
- **Tracking:** The items of a completed checkout, which the SDK sends with a purchase to your analytics tags, now carry the right unit price in currencies without cents, such as JPY, or with three decimals, such as KWD. Before, a JPY item read a hundredth of its price and a KWD item ten times it.

Source: https://www.buildbase.app/changelog/spend-caps-add-on-refunds-and-plan-changes-that-no-longer-collide
