CheckoutShippingOption
A shipping option offered for a Checkout Session.
- shippingType: string | null
_rate Existing shipping rate ID. Checkout Session creation currently supports inline
shipping_rate_dataoptions. - shippingType: object · CheckoutShippingRateData nullable
_rate _data Inline shipping rate data used to create a Checkout Session shipping rate.
- deliveryType: object · CheckoutDeliveryEstimate nullable
_estimate - displayType: string
_name Customer-facing shipping option name.
- 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.
- typeenumconst:fixed_amountvalues
- fixed
_amount Shipping is charged as a fixed amount.

