code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.SubscriptionSchedule.list(limit=3)
  '''Response {
    "object": "list",
    "url": "/v1/subscription_schedules",
    "has_more": false,
    "data": [
      {
        "id": "sub_sched_1JuFVT2eZvKYlo2CSOQvG7P6",
        "object": "subscription_schedule",
        "application": null,
        "canceled_at": 1637053645,
        "completed_at": null,
        "created": 1636545743,
        "current_phase": null,
        "customer": "cus_8TEMHVY5moxIPI",
        "default_settings": {
          "application_fee_percent": null,
          "automatic_tax": {
            "enabled": false
          },
          "billing_cycle_anchor": "automatic",
          "billing_thresholds": null,
          "collection_method": "charge_automatically",
          "default_payment_method": null,
          "invoice_settings": null,
          "transfer_data": null
        },
        "end_behavior": "release",
        "livemode": false,
        "metadata": {},
        "phases": [
          {
            "add_invoice_items": [],
            "application_fee_percent": null,
            "billing_cycle_anchor": null,
            "billing_thresholds": null,
            "collection_method": null,
            "coupon": null,
            "default_payment_method": null,
            "default_tax_rates": [],
            "end_date": 1668685170,
            "invoice_settings": null,
            "items": [
              {
                "billing_thresholds": null,
                "price": "plan_JiX4v6L7JY0Vyt",
                "quantity": 1,
                "tax_rates": []
              }
            ],
            "metadata": {},
            "proration_behavior": "create_prorations",
            "start_date": 1637149170,
            "transfer_data": null,
            "trial_end": null
          }
        ],
        "released_at": null,
        "released_subscription": null,
        "status": "canceled",
        "subscription": null,
        "test_clock": null
      },
      {...},
      {...}
    ]
  }'''
nl: List all schedulesRetrieves the list of your subscription schedules.Parameters customer optional Only return subscription schedules for the given customer.More parametersExpand all  canceled_at optional dictionary   completed_at optional dictionary   created optional dictionary   ending_before optional   limit optional   released_at optional dictionary   scheduled optional   starting_after optional ReturnsA dictionary with a data property that contains an array of up to limit subscription schedules, starting after subscription schedule starting_after. Each entry in the array is a separate subscription schedule object. If no more subscription schedules are available, the resulting array will be empty. This request should never raise an error