Skip to content

plan_metered_prices_unwired

The plan's base-fee Price is wired but its metered Prices are not, so a subscription opened on it would invoice the base fee and never rate a single forwarded charge. Stripe puts usage on an invoice only through a subscription item whose Price carries recurring.meter (§11-billing §Rating), so new or repaired plans.stripe_metered_price_ids wiring must carry exactly the two rated-cents charge streams - rated_ai_usage_cents, rated_call_fees_cents - in STRIPE_METERED_ITEMS order before the plan sells. sms_segments and lookup_requests are retired plan keys: legacy rows may retain them temporarily, but they are ignored and create no subscription item. telephony_minutes is deliberately absent - minutes reach the invoice as pre-rated cents, and wiring the raw meter as well would bill every minute twice. Also answered when the column names an unknown non-retired stream, which would put an invoice line on the customer that no ledger row can price. Same posture as plan_not_purchasable: the Price ids are a human's dashboard action and none is invented at checkout.

Problem shape

Every non-2xx response is an RFC 9457 application/problem+json body. The type URI below is stable and machine-matchable, so branch on the final path segment (the code) and treat the status as redundant confirmation. See the error-handling guide.

{
  "type": "https://docs.vocapable.com/errors/plan_metered_prices_unwired",
  "title": "…",
  "status": 409,
  "detail": "…",
  "instance": "/v1/…"
}

← Back to the error registry