Skip to content
Proud to collaborate with Microsoft for Startups

subscription.billing.summary ​

Summarize customer billing state and Stripe-managed billing items.

Summarize customer billing state and manageable billing items.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-subscription
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization UUID.
identity_app_uuiduuidNo—Optional identity app UUID for end-user seat summary.

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo——
stripe_customer_refstringNo——
platform_subscriptionjsonNo——
catalogjsonNo——
entitlementsjsonNo——
upcoming_invoicejsonNo——
recent_activitylistNo——
itemslistNo——
actionsjsonNo——
statusstringNo——
completed_atstringNo——
failed_atstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—summarize—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingsummarizecompleted—
* (any state)failfailed—

Business Errors ​

CodeMessage Template
BILLING_ORGANIZATION_NOT_FOUNDOrganization {organization_uuid} not found
BILLING_IDENTITY_APP_NOT_FOUNDIdentity app {identity_app_uuid} not found for organization
BILLING_AUTHORIZATION_REQUIRED

API Usage ​

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

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