subscription.lumen.billing.change ​
Return pending support status for Lumen billing changes.
Fallback for Lumen billing changes when generic billing support is unavailable.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-subscription |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
target_plan_code | string | No | — | — |
target_usage_limits | json | No | — | — |
effective_at | string | No | — | — |
user_uuid | uuid | No | — | — |
return_channel | json | No | — | — |
agent_session_ref | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | No | — | Organization UUID. |
flow | string | No | — | Requested billing flow. |
supported | boolean | No | — | Whether the flow can mutate billing today. |
status | string | No | — | Support status. |
unsupported_reason | string | No | — | Why the flow is not mutating yet. |
requested | json | No | — | Caller request normalized for support handoff. |
required_capabilities | list | No | — | Missing model/platform capabilities. |
next_action | json | No | — | UI or agent follow-up instruction. |
completed_at | string | No | — | Completion timestamp. |
target_plan_code | string | No | — | — |
target_usage_limits | json | No | — | — |
failed_at | string | No | — | Failure timestamp. |
failure_reason | string | No | — | Failure reason. |
failure_type | string | No | — | Failure type. |
failed_action | string | No | — | Failed action. |
failed_at_state | string | No | — | Failed state. |
failed_step | string | No | — | Failed step. |
failed_layer | string | No | — | Failed layer. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | prepare_change | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | prepare_change | completed | — |
* (any state) | fail | failed | — |
Business Errors ​
| Code | Message Template |
|---|---|
BILLING_ORGANIZATION_NOT_FOUND | Organization {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"
}
}