code: import stripe
  stripe.api_key = "sk_test_your_key"
  stripe.api_version = "2019-02-19; orders_beta=v4"
  
  stripe.Order.list(limit=3)
  '''Response {
    "object": "list",
    "url": "/v1/orders",
    "has_more": false,
    "data": [
      {
        "id": "order_1LSdvj2eZvKYlo2Cj5Xm8Raw",
        "object": "order",
        "amount_subtotal": 14990,
        "amount_total": 14990,
        "application": null,
        "automatic_tax": {
          "enabled": false,
          "status": null
        },
        "billing_details": null,
        "client_secret": "order_1LSdvj2eZvKYlo2Cj5Xm8Raw_secret_ifLHrzvrIcUNsNIxjXLdzu9nC7cnVWEeCVg",
        "created": 1659519115,
        "currency": "bdt",
        "customer": null,
        "description": null,
        "discounts": [],
        "ip_address": null,
        "livemode": false,
        "metadata": {
          "reference_number": "183782710"
        },
        "payment": {
          "payment_intent": null,
          "settings": {
            "application_fee_amount": null,
            "automatic_payment_methods": {
              "enabled": true
            },
            "payment_method_options": null,
            "payment_method_types": [
              "card"
            ],
            "return_url": null,
            "statement_descriptor": null,
            "statement_descriptor_suffix": null,
            "transfer_data": null
          },
          "status": null
        },
        "shipping_cost": null,
        "shipping_details": null,
        "status": "open",
        "total_details": {
          "amount_discount": 0,
          "amount_shipping": 0,
          "amount_tax": 0
        },
        "line_items": {
          "object": "list",
          "data": [
            {
              "id": "li_1LSdvh2eZvKYlo2Cq9UwPz2D",
              "object": "item",
              "amount_discount": 0,
              "amount_subtotal": 14990,
              "amount_tax": 0,
              "amount_total": 14990,
              "currency": "bdt",
              "description": "UV PULLOVER HOODIE The Earthy Blanks DRIFTWOOD L",
              "price": {
                "id": "price_1LScCX2eZvKYlo2C1Z9zPyXF",
                "object": "price",
                "active": true,
                "billing_scheme": "per_unit",
                "created": 1659512469,
                "currency": "bdt",
                "custom_unit_amount": null,
                "livemode": false,
                "lookup_key": null,
                "metadata": {},
                "nickname": null,
                "product": "4-4-L-new",
                "recurring": null,
                "tax_behavior": "unspecified",
                "tiers_mode": null,
                "transform_quantity": null,
                "type": "one_time",
                "unit_amount": 1499,
                "unit_amount_decimal": "1499"
              },
              "quantity": 10
            }
          ],
          "has_more": false,
          "url": "/v1/orders/order_1LSdvj2eZvKYlo2Cj5Xm8Raw/line_items"
        }
      },
      {...},
      {...}
    ]
  }'''
nl: List all ordersReturns a list of your orders. The orders are returned sorted by creation date, with the most recently created orders appearing first.Parameters customer optional Only return orders for the given customer.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 orders, starting after order starting_after. Each entry in the array is a separate order object. If no more orders are available, the resulting array will be empty. This request should never raise an error