Confirm a Signature plan change
Revalidates permissions, signed review and current Stripe state. Upgrades apply only after successful prorated payment. Downgrades start at renewal. Changes only the persisted Signature subscription.
/api/v1/billing/saas/{productKey}/plan-changeThe source export uses a local development server. Examples use the configured Dashio API origin.
The export references authentication schemes without supplying their definitions.
Authentication
bearerAuth
Understand authenticationPath parameters
productKeystringRequiredNo parameter description supplied.
Query parameters
None declared in this export.
Header parameters
None declared in this export.
Request body
application/json · Required
spaceIdstring (uuid)RequiredNo field description supplied.
tokenstringRequiredSigned token from the preview endpoint, up to 4096 characters.
Responses
200
Plan change result.
outcomestringOptionalAllowed values: "applied", "payment_required", "scheduled".
paymentUrlstring | nullOptionalNo field description supplied.
400
Invalid request.
No response body schema supplied.
401
Authentication required.
No response body schema supplied.
403
Owner/admin required.
No response body schema supplied.
404
Product disabled.
No response body schema supplied.
409
Review expired, state changed or plan unavailable.
No response body schema supplied.
415
JSON required.
No response body schema supplied.
503
Billing unavailable.
No response body schema supplied.
Was this helpful?