code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.PaymentIntent.list(limit=3)
  '''Response {
    "object": "list",
    "url": "/v1/payment_intents",
    "has_more": false,
    "data": [
      {
        "id": "pi_1DrPsv2eZvKYlo2CEDzqXfPH",
        "object": "payment_intent",
        "amount": 1099,
        "amount_capturable": 0,
        "amount_details": {
          "tip": {}
        },
        "amount_received": 0,
        "application": null,
        "application_fee_amount": null,
        "automatic_payment_methods": null,
        "canceled_at": null,
        "cancellation_reason": null,
        "capture_method": "manual",
        "charges": {
          "object": "list",
          "data": [],
          "has_more": false,
          "url": "/v1/charges?payment_intent=pi_1DrPsv2eZvKYlo2CEDzqXfPH"
        },
        "client_secret": "pi_1DrPsv2eZvKYlo2CEDzqXfPH_secret_DDAO0OLHB8Q8oN5btYX9rg9j2",
        "confirmation_method": "automatic",
        "created": 1547212637,
        "currency": "usd",
        "customer": null,
        "description": null,
        "invoice": null,
        "last_payment_error": null,
        "livemode": false,
        "metadata": {},
        "next_action": null,
        "on_behalf_of": null,
        "payment_method": null,
        "payment_method_options": {},
        "payment_method_types": [
          "card"
        ],
        "processing": null,
        "receipt_email": null,
        "redaction": null,
        "review": null,
        "setup_future_usage": null,
        "shipping": null,
        "statement_descriptor": null,
        "statement_descriptor_suffix": null,
        "status": "requires_payment_method",
        "transfer_data": null,
        "transfer_group": null
      },
      {...},
      {...}
    ]
  }'''
nl: List all PaymentIntentsReturns a list of PaymentIntents.Parameters customer optional Only return PaymentIntents for the customer specified by this customer ID.More parametersExpand all  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 PaymentIntents, starting after PaymentIntent starting_after. Each entry in the array is a separate PaymentIntent object. If no more PaymentIntents are available, the resulting array will be empty. This request should never raise an error