Attributes
- idstring
Unique identifier for the object.
 - activeboolean
Whether the shipping rate can be used for new purchases. Defaults to
true. - display_
namenullable string The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
 - fixed_
amountnullable object Describes a fixed amount to charge for shipping. Must be present if type is
fixed_.amount - fixed_amount.
amountinteger A non-negative integer in cents representing how much to charge.
 - fixed_amount.
currencyenum Three-letter ISO currency code, in lowercase. Must be a supported currency.
 - fixed_amount.
currency_ optionsnullable objectExpandable Shipping rates defined in each available currency option. Each key must be a three-letter ISO currency code and a supported currency.
- fixed_amount.
currency_options. <currency>. amountinteger A non-negative integer in cents representing how much to charge.
 - fixed_amount.
currency_options. <currency>. tax_ behaviorenum Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of
inclusive,exclusive, orunspecified.Possible enum valuesexclusiveinclusiveunspecified 
 
 - metadataobject
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.
 - tax_
behaviornullable enum Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of
inclusive,exclusive, orunspecified.Possible enum valuesexclusiveinclusiveunspecified - tax_
codenullable stringExpandable A tax code ID. The Shipping tax code is
txcd_.92010001  - typeenum
The type of calculation to use on the shipping rate.
Possible enum valuesfixed_amount The shipping rate is a fixed amount.
 
More attributes
- objectstring
String representing the object’s type. Objects of the same type share the same value.
 - createdtimestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
 - delivery_
estimatenullable object The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.
- delivery_estimate.
maximumnullable object The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.
- delivery_estimate.
maximum. unitenum A unit of time.
Possible enum valuesbusiness_day The delivery estimate is in business days.
dayThe delivery estimate is in days.
hourThe delivery estimate is in hours.
monthThe delivery estimate is in months.
weekThe delivery estimate is in weeks.
 - delivery_estimate.
maximum. valueinteger Must be greater than 0.
 
 - delivery_estimate.
minimumnullable object The lower bound of the estimated range. If empty, represents no lower bound.
- delivery_estimate.
minimum. unitenum A unit of time.
Possible enum valuesbusiness_day The delivery estimate is in business days.
dayThe delivery estimate is in days.
hourThe delivery estimate is in hours.
monthThe delivery estimate is in months.
weekThe delivery estimate is in weeks.
 - delivery_estimate.
minimum. valueinteger Must be greater than 0.
 
 
 - livemodeboolean
Has the value
trueif the object exists in live mode or the valuefalseif the object exists in test mode. 
{  "id": "shr_1MrRx2LkdIwHu7ixikgEA6Wd",  "object": "shipping_rate",  "active": true,  "created": 1680207604,  "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"}