code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.SetupIntent.list(limit=3)
  '''Response {
    "object": "list",
    "url": "/v1/setup_intents",
    "has_more": false,
    "data": [
      {
        "id": "seti_1EuLW12eZvKYlo2CSSF0PlLO",
        "object": "setup_intent",
        "application": null,
        "cancellation_reason": null,
        "client_secret": "seti_1EuLW12eZvKYlo2CSSF0PlLO_secret_FP9pDHZrmtOHCWIKnuIZPW0VhtPEsaa",
        "created": 1562687161,
        "customer": null,
        "description": null,
        "flow_directions": null,
        "last_setup_error": null,
        "latest_attempt": null,
        "livemode": false,
        "mandate": null,
        "metadata": {},
        "next_action": null,
        "on_behalf_of": null,
        "payment_method": null,
        "payment_method_options": {
          "card": {
            "mandate_options": null,
            "network": null,
            "request_three_d_secure": "automatic"
          }
        },
        "payment_method_types": [
          "card"
        ],
        "redaction": null,
        "single_use_mandate": null,
        "status": "requires_payment_method",
        "usage": "off_session"
      },
      {...},
      {...}
    ]
  }'''
nl: List all SetupIntentsReturns a list of SetupIntents.Parameters customer optional Only return SetupIntents for the customer specified by this customer ID. payment_method optional Only return SetupIntents associated with the specified payment method.More parametersExpand all  attach_to_self optional   created optional dictionary   ending_before optional   limit optional   starting_after optional ReturnsA dictionary with a data property that contains an array of up to limit SetupIntents, starting after SetupIntent starting_after. Each entry in the array is a separate SetupIntent object. If no more SetupIntents are available, the resulting array will be empty. This request should never raise an error