The Fee object

The Fee object contains the fee information for an order.

Attributes

‚Äč

id string

Unique identifier of the checkout.

createdTime datetime

The time when the checkout was created.

type string

Type of fee. The possible values are: battery, weee, copyright, or e_waste

skuId string

The identifier of the specific product variation, taking into account any combination of attributes, currency, and cost. For example, a product may be a t-shirt whereas, a specific product variation represents the size large and color red version of that shirt.

category stringTwo-letter country code.

The type of product (for example, OLED TVs).

value string

The value of the product (for example, 5" Class Q900 QLED Smart 8K UHD TV).

amount number

The fee amount.

currency string3-letter ISO currency code.

3-letter ISO currency code.

country string

2-letter country code.

subdivision string

Array of ISO 3166-2 subdivision codes.

visible boolean

If false indicates that the jurisdiction requires that the fee be included in the price displayed to the shopper. If true indicates that the jurisdiction requires fee-exclusive pricing.

liveMode boolean

Has the value is true if the object exists in live mode or the value false if the object exists in test mode.

updatedTime datetime

Represents the total tax amount.

The Fee object
The Fee object
{
"id": "fee_1971b9b5-7d6b-49d5-b2a6-88ca7e53f750",
"createdTime": "2018-04-25T20:36:00Z",
"type": "weee",
"skuId": "sku_7834561209",
"category": "OLED TVs.",
"value": "85\" Class Q900 QLED Smart 8K UHD TV.",
"amount": "0.50",
"currency": "USD",
"country": "US",
"subdivisions": [
"CA"
],
"visible": true,
"liveMode": false,
"updatedTime": "2018-04-25T20:36:00Z"
}