201Successful Response
Schema: SuccessEnvelope_ChangePlanResponse_
successbooleanmessagestringcodestringdataChangePlanResponse
/api/v1/billing/change-planSwitch the base subscription plan to a different price.
Request Body:
price_id: Stripe Price ID for the new planEffect: The base plan line item is swapped and the proration is invoiced immediately.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: PlanChangeRequest
price_idstringrequiredStripe Price ID for the new plan.
Schema: SuccessEnvelope_ChangePlanResponse_
successbooleanmessagestringcodestringdataChangePlanResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject