Skip to content

Stripe: List all schedules

Stripe subscriptionSchedules.getSubscriptionSchedules: arguments, response, policy and SDK examples.

← Subscription schedules operations · Get started

Operation stripe.getsubscriptionschedules

Provider route: GET /v1/subscription_schedules. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/stripe with npm, or alter-sdk-stripe with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { StripeIntegration } from "@alter-ai/stripe";
async function execute(input: Parameters<StripeIntegration["subscriptionSchedules"]["getSubscriptionSchedules"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new StripeIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.subscriptionSchedules.getSubscriptionSchedules(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_stripe import StripeIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = StripeIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.subscription_schedules.get_subscription_schedules(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
queryobjectOptionalAdditional keys: not allowed
query.canceled_atJSONOptional
query.canceled_at (anyOf 1)objectAlternative
query.canceled_at (anyOf 1).gtintegerOptional
query.canceled_at (anyOf 1).gteintegerOptional
query.canceled_at (anyOf 1).ltintegerOptional
query.canceled_at (anyOf 1).lteintegerOptional
query.canceled_at (anyOf 2)integerAlternative
query.completed_atJSONOptional
query.completed_at (anyOf 1)objectAlternative
query.completed_at (anyOf 1).gtintegerOptional
query.completed_at (anyOf 1).gteintegerOptional
query.completed_at (anyOf 1).ltintegerOptional
query.completed_at (anyOf 1).lteintegerOptional
query.completed_at (anyOf 2)integerAlternative
query.createdJSONOptional
query.created (anyOf 1)objectAlternative
query.created (anyOf 1).gtintegerOptional
query.created (anyOf 1).gteintegerOptional
query.created (anyOf 1).ltintegerOptional
query.created (anyOf 1).lteintegerOptional
query.created (anyOf 2)integerAlternative
query.customerstringOptionalMaximum length: 5000
query.customer_accountstringOptionalMaximum length: 5000
query.ending_beforestringOptionalMaximum length: 5000
query.expandarrayOptional
query.expand[]stringEach itemMaximum length: 5000
query.limitintegerOptional
query.released_atJSONOptional
query.released_at (anyOf 1)objectAlternative
query.released_at (anyOf 1).gtintegerOptional
query.released_at (anyOf 1).gteintegerOptional
query.released_at (anyOf 1).ltintegerOptional
query.released_at (anyOf 1).lteintegerOptional
query.released_at (anyOf 2)integerAlternative
query.scheduledbooleanOptional
query.starting_afterstringOptionalMaximum length: 5000

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$objectRoot
dataarrayRequired within parent
data[]ModelEach itemExpand Cancel a schedule — response body
has_morebooleanRequired within parentTrue if this list has another page of items after this one that can be fetched.
objectstringRequired within parentString representing the object’s type. Objects of the same type share the same value. Always has the value `list`.
Known values: list
urlstringRequired within parentThe URL where this list can be accessed.
Maximum length: 5000
Pattern: ^/v1/subscription_schedules

Referenced models: Cancel a schedule — response body

706 more schemas are linked from the tables above, on the schema pages.

Cancel a schedule — response body
FieldTypePresenceDescription and constraints
$objectRootA subscription schedule allows you to create and manage the lifecycle of a subscription by predefining expected changes.

Related guide: [Subscription schedules](https://docs.stripe.com/billing/subscriptions/subscription-schedules)
applicationJSONOptional
application (anyOf 1)JSONAlternativeID of the Connect Application that created the schedule.
application (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
application (anyOf 1) (anyOf 2)ModelAlternativeExpand PostApplicationFeesIdRefund — response body — application / object: application
application (anyOf 1) (anyOf 3)ModelAlternativeExpand Accept a quote — response body — application / value / deleted: True, object: application
application (anyOf 2)nullAlternative
billing_modeModelRequired within parentExpand Cancel a schedule — response body — billing mode
canceled_atJSONOptional
canceled_at (anyOf 1)JSONAlternative
canceled_at (anyOf 1) (anyOf 1)integerAlternativeTime at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
Format: unix-time
canceled_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
canceled_at (anyOf 2)nullAlternative
completed_atJSONOptional
completed_at (anyOf 1)JSONAlternative
completed_at (anyOf 1) (anyOf 1)integerAlternativeTime at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
Format: unix-time
completed_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
completed_at (anyOf 2)nullAlternative
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
current_phaseJSONOptional
current_phase (anyOf 1)JSONAlternativeObject representing the start and end dates for the current phase of the subscription schedule, if it is `active`.
current_phase (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a schedule — response body — current phase value end date, start date
current_phase (anyOf 2)nullAlternative
customerJSONRequired within parentID of the customer who owns the subscription schedule.
customer (anyOf 1)stringAlternativeMaximum length: 5000
customer (anyOf 2)ModelAlternativeExpand Create a customer — response body
customer (anyOf 3)ModelAlternativeExpand Delete a customer — response body
customer_accountJSONOptional
customer_account (anyOf 1)stringAlternativeID of the account who owns the subscription schedule.
Maximum length: 5000
customer_account (anyOf 2)nullAlternative
default_settingsModelRequired within parentExpand Cancel a schedule — response body — default settings
end_behaviorstringRequired within parentBehavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.
Known values: cancel, none, release, renew
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
metadataJSONOptional
metadata (anyOf 1)objectAlternativeSet of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Additional keys: see wildcard field
metadata (anyOf 1).*stringAdditional keysMaximum length: 500
metadata (anyOf 2)nullAlternative
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: subscription_schedule
pause_schedulesarrayOptionalThe pause schedules for this subscription schedule.
pause_schedules[]ModelEach itemExpand Cancel a schedule — response body — pause schedules item
phasesarrayRequired within parentConfiguration for the subscription schedule's phases.
phases[]ModelEach itemExpand Cancel a schedule — response body — phases item
released_atJSONOptional
released_at (anyOf 1)JSONAlternative
released_at (anyOf 1) (anyOf 1)integerAlternativeTime at which the subscription schedule was released. Measured in seconds since the Unix epoch.
Format: unix-time
released_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
released_at (anyOf 2)nullAlternative
released_subscriptionJSONOptional
released_subscription (anyOf 1)stringAlternativeID of the subscription once managed by the subscription schedule (if it is released).
Maximum length: 5000
released_subscription (anyOf 2)nullAlternative
statusstringRequired within parentThe present status of the subscription schedule. Possible values are `not_started`, `active`, `completed`, `released`, and `canceled`. You can read more about the different states in our [behavior guide](https://docs.stripe.com/billing/subscriptions/subscription-schedules).
Known values: active, canceled, completed, not_started, released
subscriptionJSONOptional
subscription (anyOf 1)JSONAlternativeID of the subscription managed by the subscription schedule.
subscription (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
subscription (anyOf 1) (anyOf 2)ModelAlternativeExpand Pause a subscription — response body
subscription (anyOf 2)nullAlternative
test_clockJSONOptional
test_clock (anyOf 1)JSONAlternativeID of the test clock this subscription schedule belongs to.
test_clock (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
test_clock (anyOf 1) (anyOf 2)ModelAlternativeExpand Create a test clock — response body
test_clock (anyOf 2)nullAlternative

Referenced models: PostApplicationFeesIdRefund — response body — application / object: application, Create a customer — response body, Accept a quote — response body — application / value / deleted: True, object: application, Delete a customer — response body, Pause a subscription — response body, Cancel a schedule — response body — current phase value end date, start date, Cancel a schedule — response body — phases item, Cancel a schedule — response body — default settings, Cancel a schedule — response body — pause schedules item, Cancel a schedule — response body — billing mode, Create a test clock — response body

PostApplicationFeesIdRefund — response body — application / object: application
FieldTypePresenceDescription and constraints
$objectRoot
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the application.
Maximum length: 5000
name (anyOf 2)nullAlternative
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: application
Accept a quote — response body — application / value / deleted: True, object: application
FieldTypePresenceDescription and constraints
$objectRoot
deletedbooleanRequired within parentAlways true for a deleted object
Known values: True
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the application.
Maximum length: 5000
name (anyOf 2)nullAlternative
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: application

SDK function policy ID: stripe.getsubscriptionschedules. Catalog operation: GetSubscriptionSchedules. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Pinned headers: {"Stripe-Version": "2026-09-30.endive"}

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.