Change Plan

POST /api/v1/billing/change-plan

Switch the base subscription plan to a different price.

Request Body:

  • price_id: Stripe Price ID for the new plan

Effect: The base plan line item is swapped and the proration is invoiced immediately.

Operation ID: change_plan_api_v1_billing_change_plan_post · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

price_id string required

Stripe Price ID for the new plan.

Responses

201 Successful Response

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object