Migrate grandfathered account to a paid plan

POST /api/v1/billing/migrate-from-grandfathered

Create a Stripe Checkout session to move from a grandfathered plan to a paid plan.

Request Body:

  • target_plan: Plan tier to migrate to (self_directed or managed)
  • success_url: Redirect URL after successful payment
  • cancel_url: Redirect URL if checkout is canceled

Prerequisites:

  • Business must currently be on the grandfathered plan tier

Effect:

  • Creates a Stripe Checkout session
  • On payment completion, plan_tier is updated to the target plan
Operation ID: migrate_from_grandfathered_api_v1_billing_migrate_from_grandfathered_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

target_plan string required

Target plan tier: 'self_directed' or 'managed'.

success_url string required

URL to redirect after successful payment.

cancel_url string required

URL to redirect if checkout is canceled.

Responses

201 Successful Response

400 Bad Request - Invalid input

403 Forbidden - Insufficient permissions

422 Validation Error

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