stripe.subscriptions.list_subscriptions ​
List Stripe subscriptions with optional filters
List subscriptions, optionally narrowed by customer, price, or status.
Acts on the CUSTOMER'S OWN Stripe account, authenticated via the org-scoped Stripe connection selected by cloud_connection_uuid.
Inputs:
- cloud_connection_uuid: Org-scoped Stripe connection (customer's own account).
- customer_id: Only this customer's subscriptions (optional).
- price_id: Only subscriptions on this price (optional).
- status: active | trialing | past_due | canceled | unpaid | all (optional).
- limit: Page size, 1-100 (default: 20) (optional).
- starting_after: Cursor: subscription id to page after (optional).
Outputs (terminal state_data):
- subscriptions: list
- total: int
- has_more: bool
Connection required: cloud_connection_uuid — the organization's own Stripe account credentials; there is no platform-key fallback.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-stripe |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
cloud_connection_uuid | uuid | Yes | — | Org-scoped Stripe connection (customer's own account) |
customer_id | string | No | — | Only this customer's subscriptions |
price_id | string | No | — | Only subscriptions on this price |
status | string | No | — | active |
limit | integer | No | — | Page size, 1-100 (default: 20) |
starting_after | string | No | — | Cursor: subscription id to page after |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
subscriptions | list | No | — | — |
total | integer | No | — | — |
has_more | boolean | No | — | — |
cloud_connection_uuid | uuid | No | — | — |
customer_id | string | No | — | — |
price_id | string | No | — | — |
status | string | No | — | — |
limit | integer | No | — | — |
starting_after | string | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
failed_layer | integer | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "stripe.subscriptions.list_subscriptions",
"initial_data": {
"cloud_connection_uuid": "value"
}
}