code: import stripe
  stripe.api_key = "sk_test_your_key"
  stripe.api_version = "2019-02-19; orders_beta=v4"
  
  stripe.Order.create(
    currency="bdt",
    line_items=[
      {
        "product": "4-4-L-new",
        "quantity": 10,
      },
    ],
    expand=["line_items"],
  )
  '''Response {
    "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": {},
    "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: Create an orderCreates a new open order object.Parameters currency required Three-letter ISO currency code, in lowercase. Must be a supported currency. line_items required A list of line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost.Show child parameters customer optional The customer associated with this order. description optional An arbitrary string attached to the object. Often useful for displaying to users. metadata optional dictionary Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata. payment optional dictionary Payment information associated with the order, including payment settings.Show child parametersMore parametersExpand all  automatic_tax optional dictionary   billing_details optional dictionary   discounts optional array of hashes   ip_address optional   shipping_cost optional dictionary   shipping_details optional dictionary   tax_details optional dictionary ReturnsReturns an open order object if the call succeeded