CheckoutShippingRate
Resolved shipping rate object for a Checkout Session.
- idType: stringrequired
Shipping rate ID. Pass this value as
shipping_ratewhen updating a Checkout Session. - displayType: string
_name requiredCustomer-facing shipping option name.
- typeenumconst:fixed_amountrequiredvalues
- fixed
_amount Shipping is charged as a fixed amount.
- fixed
- Properties: 2fixedType: CheckoutShippingFixedAmountnullable
_amount - Properties: 2deliveryType: CheckoutDeliveryEstimatenullable
_estimate - taxType: CheckoutShippingTaxBehaviorenum
_behavior values- unspecified
No tax behavior has been specified for the shipping rate.
- exclusive
Tax is added on top of the shipping amount.
- inclusive
Tax is included in the shipping amount.
- unspecified
- taxType: string | null
_code Optional tax code for this shipping rate.
- metadatanullable
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.- propertyadditionalPropertyType: string
Name
- activeType: booleanrequired
Whether this shipping rate is currently selected for the Checkout Session.

