Skip to content
Proud to collaborate with Microsoft for Startups

subscription.lumen.billing.change ​

Return pending support status for Lumen billing changes.

Fallback for Lumen billing changes when generic billing support is unavailable.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-subscription
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
target_plan_codestringNo——
target_usage_limitsjsonNo——
effective_atstringNo——
user_uuiduuidNo——
return_channeljsonNo——
agent_session_refstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Organization UUID.
flowstringNo—Requested billing flow.
supportedbooleanNo—Whether the flow can mutate billing today.
statusstringNo—Support status.
unsupported_reasonstringNo—Why the flow is not mutating yet.
requestedjsonNo—Caller request normalized for support handoff.
required_capabilitieslistNo—Missing model/platform capabilities.
next_actionjsonNo—UI or agent follow-up instruction.
completed_atstringNo—Completion timestamp.
target_plan_codestringNo——
target_usage_limitsjsonNo——
failed_atstringNo—Failure timestamp.
failure_reasonstringNo—Failure reason.
failure_typestringNo—Failure type.
failed_actionstringNo—Failed action.
failed_at_statestringNo—Failed state.
failed_stepstringNo—Failed step.
failed_layerstringNo—Failed layer.
errorstringNo—Error message.
error_typestringNo—Error class.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—prepare_change—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingprepare_changecompleted—
* (any state)failfailed—

Business Errors ​

CodeMessage Template
BILLING_ORGANIZATION_NOT_FOUNDOrganization {organization_uuid} not found
BILLING_AUTHORIZATION_REQUIRED

API Usage ​

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

{
  "workflow_type": "subscription.lumen.billing.change",
  "initial_data": {
    "organization_uuid": "value"
  }
}