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.
Authentication
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Request body
Schema: PlanChangeRequest
-
price_idstring required -
Stripe Price ID for the new plan.
Responses
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-