code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.SubscriptionItem.list(
    subscription="sub_1JbiLB2eZvKYlo2CNHnqfMzf",
  )
  '''Response {
    "object": "list",
    "url": "/v1/subscription_items",
    "has_more": false,
    "data": [
      {
        "id": "si_MAzroazQBGguLd",
        "object": "subscription_item",
        "billing_thresholds": null,
        "created": 1659518859,
        "metadata": {},
        "price": {
          "id": "price_1LSTX02eZvKYlo2CrKMGl6Dy",
          "object": "price",
          "active": true,
          "billing_scheme": "per_unit",
          "created": 1659479142,
          "currency": "usd",
          "custom_unit_amount": null,
          "livemode": false,
          "lookup_key": null,
          "metadata": {},
          "nickname": null,
          "product": "prod_MApBpixJvIPdF1",
          "recurring": {
            "aggregate_usage": null,
            "interval": "month",
            "interval_count": 1,
            "usage_type": "licensed"
          },
          "tax_behavior": "unspecified",
          "tiers_mode": null,
          "transform_quantity": null,
          "type": "recurring",
          "unit_amount": 1200,
          "unit_amount_decimal": "1200"
        },
        "quantity": 1,
        "subscription": "sub_1LSdra2eZvKYlo2CbANuqqoc",
        "tax_rates": []
      },
      {...},
      {...}
    ]
  }'''
nl: List all subscription itemsReturns a list of your subscription items for a given subscription.Parameters subscription required The ID of the subscription whose items will be retrieved.More parametersExpand all  ending_before optional   limit optional   starting_after optional ReturnsA dictionary with a data property that contains an array of up to limit subscription items, starting after subscription item starting_after. Each entry in the array is a separate subscription item object. If no more subscription items are available, the resulting array will be empty. This request should never raise an error