Create Portal Session

POST /api/v1/billing/portal

Create a Stripe Billing Portal session for subscription management.

Operation ID: create_portal_session_api_v1_billing_portal_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

return_url string required

URL to redirect after leaving the portal.

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