Skip to content
Proud to collaborate with Microsoft for Startups

subscription.billing.lumen-provisioning.reconcile ​

Re-run lumen.org.set-plan for billing items whose Lumen provisioning is pending.

Retry Lumen provisioning until the Lumen plan row matches what is billed.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-subscription
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
workflow_schedule_uuiduuidNo——
scheduled_by_workflow_refstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo——
statusstringNo——
lumen_provisioningjsonNo——
workflow_schedule_uuiduuidNo——
completed_atstringNo——
failed_atstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—reconcile—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingreconcilecompleted—
* (any state)failfailed—

Business Errors ​

CodeMessage Template
BILLING_OPERATION_INPUT_ERROR

API Usage ​

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

{
  "workflow_type": "subscription.billing.lumen-provisioning.reconcile",
  "initial_data": {
    "organization_uuid": "value"
  }
}