Skip to content
Proud to collaborate with Microsoft for Startups

subscription.billing.lumen-plan-downgrade.cancel ​

Cancel a scheduled Lumen plan downgrade before it applies.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-subscription
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cancel_reasonstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo——
item_codestringNo——
canceled_downgradejsonNo——
workflow_schedule_uuiduuidNo——
workflow_schedule_deactivatedbooleanNo——
statusstringNo——
canceled_atstringNo——
completed_atstringNo——
failed_atstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—cancel—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingcancelcompleted—
* (any state)failfailed—

Business Errors ​

CodeMessage Template
BILLING_AUTHORIZATION_REQUIRED
BILLING_OPERATION_INPUT_ERROR

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "subscription.billing.lumen-plan-downgrade.cancel",
  "initial_data": {
    "organization_uuid": "value"
  }
}