code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.Quote.create(
    customer="cus_8TEMHVY5moxIPI",
    line_items=[
      {
        "price": "price_1LSTX02eZvKYlo2CrKMGl6Dy",
        "quantity": 2,
      },
    ],
  )
  '''Response {
    "id": "qt_1LSdva2eZvKYlo2CKJMWruHa",
    "object": "quote",
    "amount_subtotal": 2400,
    "amount_total": 2400,
    "application": null,
    "application_fee_amount": null,
    "application_fee_percent": null,
    "automatic_tax": {
      "enabled": false,
      "status": null
    },
    "collection_method": "charge_automatically",
    "computed": {
      "recurring": null,
      "upfront": {
        "amount_subtotal": 2400,
        "amount_total": 2400,
        "total_details": {
          "amount_discount": 0,
          "amount_shipping": 0,
          "amount_tax": 0
        }
      }
    },
    "created": 1659519106,
    "currency": "usd",
    "customer": "cus_8TEMHVY5moxIPI",
    "default_tax_rates": [],
    "description": null,
    "discounts": [],
    "expires_at": 1662111106,
    "footer": null,
    "from_quote": null,
    "header": null,
    "invoice": null,
    "invoice_settings": {
      "days_until_due": null
    },
    "livemode": false,
    "metadata": {},
    "number": null,
    "on_behalf_of": null,
    "status": "draft",
    "status_transitions": {
      "accepted_at": null,
      "canceled_at": null,
      "finalized_at": null
    },
    "subscription": null,
    "subscription_data": {
      "effective_date": null,
      "trial_period_days": null
    },
    "subscription_schedule": null,
    "test_clock": null,
    "total_details": {
      "amount_discount": 0,
      "amount_shipping": 0,
      "amount_tax": 0
    },
    "transfer_data": null
  }'''
nl: Create a quoteA quote models prices and services for a customer. Default options for header, description, footer, and expires_at can be set in the dashboard via the quote template.Parameters line_items optional array of hashes A list of line items the customer is being quoted for. Each line item includes information about the product, the quantity, and the resulting cost.Show child parameters 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.More parametersExpand all  application_fee_amount optional Connect only   application_fee_percent optional Connect only   automatic_tax optional dictionary   collection_method optional   customer optional   default_tax_rates optional   description optional   discounts optional array of hashes   expires_at optional   footer optional   from_quote optional dictionary   header optional   invoice_settings optional dictionary   on_behalf_of optional Connect only   subscription_data optional dictionary   test_clock optional   transfer_data optional dictionary Connect only ReturnsReturns the quote object