code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.ShippingRate.create(
    display_name="Ground shipping",
    type="fixed_amount",
    fixed_amount={"amount": 500, "currency": "usd"},
  )
  '''Response {
    "id": "shr_1LSdrn2eZvKYlo2CxRF2J7J9",
    "object": "shipping_rate",
    "active": true,
    "created": 1659518871,
    "delivery_estimate": null,
    "display_name": "Ground shipping",
    "fixed_amount": {
      "amount": 500,
      "currency": "usd"
    },
    "livemode": false,
    "metadata": {},
    "tax_behavior": "unspecified",
    "tax_code": null,
    "type": "fixed_amount"
  }'''
nl: Create a shipping rateCreates a new shipping rate object.Parameters display_name required The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions. type required The type of calculation to use on the shipping rate. Can only be fixed_amount for now.Possible enum valuesfixed_amount  fixed_amount optional dictionary Describes a fixed amount to charge for shipping. Must be present if type is fixed_amount.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  delivery_estimate optional dictionary   tax_behavior optional   tax_code optional ReturnsReturns a shipping rate object if the call succeeded