Skip to content
Proud to collaborate with Microsoft for Startups

subscription.end-user-seat-pack.checkout ​

Return pending support status for end-user seat-pack checkout.

Fallback for end-user seat-pack checkout when generic billing support is unavailable.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-subscription
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
identity_app_uuiduuidNo——
seat_pack_sizeintegerYes——
success_urlstringNo——
cancel_urlstringNo——
user_uuiduuidNo——
return_channeljsonNo——
agent_session_refstringNo——
idempotency_keystringNo——

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.
identity_app_uuiduuidNo——
seat_pack_sizeintegerNo——
checkout_urlstringNo——
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_checkout—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingprepare_checkoutcompleted—
* (any state)failfailed—

Business Errors ​

CodeMessage Template
BILLING_ORGANIZATION_NOT_FOUNDOrganization {organization_uuid} not found
BILLING_PENDING_FLOW_INPUT_ERROR
BILLING_AUTHORIZATION_REQUIRED

API Usage ​

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

{
  "workflow_type": "subscription.end-user-seat-pack.checkout",
  "initial_data": {
    "organization_uuid": "value",
    "seat_pack_size": 123
  }
}