> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Checkout

# Type: Checkout Object

# Link: https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/checkout/checkout/checkout-object.md

## Description: A checkout represents a cart that is in the process of being purchased. It holds calculated prices, tax, shipping, and buyer information needed to complete the purchase.

## Schema:

```json
 Type: Checkout Object | type: Checkout
 Description: A checkout represents a cart that is in the process of being purchased. It holds calculated prices, tax, shipping, and buyer information needed to complete the purchase.
       - name: id  | type: string | description: Checkout ID.
           - name: value  | type: string | description: 
       - name: lineItems  | type: Array<LineItem> | description: Line items.  Max: 300 items
           - name: id  | type: string | description: Line item ID.
           - name: quantity  | type: number | description: Item quantity.  Min: `"1"` Max: `"100000"`
           - name: catalogReference  | type: CatalogReference | description: Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin.
               - name: catalogItemId  | type: string | description: ID of the item within the catalog it belongs to.
               - name: appId  | type: string | description: ID of the app providing the catalog.  You can get your app's ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).  For items from Wix catalogs, the following values always apply: + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"` + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"` + Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"`
               - name: options  | type: Struct | description: Additional item details in `key:value` pairs.  Use this optional field for more specificity with item selection. The values of the `options` field differ depending on which catalog is providing the items.  For Wix Stores products, learn more about integrating with [Catalog V3](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration.md) or [Catalog V1](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v1/catalog/e-commerce-integration.md), depending on [the version the site uses](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-versioning/introduction.md).
           - name: productName  | type: ProductName | description: Item name. + Stores - `product.name` + Bookings - `service.info.name` + Events - `ticket.name`
               - name: original  | type: string | description: __Required.__ Item name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions.md#request-envelope).  Min: 1 character. Max: 200 characters.
               - name: translated  | type: string | description: Item name translated into the buyer's language.  Min: 1 character. Max: 400 characters. Default: Same as `original`.
           - name: url  | type: PageUrlV2 | description: URL to the item's page on the site.
               - name: relativePath  | type: string | description: The relative path for the page within the site. For example, `/product-page/a-product`.
               - name: url  | type: string | description: The page's full URL. For example, `https://mysite.com/product-page/a-product`.
           - name: price  | type: MultiCurrencyPrice | description: Item price **after** catalog-defined discount and line item discounts.
               - name: amount  | type: string | description: Amount.
               - name: convertedAmount  | type: string | description: Converted amount.
               - name: formattedAmount  | type: string | description: Amount formatted with currency symbol.
               - name: formattedConvertedAmount  | type: string | description: Converted amount formatted with currency symbol.
           - name: lineItemPrice  | type: MultiCurrencyPrice | description: Total line item price **after** catalog-defined discount and line item discounts.
           - name: fullPrice  | type: MultiCurrencyPrice | description: Item price **before** catalog-defined discount. Defaults to `price` when not provided.
           - name: priceBeforeDiscounts  | type: MultiCurrencyPrice | description: Item price **before** line item discounts and **after** catalog-defined discount. Defaults to `price` when not provided.
           - name: totalPriceAfterTax  | type: MultiCurrencyPrice | description: Total price after all discounts and tax.
           - name: totalPriceBeforeTax  | type: MultiCurrencyPrice | description: Total price after discounts, and before tax.
           - name: taxDetails  | type: ItemTaxFullDetails | description: Tax details for this line item.
               - name: taxableAmount  | type: MultiCurrencyPrice | description: Amount for which tax is calculated.
               - name: taxRate  | type: string | description: Tax rate %, as a decimal point between 0 and 1.
               - name: totalTax  | type: MultiCurrencyPrice | description: Calculated tax, based on `taxable_amount` and `tax_rate`.
               - name: rateBreakdown  | type: Array<TaxRateBreakdown> | description: If breakdown exists, the sum of rates in the breakdown must equal `tax_rate`. Deprecated - use 'tax_breakdown' instead.
               - name: taxBreakdown  | type: Array<TaxBreakdown> | description: tax information for a line item.
           - name: discount  | type: MultiCurrencyPrice | description: Discount for this line item's entire quantity.
           - name: descriptionLines  | type: Array<DescriptionLine> | description: Line item description lines. Used for display purposes for the cart, checkout and order.
               - name: name  | type: DescriptionLineName | description: Description line name.
               - ONE-OF:
                   - name: plainText  | type: PlainTextValue | description: Description line plain text value.
                   - name: colorInfo  | type: Color | description: Description line color value.
           - name: media  | type: Image | description: Line item image details.
               - name: id  | type: string | description: WixMedia image ID.
               - name: url  | type: string | description: Image URL.
               - name: height  | type: number | description: Original image height.
               - name: width  | type: number | description: Original image width.
               - name: altText  | type: string | description: Image alt text.
               - name: filename  | type: string | description: Image filename.
           - name: availability  | type: ItemAvailabilityInfo | description: Item availability details.
               - name: status  | type: string | description: Item availability status.
               - name: quantityAvailable  | type: number | description: Quantity available.
           - name: physicalProperties  | type: PhysicalProperties | description: Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
               - name: weight  | type: number | description: Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request.
               - name: sku  | type: string | description: Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku).
               - name: shippable  | type: boolean | description: Whether this line item is shippable.
               - name: productDimensions  | type: Dimensions | description: Product dimensions (length, width, height of the physical product).
               - name: packageDimensions  | type: Dimensions | description: Package dimensions (length, width, height of the shipping package).
           - name: itemType  | type: ItemType | description: Item type. Either a preset type or custom.
               - ONE-OF:
                   - name: preset  | type: string | description: Preset item type.
                   - name: custom  | type: string | description: Custom item type. When none of the preset types are suitable, specifies the custom type.
           - name: subscriptionOptionInfo  | type: SubscriptionOptionInfo | description: Subscription option information.
               - name: subscriptionSettings  | type: SubscriptionSettings | description: Subscription option settings.
               - name: title  | type: Title | description: Subscription option title.
               - name: description  | type: Description | description: Subscription option description.
           - name: paymentOption  | type: string | description: Type of selected payment option for current item.  Default: `FULL_PAYMENT_ONLINE`
               enum: FULL_PAYMENT_ONLINE, FULL_PAYMENT_OFFLINE, MEMBERSHIP, DEPOSIT_ONLINE, MEMBERSHIP_OFFLINE, MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER
           - name: serviceProperties  | type: ServiceProperties | description: Service properties. When relevant, this contains information such as date and number of participants.
               - name: scheduledDate  | type: string | description: Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. For example, the start time of a class.
               - name: numberOfParticipants  | type: number | description: The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room.
           - name: rootCatalogItemId  | type: string | description: In cases where `catalogReference.catalogItemId` is NOT the actual catalog item ID, this field will return the true item's ID. + For example, for Wix Bookings, `catalogReference.catalogItemId` is the booking ID. Therefore this value is set to the service ID. + In most cases, this field has the same value as `catalogReference.catalogItemId`. + Used in membership validation.
           - name: priceDescription  | type: PriceDescription | description: Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67".
               - name: original  | type: string | description: __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions.md#request-envelope).
               - name: translated  | type: string | description: Price description translated into the buyer's language.  Default: Same as `original`.
           - name: depositAmount  | type: MultiCurrencyPrice | description: Partial payment to be paid upfront during the checkout. Eligible for catalog items with `lineItem.paymentOption` type `DEPOSIT_ONLINE` only.
           - name: deliveryProfileId  | type: string | description: Delivery profile ID.
           - name: customLineItem  | type: boolean | description: Whether the line item is a custom line item. Custom line items don't trigger the Catalog service plugin.
           - name: consentRequiredPaymentPolicy  | type: string | description: Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
           - name: catalogOverrideFields  | type: CatalogOverrideFields | description: Overriding values for catalog item properties.  To override catalog fields, your app must have the permission scope named "Manage eCommerce - Admin Permissions". Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions.md).
               - name: productName  | type: ProductName | description: Item name.
               - name: price  | type: string | description: Item price **after** discounts.
               - name: fullPrice  | type: string | description: Item price **before** discounts.
               - name: descriptionLines  | type: Array<DescriptionLine> | description: Item description lines. Used when displaying the line item to customers.
               - name: physicalProperties  | type: PhysicalProperties | description: Physical properties of the item.
               - name: image  | type: Image | description: Item image.
               - name: paymentOption  | type: PaymentOption | description: Payment method selected for the item.
               - name: depositAmount  | type: string | description: Only eligible for catalog items with `lineItem.paymentOption.value` type of `DEPOSIT_ONLINE`.
               - name: savePaymentMethod  | type: boolean | description: Whether to save the payment method on the order.  Default: `false`
               - name: inventoryAppId  | type: string | description: ID of the app managing the inventory.
               - name: fixedQuantity  | type: boolean | description: Whether the line item quantity is fixed and can't be changed. When not set, falls back to the value from the catalog.
           - name: priceUndetermined  | type: boolean | description: Whether the price is not yet defined, and will be updated after the order is created.
           - name: fixedQuantity  | type: boolean | description: Whether the line item quantity is fixed and cannot be changed.
           - name: savePaymentMethod  | type: boolean | description: Whether to save the payment method on the order.  Default: `false`
           - name: taxableAddress  | type: TaxableAddress | description: Address to use for tax calculation purposes.
               - ONE-OF:
                   - name: addressType  | type: string | description: taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly.
           - name: extendedFields  | type: ExtendedFields | description: Custom extended fields for the line item object.  [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md) must be configured using the 'Checkout & Orders - Line Items Schema Plugin' in the app dashboard before they can be accessed with API calls.
               - name: namespaces  | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured.  You can only access fields for which you have the appropriate permissions.  Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md).
           - name: policies  | type: Array<Policy> | description: Policies to be displayed to the customer on the checkout page.
               - name: title  | type: string | description: Policy title - should be translated
               - name: content  | type: string | description: Policy content - should be translated
           - name: membersOnly  | type: boolean | description: Whether the item can only be purchased by site members.  Default: `false`
           - name: modifierGroups  | type: Array<ModifierGroup> | description: Modifier groups that were added to the item.
               - name: id  | type: string | description: Modifier group ID.
               - name: name  | type: TranslatableString | description: Modifier group name.
               - name: modifiers  | type: Array<ItemModifier> | description: List of modifiers in this group.
           - name: modifiersTotalPrice  | type: MultiCurrencyPrice | description: Total price of all item modifiers. Included in the item price.
       - name: billingInfo  | type: AddressWithContact | description: Billing information.
           - name: address  | type: Address | description: Address.
               - name: country  | type: string | description: Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.
               - name: subdivision  | type: string | description: Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format.
               - name: city  | type: string | description: City name.
               - name: postalCode  | type: string | description: Postal or zip code.
               - name: streetAddress  | type: StreetAddress | description: Street address.
               - name: addressLine  | type: string | description: Main address line (usually street name and number).
               - name: addressLine2  | type: string | description: Free text providing more detailed address info. Usually contains apt, suite, floor.
               - name: geocode  | type: AddressLocation | description: Geocode object containing latitude and longitude coordinates.
               - name: countryFullname  | type: string | description: Country's full name.
               - name: subdivisionFullname  | type: string | description: Subdivision full-name.
           - name: contactDetails  | type: FullAddressContactDetails | description: Contact details.
               - name: firstName  | type: string | description: First name.
               - name: lastName  | type: string | description: Last name.
               - name: phone  | type: string | description: Phone number.
               - name: company  | type: string | description: Company name.
               - name: vatId  | type: VatId | description: Tax information (for Brazil only). If ID is provided, `vatId.type` must also be set, `UNSPECIFIED` is not allowed.
       - name: shippingInfo  | type: ShippingInfo | description: Shipping information.
           - name: shippingDestination  | type: AddressWithContact | description: Shipping address and contact details.
           - name: selectedCarrierServiceOption  | type: SelectedCarrierServiceOption | description: Selected option out of the options allowed for the `region`.
               - name: code  | type: string | description: Unique identifier of selected option. For example, "usps_std_overnight".
               - name: title  | type: string | description: Title of the option, such as USPS Standard Overnight Delivery (in the requested locale). For example, "Standard" or "First-Class Package International".
               - name: logistics  | type: DeliveryLogistics | description: Delivery logistics.
               - name: cost  | type: SelectedCarrierServiceOptionPrices | description: Shipping costs.
               - name: requestedShippingOption  | type: boolean | description: Were we able to find the requested shipping option, or otherwise we fallback to the default one (the first)
               - name: otherCharges  | type: Array<SelectedCarrierServiceOptionOtherCharge> | description: Other charges
               - name: carrierId  | type: string | description: This carrier's unique ID
               - name: deliveryAllocations  | type: Array<DeliveryAllocation> | description: Delivery solution allocations to different delivery carriers and delivery regions
               - name: partial  | type: boolean | description: If the delivery solution is a partial and doesn't apply to all items.
           - name: region  | type: ShippingRegion | description: Shipping region. Based on the address provided.
               - name: id  | type: string | description: Shipping region ID.
               - name: name  | type: string | description: Shipping region name.
           - name: carrierServiceOptions  | type: Array<CarrierServiceOption> | description: All carrier options for this shipping rule.
               - name: carrierId  | type: string | description: Carrier ID.
               - name: shippingOptions  | type: Array<ShippingOption> | description: Shipping options offered by this carrier for this request.
       - name: buyerNote  | type: string | description: [Buyer note](https://support.wix.com/en/article/collecting-and-viewing-buyer-notes) left by the customer.
       - name: buyerInfo  | type: BuyerInfo | description: Buyer information.
           - name: contactId  | type: string | description: Contact ID. Auto-created if one does not yet exist. For more information, see the Contacts API.
           - name: email  | type: string | description: Buyer email address.
           - ONE-OF:
               - name: visitorId  | type: string | description: Visitor ID (if site visitor is **not** a member).
               - name: memberId  | type: string | description: Member ID (if site visitor is a site member).
       - name: conversionCurrency  | type: string | description: The currency [selected by the customer](https://support.wix.com/en/article/multicurrency-an-overview) during the purchase flow, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.  This reflects the customer’s preferred display currency and may differ from the site’s default currency. When no specific currency is selected by the customer, this matches the `currency` property.
       - name: priceSummary  | type: PriceSummary | description: Calculated price summary for the checkout.
           - name: subtotal  | type: MultiCurrencyPrice | description: Subtotal of all line items, before discounts and before tax.
           - name: shipping  | type: MultiCurrencyPrice | description: Total shipping price, before discounts and before tax.
           - name: tax  | type: MultiCurrencyPrice | description: Total tax.
           - name: discount  | type: MultiCurrencyPrice | description: Total calculated discount value.
           - name: total  | type: MultiCurrencyPrice | description: Total price after discounts, gift cards, and tax.
           - name: additionalFees  | type: MultiCurrencyPrice | description: Total additional fees price before tax.
       - name: calculationErrors  | type: CalculationErrors | description: Errors when calculating totals.
           - name: taxCalculationError  | type: Details | description: Tax calculation error.
               - name: tracing  | type: object | description: deprecated in API's - to enable migration from rendering arbitrary tracing to rest response
               - ONE-OF:
                   - name: applicationError  | type: ApplicationError | description: 
                   - name: validationError  | type: ValidationError | description: 
                   - name: systemError  | type: SystemError | description: 
           - name: couponCalculationError  | type: Details | description: Coupon calculation error.
           - name: giftCardCalculationError  | type: Details | description: DEPRECATED: Use gift_card_calculation_errors instead.
           - name: orderValidationErrors  | type: Array<ApplicationError> | description: Order validation errors.
               - name: code  | type: string | description: Error code.
               - name: description  | type: string | description: Description of the error.
               - name: data  | type: Struct | description: Data related to the error.
           - name: membershipError  | type: Details | description: Membership payment methods calculation errors For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
           - name: discountsCalculationError  | type: Details | description: Discount Rule calculation error.
           - ONE-OF:
               - name: generalShippingCalculationError  | type: Details | description: General shipping calculation error.
               - name: carrierErrors  | type: CarrierErrors | description: Errors related to the delivery carrier.
                   - name: errors  | type: Array<CarrierError> | description: Carrier errors.
               - name: selectedShippingOptionError  | type: Details | description: Error related to the selected shipping option.
       - name: giftCard  | type: GiftCard | description: Applied gift card details.  >**Note:** Gift cards are supported through the Wix UI, though the service plugin is not currently available. Learn more about [Wix Gift Cards](https://support.wix.com/en/article/setting-up-wix-gift-cards-9451439).
           - name: id  | type: string | description: Gift Card ID.
           - name: obfuscatedCode  | type: string | description: Gift card obfuscated code.
           - name: amount  | type: MultiCurrencyPrice | description: Actual amount to be redeemed from the gift card.
           - name: appId  | type: string | description: App ID of the gift card provider.
           - name: externalId  | type: string | description: External ID in the gift card provider's system. Used for integration and tracking across different platforms.
           - name: requestedAmount  | type: MultiCurrencyPrice | description: Requested amount to redeem from the gift card.
       - name: appliedDiscounts  | type: Array<AppliedDiscount> | description: Applied discounts.
           - name: discountType  | type: string | description: Discount type.
               enum: GLOBAL, SPECIFIC_ITEMS, SHIPPING
           - name: lineItemIds  | type: Array<string> | description: IDs of line items the discount applies to.
           - ONE-OF:
               - name: coupon  | type: Coupon | description: Coupon details.
                   - name: id  | type: string | description: Coupon ID.
                   - name: code  | type: string | description: Coupon code.
                   - name: amount  | type: MultiCurrencyPrice | description: Total amount the coupon took off.
                   - name: name  | type: string | description: Coupon name.
                   - name: discountValueType  | type: string | description: How the coupon's discount is expressed. `percentage` holds the rate of a percentage coupon, and `amount` holds the total amount the coupon took off, whatever the type.  Not returned for a free-shipping coupon.
                   - ONE-OF:
                       - name: percentage  | type: string | description: Percentage the coupon took off the price it applied to. For example, `10.5` for 10.5%.  The price it applied to depends on the applied discount's `discountType`. For `SPECIFIC_ITEMS`, it's the line items' price after the discounts applied before this one. For `GLOBAL`, it's the subtotal after the line item discounts. An order discount applied before the coupon, such as an automatic discount on the whole order, isn't taken off first.
               - name: merchantDiscount  | type: MerchantDiscount | description: Merchant discount.
                   - name: amount  | type: MultiCurrencyPrice | description: Discount value.
                   - name: percentage  | type: number | description: Discount Percentage. Will be calculated from items price before other discounts.
               - name: discountRule  | type: DiscountRule | description: Discount rule
                   - name: id  | type: string | description: Discount rule ID
                   - name: name  | type: DiscountRuleName | description: Discount rule name
                   - name: amount  | type: MultiCurrencyPrice | description: Total amount the discount rule took off.
                   - name: discountValueType  | type: string | description: How the discount rule's discount is expressed. `percentage` holds the rate of a percentage discount rule, and `amount` holds the total amount the discount rule took off, whatever the type.  Not returned for a free-shipping discount rule.
                   - ONE-OF:
                       - name: percentage  | type: string | description: Percentage the discount rule took off the price it applied to. For example, `10.5` for 10.5%.  The price it applied to depends on the applied discount's `discountType`: the line items' price for `SPECIFIC_ITEMS`, the subtotal for `GLOBAL`. In each case it's the price after the discounts applied before this one.
       - name: customFields  | type: Array<CustomField> | description: Custom fields.
           - name: value  | type: Value | description: Custom field value.
               - ONE-OF:
                   - name: nullValue  | type: NullValue | description: 
                   - name: numberValue  | type: number | description: 
                   - name: stringValue  | type: string | description: 
                   - name: boolValue  | type: boolean | description: 
                   - name: structValue  | type: Struct | description: 
                   - name: listValue  | type: ListValue | description: 
           - name: title  | type: string | description: Custom field title.
           - name: translatedTitle  | type: string | description: Translated custom field title.
       - name: weightUnit  | type: string | description: Weight measurement unit. Defaults to a site's weight unit.
           enum: UNSPECIFIED_WEIGHT_UNIT, KG, LB
       - name: taxSummary  | type: TaxSummary | description: Tax summary.
           - name: taxableAmount  | type: MultiCurrencyPrice | description: Amount for which tax is calculated, added from line items.
           - name: totalTax  | type: MultiCurrencyPrice | description: Calculated tax, added from line items.
           - name: calculationDetails  | type: TaxCalculationDetails | description: Tax calculator that was active when the order was created.
               - name: rateType  | type: string | description: Rate calculation type.
               - ONE-OF:
                   - name: manualRateReason  | type: string | description: Reason the manual calculation was used.
                   - name: autoTaxFallbackDetails  | type: AutoTaxFallbackCalculationDetails | description: Details of the fallback rate calculation.
       - name: currency  | type: string | description: The site’s default currency, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. This represents the base currency configured for the site and remains constant regardless of the customer’s currency selection.
       - name: channelType  | type: string | description: Sales channel that submitted the order.
           enum: UNSPECIFIED, WEB, POS, EBAY, AMAZON, OTHER_PLATFORM, WIX_APP_STORE, WIX_INVOICES, BACKOFFICE_MERCHANT, WISH, CLASS_PASS, GLOBAL_E, FACEBOOK, ETSY, TIKTOK, FAIRE_COM, PAYPAL_AGENTIC_CHECKOUT, STRIPE_AGENTIC_CHECKOUT
       - name: siteLanguage  | type: string | description: Site language in which original values are shown.
       - name: buyerLanguage  | type: string | description: Language for communication with the buyer. Defaults to the site language.  For a site that supports multiple languages, this is the language the buyer selected.
       - name: completed  | type: boolean | description: Whether an order was successfully created from this checkout.  For an order to be successful, it must be successfully paid for (unless the total is 0).
       - name: taxIncludedInPrice  | type: boolean | description: Whether tax is included in line item prices.
       - name: createdBy  | type: CreatedBy | description: ID of the checkout's initiator.
           - ONE-OF:
               - name: userId  | type: string | description: User ID. When the order was created by a Wix user on behalf of a buyer. For example, via POS (point of service).
               - name: memberId  | type: string | description: Member ID. When the order was created by a **logged in** site visitor.
               - name: visitorId  | type: string | description: Visitor ID. When the order was created by a site visitor that was **not** logged in.
               - name: appId  | type: string | description: App ID. When the order was created by an external application or Wix service.
       - name: createdDate  | type: string | description: Date and time the checkout was created.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: updatedDate  | type: string | description: Date and time the checkout was updated.
       - name: payNow  | type: PriceSummary | description: Minimal amount to pay in order to place the order.
       - name: payLater  | type: PriceSummary | description: Remaining amount for the order to be fully paid.
       - name: membershipOptions  | type: MembershipOptions | description: Memberships to apply when creating the order.
           - name: eligibleMemberships  | type: Array<Membership> | description: Reserved for internal use.
               - name: id  | type: string | description: Membership ID.
               - name: appId  | type: string | description: ID of the application providing this payment option.
               - name: name  | type: MembershipName | description: The name of this membership.
               - name: lineItemIds  | type: Array<string> | description: Deprecated. Use `ExistingMembership.covered_line_items` to see which line items this membership covers.  Only populated in the legacy `ListEligibleMemberships` flow, which still requires it. Empty on `ListMembershipsByIds`, a by-id lookup that receives no line items to report against.
               - name: credits  | type: MembershipPaymentCredits | description: Membership's payment credits (balance information).
               - name: expirationDate  | type: string | description: Membership expiration date.
               - name: additionalData  | type: Struct | description: Deprecated. Use `offering_description`.
           - name: invalidMemberships  | type: Array<InvalidMembership> | description: Reserved for internal use.
               - name: membership  | type: Membership | description: Membership details.
               - name: reason  | type: string | description: Reason why this membership is invalid and cannot be used.
           - name: selectedMemberships  | type: SelectedMemberships | description: Selected membership to apply to this checkout.
               - name: memberships  | type: Array<SelectedMembership> | description: Selected memberships.
       - name: additionalFees  | type: Array<AdditionalFee> | description: Additional Fees.
           - name: code  | type: string | description: Additional fee's unique code (or ID) for future processing.
           - name: name  | type: string | description: Additional fee's name.
           - name: price  | type: MultiCurrencyPrice | description: Additional fee's price.
           - name: taxDetails  | type: ItemTaxFullDetails | description: Tax details.
           - name: providerAppId  | type: string | description: Provider's app id.
           - name: priceBeforeTax  | type: MultiCurrencyPrice | description: Additional fee's price before tax.
           - name: priceAfterTax  | type: MultiCurrencyPrice | description: Additional fee's price after tax.
           - name: lineItemIds  | type: Array<string> | description: Optional - Line items associated with this additional fee. If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
           - name: source  | type: string | description: the source the additional fee was added from
               enum: UNKNOWN_ADDITIONAL_FEE_SOURCE, SERVICE_PLUGIN, ITEM, MANUAL, SHIPPING, PLATFORM
           - name: translatedName  | type: string | description: The translated name of the additional fee. The translation language is determined by the `languages` field in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions.md#request-envelope).
           - name: taxableAddress  | type: TaxableAddress | description: Address type tax was calculated against for this fee.
       - name: cartId  | type: string | description: Cart ID that this checkout was created from. Empty if this checkout wasn't created from a cart.
       - name: violations  | type: Array<Violation> | description: List of validation violations raised by the [Validations service plugin](https://dev.wix.com/docs/rest/business-solutions/e-commerce/service-plugins/validations-integration-service-plugin/introduction.md).
           - name: severity  | type: string | description: Severity of the violation. The violations are shown on the cart and checkout pages. A warning is displayed as yellow, and allows a site visitor to proceed with caution. An error is displayed as red, and doesn't allow a site visitor to proceed with the eCommerce flow.
               enum: WARNING, ERROR
           - name: target  | type: Target | description: Target location on a checkout or cart page where the violation will be displayed.
               - ONE-OF:
                   - name: other  | type: Other | description: General (other) violation.
                   - name: lineItem  | type: LineItem | description: Specific line item violation.
           - name: description  | type: string | description: Violation description. Can include rich text. Only HTTP or HTTPS links in the following format are allowed: `<a href="https://www.wix.com">Click me</a>`.
       - name: extendedFields  | type: ExtendedFields | description: Custom field data for the checkout object.  [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md) must be configured in the app dashboard before they can be accessed with API calls.
       - name: purchaseFlowId  | type: string | description: Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
       - name: customSettings  | type: CustomSettings | description: Additional settings for customization of the checkout process.  > **Notes:** > * Custom settings can only be set when creating a checkout. > * To access and manage custom checkout page content, your app must have the permission scope named "Manage eCommerce - Admin Permissions". Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions.md).
           - name: lockGiftCard  | type: boolean | description: Whether to restrict the option to add or remove a gift card on the checkout page.  Default: `false`
           - name: lockCouponCode  | type: boolean | description: Whether to restrict the option to add or remove a coupon code on the checkout page.  Default: `false`
           - name: disabledPolicyAgreementCheckbox  | type: boolean | description: Whether to disable policy agreement checkout in the checkout page  Default: `false`
           - name: disabledManualPayment  | type: boolean | description: Whether to disable manual payment option for this checkout.  Default: `false`
       - name: customContentReference  | type: CustomContentReference | description: Reference IDs for the app and component providing custom checkout page content.  To access and manage custom checkout page content, your app must have the permission scope named "Manage eCommerce - Admin Permissions". Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions.md).
           - name: appId  | type: string | description: ID of the app providing the content.  You can get your app's ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).
           - name: componentId  | type: string | description: ID of the component within the app it belongs to.  You can get your component's ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).
       - name: externalReference  | type: ExternalReference | description: References to an external app and resource associated with this checkout. Used for integration and tracking across different platforms.
           - name: appId  | type: string | description: ID of the app associated with the purchase flow. For example, the Wix Pay Links app ID.
           - name: resourceId  | type: string | description: Reference to an external resource ID. Used to link the purchase flow to a specific entity in an external system. For example, a Wix Pay Link ID.
       - name: payAfterFreeTrial  | type: PriceSummary | description: Payment for subscriptions after free trial period.
       - name: businessLocationId  | type: string | description: The business location ID associated with the checkout.  To learn more, see the Locations API.
       - name: paymentCurrency  | type: string | description: The currency used for payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.  This is determined by the [customer's selected currency](https://support.wix.com/en/article/multicurrency-an-overview) and the site’s supported payment currencies. If the customer’s selected currency is supported for payment, this matches the `conversionCurrency` property. If not supported, this falls back to the `currency` property.
       - name: taxExemptGroupId  | type: string | description: Tax exempt group ID to use for tax exemptions.

```