CheckoutSessionShippingOption
- shippingType: object · CheckoutShippingRate
_rate requiredResolved shipping rate object for a Checkout Session.
- activeType: booleanrequired
Whether this shipping rate is currently selected for the Checkout Session.
- displayType: string
_name requiredCustomer-facing shipping option name.
- idType: stringrequired
Shipping rate ID. Pass this value as
shipping_ratewhen updating a Checkout Session. - typeenumconst:fixed_amountrequiredvalues
- fixed
_amount Shipping is charged as a fixed amount.
- deliveryType: object · CheckoutDeliveryEstimate nullable
_estimate - fixedType: object · CheckoutShippingFixedAmount nullable
_amount - 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.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.- propertyType: string
Name
- taxType: string · 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.
- taxType: string | null
_code Optional tax code for this shipping rate.

