code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.billing_portal.Configuration.list(limit=3)
  '''Response {
    "object": "list",
    "url": "/v1/billing_portal/configurations",
    "has_more": false,
    "data": [
      {
        "id": "bpc_1LSdxb2eZvKYlo2CcDwiZ8Hp",
        "object": "billing_portal.configuration",
        "active": true,
        "application": null,
        "business_profile": {
          "headline": null,
          "privacy_policy_url": "https://example.com/privacy",
          "terms_of_service_url": "https://example.com/terms"
        },
        "created": 1659519231,
        "default_return_url": null,
        "features": {
          "customer_update": {
            "allowed_updates": [
              "email",
              "tax_id"
            ],
            "enabled": true
          },
          "invoice_history": {
            "enabled": true
          },
          "payment_method_update": {
            "enabled": false
          },
          "subscription_cancel": {
            "cancellation_reason": {
              "enabled": false,
              "options": []
            },
            "enabled": false,
            "mode": "at_period_end",
            "proration_behavior": "none"
          },
          "subscription_pause": {
            "enabled": false
          },
          "subscription_update": {
            "default_allowed_updates": [],
            "enabled": false,
            "proration_behavior": "none"
          }
        },
        "is_default": true,
        "livemode": true,
        "metadata": null,
        "updated": 1659519231
      },
      {...},
      {...}
    ]
  }'''
nl: List portal configurationsReturns a list of configurations that describe the functionality of the customer portal.Parameters active optional Only return configurations that are active or inactive (e.g., pass true to only list active configurations). is_default optional Only return the default or non-default configurations (e.g., pass true to only list the default configuration).More parametersExpand all  ending_before optional   limit optional   starting_after optional ReturnsReturns a list of portal configuration objects