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_idstringrequired

Stripe Price ID for the new plan.

Responses

201Successful Response

successboolean
messagestring
codestring
dataChangePlanResponse

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject