{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-order-schema.json",
  "title": "Order",
  "description": "Document representing an order.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-commerce-cloud-orders-api-openapi.yml#/components/schemas/Order",
  "additionalProperties": {
    "title": "Additional Property Support",
    "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
  },
  "required": [
    "orderNo"
  ],
  "properties": {
    "adjustedMerchandizeTotalTax": {
      "format": "double",
      "description": "The total tax on products in the order, including price adjustments, but not including service charges such as shipping.",
      "type": "number"
    },
    "adjustedShippingTotalTax": {
      "format": "double",
      "description": "The total tax on shipping charges in the order, including shipping price adjustments.",
      "type": "number"
    },
    "affiliatePartnerId": {
      "maxLength": 256,
      "description": "The affiliate partner ID.",
      "type": "string"
    },
    "affiliatePartnerName": {
      "maxLength": 256,
      "description": "The affiliate partner name.",
      "type": "string"
    },
    "billingAddress": {
      "description": "The billing address.",
      "allOf": [
        {
          "$ref": "#/$defs/Address"
        }
      ]
    },
    "bonusDiscountLineItems": {
      "description": "The bonus discount line items.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/BonusDiscountLineItem"
      }
    },
    "businessType": {
      "description": "The business type.",
      "enum": [
        "b2c",
        "b2b"
      ],
      "type": "string"
    },
    "cancelCode": {
      "maxLength": 256,
      "description": "The cancellation code.",
      "type": "string"
    },
    "cancelDescription": {
      "maxLength": 4000,
      "description": "The cancellation description.",
      "type": "string"
    },
    "channelType": {
      "description": "The sales channel.",
      "enum": [
        "storefront",
        "callcenter",
        "marketplace",
        "dss",
        "store",
        "pinterest",
        "twitter",
        "facebookads",
        "subscriptions",
        "onlinereservation",
        "customerservicecenter",
        "instagramcommerce",
        "tiktok",
        "snapchat",
        "google",
        "whatsapp",
        "youtube"
      ],
      "type": "string"
    },
    "confirmationStatus": {
      "$ref": "#/$defs/OrderConfirmationStatus"
    },
    "couponItems": {
      "description": "The coupon items.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/CouponItem"
      }
    },
    "createdBy": {
      "maxLength": 256,
      "description": "This value depends on how the order was created. If a shopper created the order, this value is Customer. If a job created the order, this value is System. Otherwise, this value is the name of the user who created the order.",
      "type": "string"
    },
    "creationDate": {
      "description": "The timestamp when the order was created.",
      "type": "string",
      "format": "date-time"
    },
    "customerLocale": {
      "maxLength": 256,
      "description": "The locale of the customer who created the order.",
      "type": "string"
    },
    "currency": {
      "$ref": "#/$defs/CurrencyCode"
    },
    "customerInfo": {
      "$ref": "#/$defs/CustomerInfo"
    },
    "customerOrderReference": {
      "maxLength": 256,
      "description": "The customer-specific reference information.",
      "type": "string"
    },
    "exportStatus": {
      "$ref": "#/$defs/OrderExportStatus"
    },
    "externalOrderNo": {
      "maxLength": 256,
      "description": "The external order number associated with the order.",
      "type": "string"
    },
    "externalOrderStatus": {
      "maxLength": 256,
      "description": "The status from an external order associated with this order.",
      "type": "string"
    },
    "externalOrderText": {
      "maxLength": 4000,
      "description": "The text from an external order associated with this order.",
      "type": "string"
    },
    "giftCertificateItems": {
      "description": "The gift certificate line items.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/GiftCertificateItem"
      }
    },
    "globalPartyId": {
      "maxLength": 256,
      "description": "The Customer 360 Global Party ID associated with the shopper.",
      "type": "string"
    },
    "invoiceNo": {
      "maxLength": 256,
      "description": "The invoice number.",
      "type": "string"
    },
    "lastModified": {
      "description": "The timestamp when the order was last modified.",
      "type": "string",
      "format": "date-time"
    },
    "merchandizeTotalTax": {
      "format": "double",
      "description": "The total tax on products in the order, not including price adjustments or service charges such as shipping.",
      "type": "number"
    },
    "orderNo": {
      "$ref": "#/$defs/OrderNo"
    },
    "orderPriceAdjustments": {
      "description": "The order-level price adjustments.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/PriceAdjustment"
      }
    },
    "orderTotal": {
      "format": "double",
      "description": "The total price, including products, shipping and, tax.",
      "type": "number"
    },
    "paymentInstruments": {
      "description": "The payment instruments list.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/PaymentInstrument"
      }
    },
    "paymentStatus": {
      "$ref": "#/$defs/OrderPaymentStatus"
    },
    "placeDate": {
      "description": "The timestamp when the order was placed.",
      "type": "string",
      "format": "date-time"
    },
    "productItems": {
      "description": "The product items.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/ProductItem"
      }
    },
    "productSubTotal": {
      "format": "double",
      "description": "The total price of all products including item-level adjustments, but not including order-level adjustments or shipping charges. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
      "type": "number"
    },
    "productTotal": {
      "format": "double",
      "description": "The total price of all products including adjustments, but not including shipping charges. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
      "type": "number"
    },
    "remoteHost": {
      "maxLength": 40,
      "description": "The IP of the host that placed this order. You can turn IP logging on or off for your site.",
      "type": "string"
    },
    "shipments": {
      "description": "The shipments.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Shipment"
      }
    },
    "shippingItems": {
      "description": "The shipping items.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/ShippingItem"
      }
    },
    "shippingStatus": {
      "$ref": "#/$defs/OrderShippingStatus"
    },
    "shippingTotal": {
      "format": "double",
      "description": "The total price of all shipping charges, including shipping adjustments. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
      "type": "number"
    },
    "shippingTotalTax": {
      "format": "double",
      "description": "The total tax on all shipping charges, not including shipping adjustments.",
      "type": "number"
    },
    "siteId": {
      "$ref": "#/$defs/SiteId"
    },
    "sourceCode": {
      "maxLength": 256,
      "description": "The source code assigned to the basket from which this order was created.",
      "type": "string"
    },
    "sourceCodeGroupId": {
      "minLength": 1,
      "maxLength": 256,
      "description": "The group ID of the source code assigned to the basket from which this order was created.",
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/OrderStatus"
    },
    "taxTotal": {
      "format": "double",
      "description": "The total tax amount.",
      "type": "number"
    },
    "taxation": {
      "description": "The taxation policy (gross or net).",
      "enum": [
        "gross",
        "net"
      ],
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "ABTestSegment": {
      "description": "Document representing an AB test segment. In an AB test that compares different customer experiences, a segment defines the customers who receive a particular experience.",
      "additionalProperties": false,
      "properties": {
        "testId": {
          "minLength": 1,
          "maxLength": 40,
          "description": "The ID of the associated AB test.",
          "type": "string"
        },
        "segmentId": {
          "minLength": 1,
          "maxLength": 40,
          "description": "The ID of the segment.",
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "testId",
        "segmentId"
      ]
    },
    "Address": {
      "description": "Document representing an order address.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      },
      "properties": {
        "address1": {
          "maxLength": 256,
          "description": "The first address line.",
          "type": "string"
        },
        "address2": {
          "maxLength": 256,
          "description": "The second address line.",
          "type": "string"
        },
        "city": {
          "maxLength": 256,
          "description": "The city.",
          "type": "string"
        },
        "companyName": {
          "maxLength": 256,
          "description": "The company name.",
          "type": "string"
        },
        "countryCode": {
          "$ref": "#/$defs/CountryCode"
        },
        "firstName": {
          "maxLength": 256,
          "description": "The first name.",
          "type": "string"
        },
        "fullName": {
          "maxLength": 256,
          "description": "The full name.",
          "type": "string"
        },
        "jobTitle": {
          "maxLength": 256,
          "description": "The job title.",
          "type": "string"
        },
        "lastName": {
          "maxLength": 256,
          "description": "The last name.",
          "type": "string"
        },
        "phone": {
          "maxLength": 256,
          "description": "The phone number.",
          "type": "string"
        },
        "postBox": {
          "maxLength": 256,
          "description": "The post office box.",
          "type": "string"
        },
        "postalCode": {
          "maxLength": 256,
          "description": "The postal code.",
          "type": "string"
        },
        "salutation": {
          "maxLength": 256,
          "description": "The salutation.",
          "type": "string"
        },
        "secondName": {
          "maxLength": 256,
          "description": "The second name.",
          "type": "string"
        },
        "stateCode": {
          "maxLength": 256,
          "description": "The state code.",
          "type": "string"
        },
        "suffix": {
          "maxLength": 256,
          "description": "The suffix.",
          "type": "string"
        },
        "suite": {
          "maxLength": 256,
          "description": "The suite.",
          "type": "string"
        },
        "title": {
          "maxLength": 256,
          "description": "The title.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "BonusDiscountLineItem": {
      "description": "Document representing a bonus discount line item.",
      "properties": {
        "bonusProducts": {
          "description": "The bonus products from which the customer can choose.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProductReference"
          }
        },
        "couponCode": {
          "maxLength": 256,
          "description": "The coupon code that triggered the promotion, if applicable.",
          "type": "string"
        },
        "id": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The ID of the line item.",
          "type": "string"
        },
        "maxBonusItems": {
          "format": "int32",
          "description": "The maximum number of bonus items the user can select for this promotion.",
          "type": "integer"
        },
        "promotionId": {
          "maxLength": 256,
          "description": "The ID of the promotion that triggered the creation of the line item.",
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      }
    },
    "CountryCode": {
      "pattern": "^[A-Z][A-Z]$",
      "description": "A two letter uppercase country code conforming to the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) alpha-2 standard.",
      "type": "string"
    },
    "CouponItem": {
      "description": "Document representing a coupon item.",
      "additionalProperties": false,
      "properties": {
        "code": {
          "maxLength": 256,
          "description": "The coupon code.",
          "type": "string"
        },
        "couponItemId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The coupon item ID.",
          "type": "string"
        },
        "statusCode": {
          "description": "The status of the coupon item.",
          "enum": [
            "coupon_code_already_in_basket",
            "coupon_code_already_redeemed",
            "coupon_code_unknown",
            "coupon_disabled",
            "redemption_limit_exceeded",
            "customer_redemption_limit_exceeded",
            "timeframe_redemption_limit_exceeded",
            "no_active_promotion",
            "coupon_already_in_basket",
            "no_applicable_promotion",
            "applied",
            "adhoc"
          ],
          "type": "string"
        },
        "valid": {
          "description": "A flag indicating whether the coupon item is valid. A coupon line item is valid if the status code is \"applied\" or \"no_applicable_promotion\".",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "CurrencyCode": {
      "description": "A three letter uppercase currency code conforming to the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard, or the string `N/A` indicating that a currency is not applicable.",
      "pattern": "^([A-Z][A-Z][A-Z]|N/A)$",
      "type": "string"
    },
    "CustomerInfo": {
      "description": "Document representing a guest or logged-in customer.",
      "additionalProperties": false,
      "properties": {
        "customerId": {
          "maxLength": 100,
          "description": "The customer ID.",
          "type": "string"
        },
        "customerName": {
          "maxLength": 256,
          "description": "The customer name.",
          "type": "string"
        },
        "customerNo": {
          "maxLength": 100,
          "description": "The customer number.",
          "type": "string"
        },
        "email": {
          "maxLength": 256,
          "description": "The customer email address.",
          "type": "string"
        },
        "guest": {
          "description": "A flag indicating if the order was placed by a guest.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "Discount": {
      "description": "Document representing a discount.",
      "additionalProperties": false,
      "required": [
        "type"
      ],
      "properties": {
        "amount": {
          "format": "double",
          "description": "The discount amount for discount types that define specific discount amounts.",
          "type": "number"
        },
        "percentage": {
          "format": "double",
          "description": "The discount percent for discount types that define percentage discounts.",
          "type": "number"
        },
        "priceBookId": {
          "maxLength": 256,
          "description": "The ID of the price book for discount types that use a price book.",
          "type": "string"
        },
        "type": {
          "description": "The type of discount.",
          "enum": [
            "percentage",
            "fixed_price",
            "amount",
            "free",
            "price_book_price",
            "bonus",
            "total_fixed_price",
            "bonus_choice",
            "percentage_off_options"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "FraudDecisions": {
      "additionalProperties": false,
      "description": "Normalized fraud decisions for the order payment instrument.\nAll properties are optional and read only. The object is omitted entirely when no decisions are returned.\nThe values remain readable for historical orders.",
      "type": "object",
      "properties": {
        "preAuthorization": {
          "description": "The pre-authorization fraud decision used by the client to orchestrate checkout. Expected values are:\n- `NOT_REVIEWED`: the payment instrument was not reviewed pre-authorization.\n- `APPROVED`: the payment authorization can proceed.\n- `CHALLENGE`: the payment authorization should be challenged with additional verification (for example, a 3D Secure challenge) before it can proceed.\n- `DECLINED`: the payment authorization is declined.\n\nA custom value may also be returned. It is read only.",
          "maxLength": 256,
          "type": "string"
        },
        "postAuthorization": {
          "description": "The post-authorization fraud decision indicating whether the transaction is covered by a fraud guarantee. Expected values are:\n- `NOT_REVIEWED`: the transaction was not reviewed for a fraud guarantee.\n- `GUARANTEED`: the transaction is covered by a fraud guarantee.\n- `NOT_GUARANTEED`: the transaction is not covered by a fraud guarantee.\n- `PENDING`: the post-authorization fraud decision is still pending.\n\nA custom value may also be returned. It is read only.",
          "maxLength": 256,
          "type": "string"
        }
      }
    },
    "GiftCertificateItem": {
      "description": "A gift certificate item.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      },
      "properties": {
        "basePrice": {
          "format": "double",
          "description": "The base price of the line item, which is the unit price not including adjustments. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
          "type": "number"
        },
        "grossPrice": {
          "format": "double",
          "description": "The gross price of the line item before applying any adjustments.",
          "type": "number"
        },
        "itemText": {
          "maxLength": 256,
          "description": "The text describing the item.",
          "type": "string"
        },
        "netPrice": {
          "format": "double",
          "description": "The net price of the line item before applying any adjustments.",
          "type": "number"
        },
        "tax": {
          "format": "double",
          "description": "The tax on the line item before applying any adjustments.",
          "type": "number"
        },
        "taxBasis": {
          "format": "double",
          "description": "The amount used to calculate the tax for this item.",
          "type": "number"
        },
        "giftCertificateMerchantId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The ID used to identify the certificate merchant.",
          "type": "string"
        },
        "giftCertificateItemId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The item ID.",
          "type": "string"
        },
        "message": {
          "maxLength": 4000,
          "description": "The gift certificate message.",
          "type": "string"
        },
        "recipientEmail": {
          "maxLength": 256,
          "description": "The recipient email.",
          "type": "string"
        },
        "recipientName": {
          "maxLength": 256,
          "description": "The recipient name.",
          "type": "string"
        },
        "senderName": {
          "maxLength": 256,
          "description": "The sender name.",
          "type": "string"
        },
        "shipmentId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The ID of the shipment to which this item belongs.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "OptionItem": {
      "description": "An option item represents an optional purchase related to a product item, and is always associated with the parent product item. For example, a refrigerator item can have a set of option items representing different warranties on the refrigerator. A shopper can only purchase one of the warranty option items together with the parent refrigerator item.",
      "properties": {
        "basePrice": {
          "format": "double",
          "description": "The base price of the line item, which is the unit price not including adjustments. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
          "type": "number"
        },
        "grossPrice": {
          "format": "double",
          "description": "The gross price of the line item before applying any adjustments.",
          "type": "number"
        },
        "gift": {
          "description": "Returns true if the item is a gift.",
          "type": "boolean"
        },
        "itemText": {
          "maxLength": 256,
          "description": "The text describing the item.",
          "type": "string"
        },
        "netPrice": {
          "format": "double",
          "description": "The net price of the line item before applying any adjustments.",
          "type": "number"
        },
        "tax": {
          "format": "double",
          "description": "The tax on the line item before applying any adjustments.",
          "type": "number"
        },
        "taxBasis": {
          "format": "double",
          "description": "The amount used to calculate the tax for this item.",
          "type": "number"
        },
        "optionId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The ID of the option.",
          "type": "string"
        },
        "optionValueId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The ID of the option value.",
          "type": "string"
        },
        "priceAdjustments": {
          "description": "The price adjustments.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/PriceAdjustment"
          }
        },
        "productId": {
          "$ref": "#/$defs/ProductId"
        }
      },
      "type": "object",
      "required": [
        "productId"
      ],
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      }
    },
    "OrderConfirmationStatus": {
      "description": "The order confirmation status.",
      "enum": [
        "confirmed",
        "not_confirmed"
      ],
      "type": "string"
    },
    "OrderExportStatus": {
      "description": "The order export status.",
      "enum": [
        "exported",
        "not_exported",
        "ready",
        "failed"
      ],
      "type": "string"
    },
    "OrderNo": {
      "description": "The order number",
      "minLength": 1,
      "maxLength": 50,
      "type": "string"
    },
    "OrderPaymentStatus": {
      "description": "The order payment status.",
      "enum": [
        "paid",
        "part_paid",
        "not_paid"
      ],
      "type": "string"
    },
    "OrderShippingStatus": {
      "description": "The order shipping status.",
      "enum": [
        "shipped",
        "part_shipped",
        "not_shipped"
      ],
      "type": "string"
    },
    "OrderStatus": {
      "description": "The order status.",
      "enum": [
        "created",
        "new",
        "completed",
        "cancelled",
        "failed"
      ],
      "type": "string"
    },
    "PaymentCard": {
      "description": "Document representing a payment card.",
      "additionalProperties": false,
      "properties": {
        "cardType": {
          "maxLength": 256,
          "description": "The payment card type (for example: Visa).",
          "type": "string"
        },
        "creditCardExpired": {
          "description": "A flag indicating if the credit card is expired.",
          "type": "boolean"
        },
        "creditCardToken": {
          "maxLength": 256,
          "description": "A credit card token. If a credit card is tokenized, the token can be used to look up the credit card data at the\ntoken store.",
          "type": "string"
        },
        "expirationMonth": {
          "minimum": 1,
          "maximum": 12,
          "format": "int32",
          "description": "The month when the payment card expires.",
          "type": "integer"
        },
        "expirationYear": {
          "format": "int32",
          "description": "The year when the payment card expires.",
          "type": "integer"
        },
        "holder": {
          "maxLength": 256,
          "description": "The payment card holder.",
          "type": "string"
        },
        "issueNumber": {
          "maxLength": 256,
          "description": "The payment card issue number.",
          "type": "string"
        },
        "maskedNumber": {
          "maxLength": 256,
          "description": "The masked payment card number. There may be a maximum of first 6 and last 4 digits.",
          "type": "string"
        },
        "numberLastDigits": {
          "maxLength": 4,
          "description": "The last digits of payment card number.",
          "type": "string"
        },
        "validFromMonth": {
          "minimum": 1,
          "maximum": 12,
          "format": "int32",
          "description": "The month from which the payment card is valid.",
          "type": "integer"
        },
        "validFromYear": {
          "format": "int32",
          "description": "The year from which the payment card is valid.",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "PaymentDetails": {
      "additionalProperties": false,
      "description": "Normalized payment details for the order payment instrument.\nAll properties are optional and read only. The object is omitted entirely when no details are available for the payment.\nThe values remain readable for historical orders.",
      "type": "object",
      "properties": {
        "type": {
          "maxLength": 256,
          "description": "The normalized payment method type. Expected values are `bancontact`, `card`, `gift_card`, `eps`, `ideal`, `klarna`,\n`sepa_debit`, `paypal`, `venmo`, `afterpay_clearpay`, `amazon_pay`, and `twint`. A custom value may also be returned. It is read only.",
          "type": "string"
        },
        "brand": {
          "maxLength": 20,
          "description": "The normalized card brand. Expected values are `amex`, `diners`, `discover`, `jcb`, `mastercard`,\n`unionpay`, `visa`, and `unknown`. A custom value may also be returned. It is read only.",
          "type": "string"
        },
        "last4": {
          "maxLength": 4,
          "description": "The last four digits of the payment instrument. It is read only.",
          "type": "string"
        },
        "walletType": {
          "maxLength": 20,
          "description": "The normalized digital wallet used for the payment. Expected values are `apple_pay` and `google_pay`.\nA custom value may also be returned. It is read only.",
          "type": "string"
        },
        "expirationMonth": {
          "minimum": 1,
          "maximum": 12,
          "format": "int32",
          "description": "The month when the payment instrument expires. It is read only.",
          "type": "integer"
        },
        "expirationYear": {
          "format": "int32",
          "description": "The year when the payment instrument expires. It is read only.",
          "type": "integer"
        },
        "token": {
          "maxLength": 40,
          "description": "The reference token representing the payment instrument. This is an opaque\nidentifier, not the card number (PAN). It is read only.",
          "type": "string"
        },
        "tokenType": {
          "maxLength": 20,
          "description": "The type of token backing the reference token. Expected values are\n`NETWORK` and `GATEWAY`. A custom value may also be returned. It is read only.",
          "type": "string"
        },
        "accountHolderName": {
          "maxLength": 256,
          "description": "The name of the payment instrument account holder. It is read only.",
          "type": "string"
        },
        "bin": {
          "maxLength": 8,
          "description": "The bank identification number (BIN) of the payment card. It is read only.",
          "type": "string"
        },
        "dpanLast4": {
          "maxLength": 4,
          "description": "The last four digits of the device primary account number for a wallet-tokenized card. It is read only.",
          "type": "string"
        },
        "issuingCountry": {
          "maxLength": 2,
          "description": "The ISO 3166-1 alpha-2 country code of the issuing bank. It is read only.",
          "type": "string"
        },
        "fundingType": {
          "maxLength": 20,
          "description": "The normalized card funding type. Expected values are `CREDIT`, `DEBIT`, and `PREPAID`.\nA custom value may also be returned. It is read only.",
          "type": "string"
        }
      }
    },
    "PaymentInstrument": {
      "description": "Document representing an order payment instrument.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      },
      "properties": {
        "bankRoutingNumber": {
          "maxLength": 256,
          "description": "The bank routing number.",
          "type": "string"
        },
        "maskedGiftCertificateCode": {
          "maxLength": 256,
          "description": "The gift certificate code with the last 4 characters not masked.",
          "type": "string"
        },
        "paymentCard": {
          "description": "The payment card.",
          "allOf": [
            {
              "$ref": "#/$defs/PaymentCard"
            }
          ]
        },
        "paymentInstrumentId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The payment instrument ID.",
          "type": "string"
        },
        "paymentMethodId": {
          "maxLength": 256,
          "description": "The payment method ID.",
          "type": "string"
        },
        "paymentTransaction": {
          "description": "The payment transaction.",
          "allOf": [
            {
              "$ref": "#/$defs/PaymentTransaction"
            }
          ]
        },
        "paymentDetails": {
          "description": "The normalized payment details for the order payment instrument. It is read only.\nOmitted when no details are available for the payment.",
          "allOf": [
            {
              "$ref": "#/$defs/PaymentDetails"
            }
          ]
        },
        "fraudDecisions": {
          "description": "The normalized fraud decisions for the order payment instrument. It is read only.\nOmitted when no decisions are returned.",
          "allOf": [
            {
              "$ref": "#/$defs/FraudDecisions"
            }
          ]
        }
      },
      "type": "object"
    },
    "PaymentTransaction": {
      "description": "Document representing an order payment transaction.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      },
      "properties": {
        "amount": {
          "format": "double",
          "description": "The payment transaction amount.",
          "type": "number"
        },
        "authorizationStatus": {
          "description": "The authorization status of the payment transaction.",
          "allOf": [
            {
              "$ref": "#/$defs/Status"
            }
          ]
        },
        "transactionId": {
          "maxLength": 256,
          "description": "The payment service specific transaction ID.",
          "type": "string"
        },
        "transactionDetails": {
          "description": "The normalized transaction details for the order payment transaction. It is read only.\nOmitted when no details are available.",
          "allOf": [
            {
              "$ref": "#/$defs/TransactionDetails"
            }
          ]
        }
      },
      "type": "object"
    },
    "PriceAdjustment": {
      "description": "Document representing a price adjustment within a basket or order. Price adjustments can be assigned at the order, product, or shipping level.",
      "required": [
        "promotionId"
      ],
      "properties": {
        "basePrice": {
          "format": "double",
          "description": "The adjustment amount. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
          "type": "number"
        },
        "grossPrice": {
          "format": "double",
          "description": "The adjustment amount, including tax.",
          "type": "number"
        },
        "itemText": {
          "maxLength": 256,
          "description": "The text describing the adjustment.",
          "type": "string"
        },
        "netPrice": {
          "format": "double",
          "description": "The adjustment amount, not including tax.",
          "type": "number"
        },
        "tax": {
          "format": "double",
          "description": "The tax on the adjustment amount.",
          "type": "number"
        },
        "taxBasis": {
          "format": "double",
          "description": "The amount used to calculate the tax for this adjustment.",
          "type": "number"
        },
        "abTestSegment": {
          "description": "The AB testing segment, if enabled for the site and applicable to this price adjustment.",
          "allOf": [
            {
              "$ref": "#/$defs/ABTestSegment"
            }
          ]
        },
        "appliedDiscount": {
          "description": "Details describing the discount on which this price adjustment is based. For adjustments not based on a discount, this value is null.",
          "allOf": [
            {
              "$ref": "#/$defs/Discount"
            }
          ]
        },
        "campaignId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The campaign ID of the promotion on which this price adjustment is based. For adjustments not based on a promotion, this value is null. For adjustments based on an AB test promotion, this value is not null, but isn't meaningful.",
          "type": "string"
        },
        "couponCode": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The coupon code of the coupon on which this price adjustment is based. For adjustments not based on a coupon, this value is null.",
          "type": "string"
        },
        "createdBy": {
          "maxLength": 256,
          "description": "The user who created the price adjustment.",
          "type": "string"
        },
        "creationDate": {
          "description": "The timestamp when the price adjustment was created.",
          "type": "string",
          "format": "date-time"
        },
        "custom": {
          "description": "A flag indicating whether this price adjustment was created by custom logic. This flag is set to true unless the price adjustment was created by the promotion engine.",
          "type": "boolean"
        },
        "lastModified": {
          "description": "The timestamp when the price adjustment was last modified.",
          "type": "string",
          "format": "date-time"
        },
        "manual": {
          "description": "A flag indicating whether this price adjustment was created by a manual process. If the price adjustment was created by the promotion engine, this value is always false.",
          "type": "boolean"
        },
        "priceAdjustmentId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The price adjustment ID.",
          "type": "string"
        },
        "promotionId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The promotion ID of the promotion on which this price adjustment is based. Custom price adjustment can assign an arbitrary promotion ID, but it must not be used by the promotion engine. If no promotion ID is specified, then the system assigns a generated ID.",
          "type": "string"
        },
        "reasonCode": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The reason code why this price adjustment was made.",
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      }
    },
    "ProductId": {
      "minLength": 1,
      "maxLength": 100,
      "type": "string",
      "description": "The id (SKU) of the product."
    },
    "ProductItem": {
      "description": "Document representing a product item.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      },
      "required": [
        "productId",
        "shipmentId",
        "taxRate"
      ],
      "properties": {
        "basePrice": {
          "format": "double",
          "description": "The base price of the line item, which is the unit price not including adjustments. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
          "type": "number"
        },
        "grossPrice": {
          "format": "double",
          "description": "The gross price of the line item before applying any adjustments.",
          "type": "number"
        },
        "itemText": {
          "maxLength": 256,
          "description": "The text describing the item.",
          "type": "string"
        },
        "netPrice": {
          "format": "double",
          "description": "The net price of the line item before applying any adjustments.",
          "type": "number"
        },
        "tax": {
          "format": "double",
          "description": "The tax on the line item before applying any adjustments.",
          "type": "number"
        },
        "taxBasis": {
          "format": "double",
          "description": "The amount used to calculate the tax for this item.",
          "type": "number"
        },
        "adjustedTax": {
          "format": "double",
          "description": "The tax on the line item, including any adjustments.",
          "type": "number"
        },
        "bonusDiscountLineItemId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The ID of the bonus discount line item to which this bonus product relates.",
          "type": "string"
        },
        "bonusProductLineItem": {
          "description": "A flag indicating whether this item is a bonus product.",
          "type": "boolean"
        },
        "brand": {
          "maxLength": 256,
          "type": "string"
        },
        "bundledProductItems": {
          "description": "The bundled product items.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProductItem"
          }
        },
        "externalLineItemStatus": {
          "maxLength": 256,
          "description": "The external line item status.",
          "type": "string"
        },
        "externalLineItemText": {
          "description": "The external line item text.",
          "type": "string"
        },
        "gift": {
          "description": "Returns true if the item is a gift.",
          "type": "boolean"
        },
        "giftMessage": {
          "maxLength": 4000,
          "description": "The gift message.",
          "type": "string"
        },
        "inventoryId": {
          "maxLength": 256,
          "description": "The inventory list ID associated with this item.",
          "type": "string"
        },
        "itemId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The product item ID. Use this to identify this item when updating its quantity or creating a custom price adjustment for it.",
          "type": "string"
        },
        "minOrderQuantity": {
          "format": "double",
          "description": "The minimum order quantity for this product.",
          "type": "number"
        },
        "optionItems": {
          "description": "The option items.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/OptionItem"
          }
        },
        "position": {
          "format": "double",
          "description": "The position of the product line item.",
          "type": "number"
        },
        "priceAdjustments": {
          "description": "The price adjustments.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/PriceAdjustment"
          }
        },
        "priceAfterItemDiscount": {
          "format": "double",
          "description": "The price of the product line item including item-level adjustments, but not including order-level adjustments or shipping charges. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
          "type": "number"
        },
        "priceAfterOrderDiscount": {
          "format": "double",
          "description": "The price of the product line item including item-level adjustments and prorated order-level adjustments, but not including shipping charges. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
          "type": "number"
        },
        "productId": {
          "$ref": "#/$defs/ProductId"
        },
        "productListItem": {
          "description": "If this product line item was added from a product list, this value is a reference to the corresponding product list item.",
          "allOf": [
            {
              "$ref": "#/$defs/ProductListItemReference"
            }
          ]
        },
        "productName": {
          "maxLength": 4000,
          "description": "The name of the product.",
          "type": "string"
        },
        "quantity": {
          "minimum": 0,
          "format": "double",
          "description": "The ordered quantity of the products represented by this item.",
          "type": "number"
        },
        "shipmentId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The ID of the shipment to which this item belongs.",
          "type": "string"
        },
        "shippingItemId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "If the product line item has a related shipping item, this value is the shipping item ID. A related shipping item represents a surcharge applied to individual products using a particular shipping method.",
          "type": "string"
        },
        "stepQuantity": {
          "format": "double",
          "type": "number"
        },
        "taxItems": {
          "maxItems": 10,
          "description": "The individual tax items for this product line item (e.g. state tax, county tax).",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TaxItem"
          }
        },
        "taxRate": {
          "format": "double",
          "description": "The tax rate applicable to this product line item. For a 10% tax rate, the value is 0.1.",
          "type": "number"
        }
      },
      "type": "object"
    },
    "ProductListItemReference": {
      "description": "Document representing product list item details.",
      "additionalProperties": false,
      "required": [
        "purchasedQuantity"
      ],
      "properties": {
        "id": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The ID of the product list item.",
          "type": "string"
        },
        "priority": {
          "format": "int32",
          "description": "The priority of the product list item.",
          "type": "integer"
        },
        "product": {
          "description": "A reference to the associated product.",
          "allOf": [
            {
              "$ref": "#/$defs/ProductReference"
            }
          ]
        },
        "productList": {
          "description": "A reference to the associated product list.",
          "allOf": [
            {
              "$ref": "#/$defs/ProductListReference"
            }
          ]
        },
        "public": {
          "type": "boolean"
        },
        "purchasedQuantity": {
          "format": "double",
          "description": "The total quantity of this item purchased from the product list.",
          "type": "number"
        },
        "quantity": {
          "minimum": 0,
          "format": "double",
          "description": "The number of products or gift certificates that get shipped when purchasing this product list item.",
          "type": "number"
        },
        "type": {
          "description": "Specifies whether the item is a product or a gift certificate.",
          "enum": [
            "product",
            "gift_certificate"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "ProductListReference": {
      "description": "Document representing a product list.",
      "additionalProperties": false,
      "properties": {
        "description": {
          "maxLength": 256,
          "description": "The description of this product list.",
          "type": "string"
        },
        "name": {
          "maxLength": 256,
          "description": "The name of this product list.",
          "type": "string"
        },
        "public": {
          "description": "A flag indicating whether the owner made this product list available for access by other customers.",
          "type": "boolean"
        },
        "type": {
          "description": "The type of the product list.",
          "enum": [
            "wish_list",
            "gift_registry",
            "shopping_list",
            "custom_1",
            "custom_2",
            "custom_3"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "ProductReference": {
      "description": "Document representing a product.",
      "additionalProperties": false,
      "properties": {
        "productId": {
          "$ref": "#/$defs/ProductId"
        },
        "productName": {
          "maxLength": 4000,
          "description": "The name of the product.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Shipment": {
      "description": "Document representing a shipment.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      },
      "required": [
        "shipmentId",
        "shipmentNo"
      ],
      "properties": {
        "adjustedMerchandizeTotalTax": {
          "format": "double",
          "description": "The total tax on products in the shipment, including item-level price adjustments but not including service charges such as shipping. If the Discount Taxation preference is set to Tax Products and Shipping Only Based on Adjusted Price, this amount also includes prorated order-level price adjustments.",
          "type": "number"
        },
        "adjustedShippingTotalTax": {
          "format": "double",
          "description": "The total tax on shipping charges in the shipment, including shipping price adjustments.",
          "type": "number"
        },
        "gift": {
          "description": "A flag indicating whether the shipment is a gift.",
          "type": "boolean"
        },
        "giftMessage": {
          "maxLength": 4000,
          "description": "The gift message.",
          "type": "string"
        },
        "merchandizeTotalTax": {
          "format": "double",
          "description": "The total tax on products in the shipment, not including price adjustments or service charges such as shipping.",
          "type": "number"
        },
        "productSubTotal": {
          "format": "double",
          "description": "The total price of all products in the shipment, including item-level adjustments, but not including order-level adjustments or shipping charges. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
          "type": "number"
        },
        "productTotal": {
          "format": "double",
          "description": "The total price of all products in the shipment including item-level adjustments and prorated order-level adjustments, but not including shipping charges. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
          "type": "number"
        },
        "shipmentId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The order-specific ID of the shipment. The default value is 'me'.",
          "type": "string"
        },
        "shipmentNo": {
          "maxLength": 256,
          "description": "The shipment number of this shipment. This number is automatically generated.",
          "type": "string"
        },
        "shipmentTotal": {
          "format": "double",
          "description": "The total price of all products in the shipment including item-level adjustments, shipping charges, and tax.",
          "type": "number"
        },
        "shippingAddress": {
          "description": "The shipping address.",
          "allOf": [
            {
              "$ref": "#/$defs/Address"
            }
          ]
        },
        "shippingMethod": {
          "description": "The shipping method.",
          "allOf": [
            {
              "$ref": "#/$defs/ShippingMethodReference"
            }
          ]
        },
        "shippingStatus": {
          "description": "The shipping status of the shipment.",
          "enum": [
            "not_shipped",
            "shipped"
          ],
          "type": "string"
        },
        "shippingTotal": {
          "format": "double",
          "description": "The total price of all shipping charges in the shipment, including shipping adjustments. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
          "type": "number"
        },
        "shippingTotalTax": {
          "format": "double",
          "description": "The total tax on shipping charges in the shipment, not including shipping price adjustments.",
          "type": "number"
        },
        "taxTotal": {
          "format": "double",
          "description": "The total tax on the shipment, including item-level price adjustments and service charges such as shipping. If the Discount Taxation preference is set to Tax Products and Shipping Only Based on Adjusted Price, this amount also includes prorated order-level price adjustments. This field value must match the summed up taxTotal, and an InvalidTaxTotalException is thrown if the values do not match.",
          "type": "number"
        },
        "trackingNumber": {
          "maxLength": 256,
          "description": "The tracking number of the shipment.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ShippingItem": {
      "description": "Document representing a shipping item.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      },
      "required": [
        "taxRate"
      ],
      "properties": {
        "basePrice": {
          "format": "double",
          "description": "The base price of the shipping item, which is the unit price not including adjustments. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
          "type": "number"
        },
        "grossPrice": {
          "format": "double",
          "description": "The gross price of the shipping item before applying any adjustments.",
          "type": "number"
        },
        "itemText": {
          "maxLength": 256,
          "description": "The text describing the shipping item.",
          "type": "string"
        },
        "netPrice": {
          "format": "double",
          "description": "The net price of the shipping item before applying any adjustments.",
          "type": "number"
        },
        "tax": {
          "format": "double",
          "description": "The tax for the shipping item, not including price adjustments.",
          "type": "number"
        },
        "taxBasis": {
          "format": "double",
          "description": "The amount used to calculate the tax for this shipping item.",
          "type": "number"
        },
        "adjustedTax": {
          "format": "double",
          "description": "The tax for the shipping item, including price adjustments.",
          "type": "number"
        },
        "itemId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The shipping item ID. Use this value to identify this shipping item when updating its quantity or creating a custom price adjustment for it.",
          "type": "string"
        },
        "priceAdjustments": {
          "description": "The price adjustments.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/PriceAdjustment"
          }
        },
        "priceAfterItemDiscount": {
          "format": "double",
          "description": "The price of the shipping item including item-level adjustments, but not including order-level adjustments or shipping charges. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
          "type": "number"
        },
        "shipmentId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The ID of the shipment to which this item belongs.",
          "type": "string"
        },
        "taxRate": {
          "format": "double",
          "description": "The tax rate applicable to this shipping line item. For a 10% tax rate, the value is 0.1.",
          "type": "number"
        },
        "type": {
          "default": "fixed_price",
          "description": "The type of shipping charge applicable to this shipping item.",
          "enum": [
            "fixed_price",
            "surcharge"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "ShippingMethodReference": {
      "description": "Document representing a reference to a shipping method.",
      "additionalProperties": false,
      "properties": {
        "id": {
          "maxLength": 256,
          "description": "The shipping method ID.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "SiteId": {
      "minLength": 1,
      "maxLength": 32,
      "description": "The identifier of the site that a request is being made in the context of. Attributes might have site specific values, and some objects may only be assigned to specific sites",
      "type": "string"
    },
    "Status": {
      "description": "Document representing a status of an object.",
      "additionalProperties": false,
      "properties": {
        "code": {
          "maxLength": 256,
          "description": "The status code.",
          "type": "string"
        },
        "message": {
          "maxLength": 256,
          "description": "The message corresponding to the status.",
          "type": "string"
        },
        "status": {
          "minimum": 0,
          "maximum": 2,
          "format": "int32",
          "description": "A constant corresponding to the status code. The value is 0 for OK, 1 for ERROR, and 2 for WARN.",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "TaxItem": {
      "description": "A specific tax item for a line item (e.g. state tax, county tax).",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      },
      "required": [
        "id",
        "rate"
      ],
      "properties": {
        "id": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The tax item identifier (e.g. STATE, COUNTY).",
          "type": "string"
        },
        "rate": {
          "format": "double",
          "description": "The tax rate for this tax item. For a 7% tax rate, the value is 0.07.",
          "type": "number"
        },
        "value": {
          "format": "double",
          "description": "The tax value (amount) for this tax item.",
          "type": "number"
        }
      },
      "type": "object"
    },
    "TransactionDetails": {
      "additionalProperties": false,
      "description": "Normalized transaction details for the order payment transaction. Specific fields are populated\ndepending on the `paymentDetails.type` value.\nAll properties are optional and read only. The object is omitted entirely when no details are available.",
      "type": "object",
      "properties": {
        "cvcResult": {
          "maxLength": 20,
          "description": "The card verification code check result. Expected values are `MATCH`, `NO_MATCH`, `NOT_PROCESSED`,\nand `UNAVAILABLE`. A custom value may also be returned. It is read only.",
          "type": "string"
        },
        "avsResult": {
          "maxLength": 1,
          "description": "The address verification service result. Expected values are `Y` (full match), `N` (no match),\n`A` (address only), `Z` (postal code only), `U` (unavailable), `S` (unsupported), and `R` (retry).\nA custom value may also be returned. It is read only.",
          "type": "string"
        },
        "threeDSResult": {
          "maxLength": 20,
          "description": "The 3D Secure authentication result. Expected values are `AUTHENTICATED`, `ATTEMPTED`, `FAILED`,\n`REJECTED`, and `UNAVAILABLE`. A custom value may also be returned. It is read only.",
          "type": "string"
        },
        "threeDSVersion": {
          "maxLength": 2,
          "description": "The 3D Secure protocol version. Expected values are `V1` and `V2`. A custom value may also be returned. It is read only.",
          "type": "string"
        },
        "threeDSTransactionId": {
          "maxLength": 40,
          "description": "The 3D Secure transaction identifier. It is read only.",
          "type": "string"
        },
        "electronicCommerceIndicator": {
          "maxLength": 3,
          "description": "The electronic commerce indicator (ECI) value returned by the processor. It is read only.",
          "type": "string"
        },
        "approvalCode": {
          "maxLength": 256,
          "description": "The approval code returned by the provider on a successful gift card capture. It is read only.",
          "type": "string"
        },
        "reasonCode": {
          "maxLength": 256,
          "description": "The reason code returned by the provider on a failed gift card capture. Expected values are\n`DECLINED` and `INSUFFICIENT_FUNDS`. A custom value may also be returned. It is read only.",
          "type": "string"
        },
        "processorResponseText": {
          "maxLength": 256,
          "description": "The human-readable gift card processor response text. The language and localization of this text are\nprovider-defined and may vary by provider integration. It is read only.",
          "type": "string"
        }
      }
    }
  }
}