---
title: Travel pre-authorization risk score
slug: public-apis/travel-pre-authorization-risk-score
createdAt: 2026-08-26T17:14:44.334Z
---

{
  "id": "w1EoZV8MR0f_g1UNLbL1o",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "https://api.accertify.net/api/v1/unified-risk/preAuthTravel",
    "name": "Travel pre-authorization risk score",
    "description": "<p>Submits a travel purchase event before payment authorization to receive a real-time risk assessment. Returns device intelligence, connection signals, and optionally 3DS/payment optimization recommendations.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "required",
          "name": "preAuth",
          "type": "object",
          "example": "{\"transactionID\":\"ABC123456\",\"transactionDateTime\":\"2022-03-11T17:07:24-07:00\",\"eventSource\":\"web\",\"accountID\":\"12363454566\",\"isGuestCheckout\":false,\"isAgenticCheckout\":false,\"paymentAmount\":1082.91,\"taxAmount\":1.23,\"deliveryAmount\":5.99,\"currencyCode\":\"USD\",\"success\":false,\"ipAddress\":\"10.12.12.123\",\"emailAddress\":\"a@example.com\",\"authenticationMethod\":\"magicLink\",\"failureCode\":\"authFailed\",\"brand\":\"acme\",\"phoneNumber\":\"3125555555\",\"latitude\":33.836,\"longitude\":-117.914,\"accountStatus\":\"dormant\",\"firstName\":\"Jane\",\"middleName\":\"Marie\",\"lastName\":\"Doe\",\"purchaseType\":\"services\",\"isPaymentOptimization\":false,\"is3DS\":false,\"account\":{\"isEnrolledInLoyaltyProgram\":true,\"loyaltyNumber\":\"Id1234\",\"accountLocale\":\"en-US\",\"accountLevel\":\"Gold\",\"accountType\":\"family\"},\"payment\":{\"salesRepID\":\"SR#46k90\",\"referralCode\":\"API 210315\",\"isGift\":false,\"orderMessage\":\"Enjoy the gift\",\"isPaymentInInstallments\":false,\"isPaymentRecurring\":false},\"addresses\":[{\"addressType\":\"billing\",\"addressID\":\"23l4jk23klj23\",\"firstName\":\"Jane\",\"lastName\":\"Doe\",\"phone\":\"3125555555\",\"phoneCountryCode\":\"001\",\"address1\":\"1863 Main Street\",\"city\":\"Chicago\",\"region\":\"IL\",\"postCode\":\"60601\",\"country\":\"US\"}],\"paymentMethods\":[{\"paymentType\":\"creditCard\",\"paymentMethodID\":\"2ljr9vxsdfew\",\"paymentMethodAmount\":1082.91,\"expirationMonth\":\"11\",\"expirationYear\":\"2027\",\"nameOnCreditCard\":\"Jane Doe\",\"cardBin\":\"345678\",\"cardLastFour\":\"1111\"}],\"flightInformation\":{\"pnr\":\"ABC123\",\"flightType\":\"round-trip\",\"initialDepartingAirport\":\"ORD\",\"finalArrivalAirport\":\"LAX\",\"numberOfPassengers\":1},\"lodgingInformation\":{\"lodgingDetails\":[{\"lodgingName\":\"The Landmark London\",\"lodgingPropertyID\":\"LDMRK001\",\"lodgingChainName\":\"Independent\",\"lodgingAmount\":350,\"lodgingAmountCurrencyCode\":\"GBP\",\"lodgingRoomOccupancy\":2,\"lodgingBedType\":\"King\",\"lodgingRoomType\":\"Deluxe\",\"lodgingCheckInDateTime\":\"2022-04-16T15:00:00+01:00\",\"lodgingCheckOutDateTime\":\"2022-04-20T11:00:00+01:00\",\"lodgingAddressID\":\"23l4jk23klj24\"}],\"guests\":[{\"guestFirstName\":\"Jane\",\"guestMiddleName\":\"Marie\",\"guestLastName\":\"Doe\"}]},\"carRentalInformation\":{\"carRentalDetails\":[{\"carRentalBrand\":\"Hertz\",\"carRentalAmount\":210,\"carRentalCurrencyCode\":\"GBP\",\"rentalType\":\"daily\",\"rentalClass\":\"compact\",\"pickupAddressID\":\"23l4jk23klj25\",\"pickUpDateTime\":\"2022-04-16T16:00:00+01:00\",\"returnAddressID\":\"23l4jk23klj26\",\"returnDateTime\":\"2022-04-20T10:00:00+01:00\"}]},\"cruiseInformation\":{\"cruiseDetails\":[{\"cruiseBrand\":\"Royal Caribbean\",\"cruiseAmount\":1500,\"cruiseCurrencyCode\":\"USD\",\"cruiseDepartureAddressID\":\"23l4jk23klj27\",\"cruiseInitialStartDateTime\":\"2022-06-01T16:00:00-04:00\",\"cruiseReturnAddressID\":\"23l4jk23klj27\",\"cruiseFinalReturnDateTime\":\"2022-06-08T09:00:00-04:00\"}]},\"activityInformation\":{\"activityDetails\":[{\"activitySupplier\":\"London Eye\",\"activityName\":\"Thames River Cruise\",\"activityAmount\":45,\"activityAmountCurrencyCode\":\"GBP\",\"activityAddressID\":\"23l4jk23klj28\",\"activityStartDateTime\":\"2022-04-17T14:00:00+01:00\"}]},\"agencyInformation\":{\"agencyDetails\":[{\"agencyCode\":\"01234ABC\",\"agencyName\":\"Acme Travel Inc\",\"agencyConfirmationNumber\":\"ABC123\",\"agencyCountryCode\":\"US\"}]},\"insuranceInformation\":{\"insuranceDetails\":[{\"insuranceType\":\"travel\",\"insuranceCity\":\"Chicago\",\"insuranceCountryCode\":\"US\",\"insuranceTotalAmount\":399.04,\"insuranceCurrencyCode\":\"USD\"}]}}",
          "description": "<p>Top-level scalar fields shared by the Universal Fraud API preAuth and postAuth endpoints. Travel-specific top-level fields for the Unified Fraud API preAuth and postAuth endpoints.</p>",
          "schema": [
            {
              "name": "transactionID",
              "kind": "required",
              "type": "string",
              "description": "<p>[Required] Unique transaction identifier (max 40 chars).</p>",
              "example": "ABC123456",
              "maxLength": 40
            },
            {
              "name": "transactionDateTime",
              "kind": "required",
              "type": "string<date-time>",
              "description": "<p>[Required] ISO 8601 timestamp of when the transaction occurred.</p>",
              "example": "2022-03-11T17:07:24-07:00",
              "format": "date-time"
            },
            {
              "name": "eventSource",
              "kind": "required",
              "type": "string<agentPhone | agentStore | affiliate | kiosk | mobileApp | other | web>",
              "description": "<p>[Required] Originating channel; one of: agentPhone, agentStore, affiliate, kiosk, mobileApp, other, web.</p>",
              "example": "web",
              "enum": [
                "agentPhone",
                "agentStore",
                "affiliate",
                "kiosk",
                "mobileApp",
                "other",
                "web"
              ]
            },
            {
              "name": "accountID",
              "kind": "optional",
              "type": "string",
              "description": "<p>[Conditional] Merchant internal account identifier; required when isGuestCheckout is \"false\".</p>",
              "example": "12363454566"
            },
            {
              "name": "isGuestCheckout",
              "kind": "required",
              "type": "boolean",
              "description": "<p>[Required] Whether the customer checked out without an account (\"true\"/\"false\").</p>",
              "example": false
            },
            {
              "name": "isAgenticCheckout",
              "kind": "optional",
              "type": "boolean",
              "description": "<p>[Optional] String \"true\"/\"false\" also accepted.</p>",
              "example": false
            },
            {
              "name": "paymentAmount",
              "kind": "required",
              "type": "number",
              "description": "<p>[Required] Total payment amount including tax and delivery; zero or positive, up to 2 decimal places.</p>",
              "example": 1082.91,
              "minimum": 0
            },
            {
              "name": "taxAmount",
              "kind": "required",
              "type": "number",
              "description": "<p>[Required] Tax portion of the payment amount; zero or positive, up to 2 decimal places.</p>",
              "example": 1.23,
              "minimum": 0
            },
            {
              "name": "deliveryAmount",
              "kind": "required",
              "type": "number",
              "description": "<p>[Required] Delivery/shipping cost; zero or positive, up to 2 decimal places.</p>",
              "example": 5.99,
              "minimum": 0
            },
            {
              "name": "currencyCode",
              "kind": "required",
              "type": "string",
              "description": "<p>[Required] ISO 4217 three-letter currency code for the transaction.</p>",
              "example": "USD"
            },
            {
              "name": "success",
              "kind": "required",
              "type": "boolean",
              "description": "<p>[Required] Outcome of the transaction attempt (\"true\"/\"false\").</p>",
              "example": false
            },
            {
              "name": "ipAddress",
              "kind": "optional",
              "type": "string",
              "description": "<p>[Conditional] Client IP address; required when eventSource is mobileApp or web.</p>",
              "example": "10.12.12.123"
            },
            {
              "name": "userAgent",
              "kind": "optional",
              "type": "string",
              "description": "<p>[Conditional] Browser User-Agent string (max 250 chars); required when eventSource is web.</p>",
              "example": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:72.0) Gecko/20100101 Firefox/72.0",
              "maxLength": 250
            },
            {
              "name": "deviceTransactionID",
              "kind": "optional",
              "type": "string",
              "description": "<p>[Optional] Session token generated by the device data collection script.</p>",
              "example": "e1a1aade06e2557f34036eeb06173faf1fa05c64959383"
            },
            {
              "name": "devicePayload",
              "kind": "optional",
              "type": "string",
              "description": "<p>[Optional] Raw payload from the device fingerprinting library.</p>",
              "example": "afklasdjlasdjl3l23j23423klj"
            },
            {
              "name": "ubaID",
              "kind": "optional",
              "type": "string",
              "description": "<p>[Optional] UBA behavioral analytics session ID (max 100 chars).</p>",
              "example": "3143e969395de649c48c1c9f3e363a3e7ae7",
              "maxLength": 100
            },
            {
              "name": "ubaEvents",
              "kind": "optional",
              "type": "string",
              "description": "<p>[Optional] Serialized stream of UBA behavioral events captured during the session.</p>",
              "example": "lasjdlkfdsljelkrrjwl3kl324j32k432"
            },
            {
              "name": "emailAddress",
              "kind": "required",
              "type": "string",
              "description": "<p>[Required] Customer email address; must be a valid email format.</p>",
              "example": "a@example.com"
            },
            {
              "name": "authenticationMethod",
              "kind": "optional",
              "type": "string<appAuthenticator | appPush | other | password | passkey | magicLink | SMS>",
              "description": "<p>[Optional] Method used to authenticate the customer; one of: appAuthenticator, appPush, magicLink, other, passkey, password, SMS.</p>",
              "example": "magicLink",
              "enum": [
                "appAuthenticator",
                "appPush",
                "other",
                "password",
                "passkey",
                "magicLink",
                "SMS"
              ]
            },
            {
              "name": "failureCode",
              "kind": "optional",
              "type": "string<authFailed | exportCompliance | other>",
              "description": "<p>[Conditional] Reason the transaction was unsuccessful; one of: authFailed, exportCompliance, other. Required when success is \"false\".</p>",
              "example": "authFailed",
              "enum": [
                "authFailed",
                "exportCompliance",
                "other"
              ]
            },
            {
              "name": "brand",
              "kind": "optional",
              "type": "string",
              "description": "<p>[Optional] Merchant sub-brand for multi-brand deployments (max 50 chars).</p>",
              "example": "acme",
              "maxLength": 50
            },
            {
              "name": "phoneNumber",
              "kind": "optional",
              "type": "string",
              "description": "<p>[Optional] Customer billing phone number (max 25 chars).</p>",
              "example": "3125555555",
              "maxLength": 25
            },
            {
              "name": "latitude",
              "kind": "optional",
              "type": "number",
              "description": "<p>[Optional] Geographic latitude of the transaction origin.</p>",
              "example": 33.836
            },
            {
              "name": "longitude",
              "kind": "optional",
              "type": "number",
              "description": "<p>[Optional] Geographic longitude of the transaction origin.</p>",
              "example": -117.914
            },
            {
              "name": "accountStatus",
              "kind": "optional",
              "type": "string<active | dormant | suspended | terminated | trial | other>",
              "description": "<p>[Optional] Current lifecycle status of the account; one of: active, dormant, suspended, terminated, trial, other.</p>",
              "example": "dormant",
              "enum": [
                "active",
                "dormant",
                "suspended",
                "terminated",
                "trial",
                "other"
              ]
            },
            {
              "name": "firstName",
              "kind": "optional",
              "type": "string",
              "description": "<p>[Optional] Customer billing first name.</p>",
              "example": "Jane"
            },
            {
              "name": "middleName",
              "kind": "optional",
              "type": "string",
              "description": "<p>[Optional] Customer billing middle name.</p>",
              "example": "Marie"
            },
            {
              "name": "lastName",
              "kind": "optional",
              "type": "string",
              "description": "<p>[Optional] Customer billing last name.</p>",
              "example": "Doe"
            },
            {
              "name": "purchaseType",
              "kind": "required",
              "type": "string<physicalItems | digitalItems | services | other>",
              "description": "<p>[Required] Nature of the items in this order; one of: physicalItems, digitalItems, services, other.</p>",
              "example": "services",
              "enum": [
                "physicalItems",
                "digitalItems",
                "services",
                "other"
              ]
            },
            {
              "name": "listingID",
              "kind": "optional",
              "type": "string",
              "description": "<p>[Optional] Marketplace listing identifier (max 50 chars).</p>",
              "example": "abcd1234",
              "maxLength": 50
            },
            {
              "name": "isPaymentOptimization",
              "kind": "optional",
              "type": "boolean",
              "description": "<p>[Optional] Whether payment optimization is enabled (\"true\"/\"false\").</p>",
              "example": false
            },
            {
              "name": "is3DS",
              "kind": "optional",
              "type": "boolean",
              "description": "<p>[Optional] Whether 3D Secure authentication was applied (\"true\"/\"false\").</p>",
              "example": false
            },
            {
              "name": "flightInformation",
              "kind": "optional",
              "type": "object",
              "description": "<p>Nested object containing flight itinerary, segment, and passenger information.</p>",
              "example": "{\"pnr\":\"ABC123\",\"flightType\":\"round-trip\",\"initialDepartingAirport\":\"ORD\",\"finalArrivalAirport\":\"LAX\",\"numberOfPassengers\":1}",
              "schema": [
                {
                  "name": "pnr",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Passenger name record for the itinerary.</p>",
                  "example": "ABC123"
                },
                {
                  "name": "flightType",
                  "kind": "optional",
                  "type": "string<one-way | round-trip | multi-city>",
                  "description": "<p>[Optional] Type of flight itinerary.</p>",
                  "example": "round-trip",
                  "enum": [
                    "one-way",
                    "round-trip",
                    "multi-city"
                  ]
                },
                {
                  "name": "isThirdPartyBooking",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "<p>[Optional] Indicates whether the booking was made through a third party (\"true\"/\"false\" also accepted).</p>",
                  "example": false
                },
                {
                  "name": "fareBasisCode",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Alphanumeric code used by the airline to identify fare type.</p>",
                  "example": "YLOWUS"
                },
                {
                  "name": "otaIdentificationNumber",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Online travel agency identification number.</p>",
                  "example": "OTA12345"
                },
                {
                  "name": "otaName",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Online travel agency name.</p>",
                  "example": "Expedia"
                },
                {
                  "name": "initialDepartingAirport",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Initial departing airport IATA code.</p>",
                  "example": "ORD"
                },
                {
                  "name": "finalArrivalAirport",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Final arrival airport IATA code.</p>",
                  "example": "LAX"
                },
                {
                  "name": "numberOfPassengers",
                  "kind": "optional",
                  "type": "integer",
                  "description": "<p>[Optional] Number of passengers on the itinerary; integer &#x3C; 4 digits.</p>",
                  "example": 1,
                  "minimum": 0
                },
                {
                  "name": "segments",
                  "kind": "optional",
                  "type": "array",
                  "description": "<p>[Optional] Flight segments included in the itinerary.</p>",
                  "example": "",
                  "itemType": "object",
                  "customType": "object[]",
                  "schema": [
                    {
                      "name": "routeInfo",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Route information for the flight segment.</p>",
                      "example": "ORD-LAX"
                    },
                    {
                      "name": "airlineName",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Airline name for the flight segment.</p>",
                      "example": "American Airlines"
                    },
                    {
                      "name": "operatingAirline",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Operating airline for the flight segment.</p>",
                      "example": "American Airlines"
                    },
                    {
                      "name": "flightNumber",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Flight number for the segment.</p>",
                      "example": "AA1234"
                    },
                    {
                      "name": "ticketClass",
                      "kind": "optional",
                      "type": "string<economy | premium | business | first>",
                      "description": "<p>[Optional] Ticket class for the segment.</p>",
                      "example": "economy",
                      "enum": [
                        "economy",
                        "premium",
                        "business",
                        "first"
                      ]
                    },
                    {
                      "name": "fareClass",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Fare class for the segment.</p>",
                      "example": "Y"
                    },
                    {
                      "name": "specialFareType",
                      "kind": "optional",
                      "type": "string<bereavement | corporate | employee | infant | military | senior | student | unaccompaniedMinor | other>",
                      "description": "<p>[Optional] Special fare category applied to the segment.</p>",
                      "example": "corporate",
                      "enum": [
                        "bereavement",
                        "corporate",
                        "employee",
                        "infant",
                        "military",
                        "senior",
                        "student",
                        "unaccompaniedMinor",
                        "other"
                      ]
                    },
                    {
                      "name": "isAwardTicket",
                      "kind": "optional",
                      "type": "boolean",
                      "description": "<p>[Optional] Indicates whether the segment was booked using an award ticket; string \"true\"/\"false\" also accepted.</p>",
                      "example": false
                    },
                    {
                      "name": "departureDateTime",
                      "kind": "optional",
                      "type": "string<date-time>",
                      "description": "<p>[Optional] Departure date and time for the segment; ISO 8601 / RFC 3339.</p>",
                      "example": "2022-03-11T08:00:00-06:00",
                      "format": "date-time"
                    },
                    {
                      "name": "departureAirportCode",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Departure airport IATA code.</p>",
                      "example": "ORD"
                    },
                    {
                      "name": "arrivalDateTime",
                      "kind": "optional",
                      "type": "string<date-time>",
                      "description": "<p>[Optional] Arrival date and time for the segment; ISO 8601 / RFC 3339.</p>",
                      "example": "2022-03-11T11:00:00-07:00",
                      "format": "date-time"
                    },
                    {
                      "name": "arrivalAirportCode",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Arrival airport IATA code.</p>",
                      "example": "LAX"
                    },
                    {
                      "name": "isFinalDestination",
                      "kind": "optional",
                      "type": "boolean",
                      "description": "<p>[Optional] Indicates whether this segment ends at the final destination (\"true\"/\"false\" also accepted).</p>",
                      "example": true
                    }
                  ]
                },
                {
                  "name": "passengers",
                  "kind": "optional",
                  "type": "array",
                  "description": "<p>[Optional] Passengers included in the itinerary.</p>",
                  "example": "",
                  "itemType": "object",
                  "customType": "object[]",
                  "schema": [
                    {
                      "name": "passengerID",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Merchant-assigned identifier for the passenger.</p>",
                      "example": "PAX001"
                    },
                    {
                      "name": "ticketNumber",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Ticket number assigned to the passenger.</p>",
                      "example": 12345678901
                    },
                    {
                      "name": "passengerDateOfBirth",
                      "kind": "optional",
                      "type": "string<date>",
                      "description": "<p>[Optional] Passenger date of birth in ISO 8601 date format (YYYY-MM-DD).</p>",
                      "example": "1985-11-15",
                      "format": "date"
                    },
                    {
                      "name": "passengerGender",
                      "kind": "optional",
                      "type": "string<F | M | U | O>",
                      "description": "<p>[Optional] Passenger gender code.</p>",
                      "example": "F",
                      "enum": [
                        "F",
                        "M",
                        "U",
                        "O"
                      ]
                    },
                    {
                      "name": "passengerAdultOrChild",
                      "kind": "optional",
                      "type": "string<adult | child | infant>",
                      "description": "<p>[Optional] Passenger age category.</p>",
                      "example": "adult",
                      "enum": [
                        "adult",
                        "child",
                        "infant"
                      ]
                    },
                    {
                      "name": "passengerTitle",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Passenger title.</p>",
                      "example": "Ms"
                    },
                    {
                      "name": "passengerFirstName",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Passenger first name; maximum 40 characters.</p>",
                      "example": "Jane",
                      "maxLength": 40
                    },
                    {
                      "name": "passengerMiddleName",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Passenger middle name; maximum 20 characters.</p>",
                      "example": "Marie",
                      "maxLength": 20
                    },
                    {
                      "name": "passengerLastName",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Passenger last name; maximum 40 characters.</p>",
                      "example": "Doe",
                      "maxLength": 40
                    },
                    {
                      "name": "passengerFullName",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Passenger full name.</p>",
                      "example": "Jane Marie Doe"
                    },
                    {
                      "name": "passengerPhone",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Passenger phone number.</p>",
                      "example": "3125555555"
                    },
                    {
                      "name": "passengerPhoneCountryCode",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Passenger phone country code; numeric country code without + prefix.</p>",
                      "example": "1"
                    },
                    {
                      "name": "passengerEmailAddress",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Passenger email address.</p>",
                      "example": "jane.doe@example.com"
                    },
                    {
                      "name": "passengerCheckedBaggageCount",
                      "kind": "optional",
                      "type": "integer",
                      "description": "<p>[Optional] Number of checked bags for the passenger.</p>",
                      "example": 1,
                      "minimum": 0
                    },
                    {
                      "name": "passengerLoyaltyNumber",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Passenger loyalty membership number.</p>",
                      "example": "AA123456"
                    },
                    {
                      "name": "passengerLoyaltySinceDate",
                      "kind": "optional",
                      "type": "string<date>",
                      "description": "<p>[Optional] Date the passenger loyalty membership began, in ISO 8601 date format (YYYY-MM-DD).</p>",
                      "example": "2015-06-01",
                      "format": "date"
                    },
                    {
                      "name": "passengerLoyaltyLevel",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Passenger loyalty tier level.</p>",
                      "example": "Gold"
                    },
                    {
                      "name": "passengerPassportNumber",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Passenger passport number.</p>",
                      "example": "A12345678"
                    },
                    {
                      "name": "passengerPassportCountryCode",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Passenger passport country code; ISO 3166-1 alpha-2.</p>",
                      "example": "US"
                    },
                    {
                      "name": "passengerPassportExpirationDate",
                      "kind": "optional",
                      "type": "string<date>",
                      "description": "<p>[Optional] Passenger passport expiration date in ISO 8601 date format (YYYY-MM-DD).</p>",
                      "example": "2030-06-01",
                      "format": "date"
                    }
                  ]
                }
              ]
            },
            {
              "name": "lodgingInformation",
              "kind": "optional",
              "type": "object",
              "description": "Travel lodging information object",
              "example": "{\"lodgingDetails\":[{\"lodgingName\":\"The Landmark London\",\"lodgingPropertyID\":\"LDMRK001\",\"lodgingChainName\":\"Independent\",\"lodgingAmount\":350,\"lodgingAmountCurrencyCode\":\"GBP\",\"lodgingRoomOccupancy\":2,\"lodgingBedType\":\"King\",\"lodgingRoomType\":\"Deluxe\",\"lodgingCheckInDateTime\":\"2022-04-16T15:00:00+01:00\",\"lodgingCheckOutDateTime\":\"2022-04-20T11:00:00+01:00\",\"lodgingAddressID\":\"23l4jk23klj24\"}],\"guests\":[{\"guestFirstName\":\"Jane\",\"guestMiddleName\":\"Marie\",\"guestLastName\":\"Doe\"}]}",
              "schema": [
                {
                  "name": "lodgingDetails",
                  "kind": "optional",
                  "type": "array",
                  "description": "",
                  "example": "[{\"lodgingName\":\"The Landmark London\",\"lodgingPropertyID\":\"LDMRK001\",\"lodgingChainName\":\"Independent\",\"lodgingAmount\":350,\"lodgingAmountCurrencyCode\":\"GBP\",\"lodgingRoomOccupancy\":2,\"lodgingBedType\":\"King\",\"lodgingRoomType\":\"Deluxe\",\"lodgingCheckInDateTime\":\"2022-04-16T15:00:00+01:00\",\"lodgingCheckOutDateTime\":\"2022-04-20T11:00:00+01:00\",\"lodgingAddressID\":\"23l4jk23klj24\"}]",
                  "itemType": "object",
                  "customType": "object[]",
                  "schema": [
                    {
                      "name": "lodgingName",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Name of the lodging property.</p>",
                      "example": "The Landmark London"
                    },
                    {
                      "name": "lodgingPropertyID",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Merchant-assigned identifier for the lodging property.</p>",
                      "example": "LDMRK001"
                    },
                    {
                      "name": "lodgingChainName",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Name of the lodging chain, if applicable.</p>",
                      "example": "Independent"
                    },
                    {
                      "name": "lodgingAmount",
                      "kind": "optional",
                      "type": "number",
                      "description": "<p>[Optional] Total amount charged for the lodging reservation; zero or positive.</p>",
                      "example": 350,
                      "minimum": 0
                    },
                    {
                      "name": "lodgingAmountCurrencyCode",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] ISO 4217 currency code for the lodging amount.</p>",
                      "example": "GBP"
                    },
                    {
                      "name": "lodgingRoomOccupancy",
                      "kind": "optional",
                      "type": "integer",
                      "description": "<p>[Optional] Number of guests occupying the room.</p>",
                      "example": 2,
                      "minimum": 0
                    },
                    {
                      "name": "lodgingBedType",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Bed type for the room.</p>",
                      "example": "King"
                    },
                    {
                      "name": "lodgingRoomType",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Room type or category.</p>",
                      "example": "Deluxe"
                    },
                    {
                      "name": "lodgingComments",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Free-text comments or special requests for the reservation.</p>",
                      "example": "Non-smoking room requested"
                    },
                    {
                      "name": "lodgingCheckInDateTime",
                      "kind": "optional",
                      "type": "string<date-time>",
                      "description": "<p>[Optional] ISO 8601 timestamp of the scheduled check-in.</p>",
                      "example": "2022-04-16T15:00:00+01:00",
                      "format": "date-time"
                    },
                    {
                      "name": "lodgingCheckOutDateTime",
                      "kind": "optional",
                      "type": "string<date-time>",
                      "description": "<p>[Optional] ISO 8601 timestamp of the scheduled check-out.</p>",
                      "example": "2022-04-20T11:00:00+01:00",
                      "format": "date-time"
                    },
                    {
                      "name": "lodgingAddressID",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Reference to the address record for the lodging property.</p>",
                      "example": "23l4jk23klj24"
                    }
                  ]
                },
                {
                  "name": "guests",
                  "kind": "optional",
                  "type": "array",
                  "description": "",
                  "example": "[{\"guestFirstName\":\"Jane\",\"guestMiddleName\":\"Marie\",\"guestLastName\":\"Doe\"}]",
                  "itemType": "object",
                  "customType": "object[]",
                  "schema": [
                    {
                      "name": "guestFirstName",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] First name of the lodging guest.</p>",
                      "example": "Jane"
                    },
                    {
                      "name": "guestMiddleName",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Middle name of the lodging guest.</p>",
                      "example": "Marie"
                    },
                    {
                      "name": "guestLastName",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Last name of the lodging guest.</p>",
                      "example": "Doe"
                    }
                  ]
                }
              ]
            },
            {
              "name": "carRentalInformation",
              "kind": "optional",
              "type": "object",
              "description": "Travel car rental information object",
              "example": "{\"carRentalDetails\":[{\"carRentalBrand\":\"Hertz\",\"carRentalAmount\":210,\"carRentalCurrencyCode\":\"GBP\",\"rentalType\":\"daily\",\"rentalClass\":\"compact\",\"pickupAddressID\":\"23l4jk23klj25\",\"pickUpDateTime\":\"2022-04-16T16:00:00+01:00\",\"returnAddressID\":\"23l4jk23klj26\",\"returnDateTime\":\"2022-04-20T10:00:00+01:00\"}]}",
              "schema": [
                {
                  "name": "carRentalDetails",
                  "kind": "optional",
                  "type": "array",
                  "description": "",
                  "example": "[{\"carRentalBrand\":\"Hertz\",\"carRentalAmount\":210,\"carRentalCurrencyCode\":\"GBP\",\"rentalType\":\"daily\",\"rentalClass\":\"compact\",\"pickupAddressID\":\"23l4jk23klj25\",\"pickUpDateTime\":\"2022-04-16T16:00:00+01:00\",\"returnAddressID\":\"23l4jk23klj26\",\"returnDateTime\":\"2022-04-20T10:00:00+01:00\"}]",
                  "itemType": "object",
                  "customType": "object[]",
                  "schema": [
                    {
                      "name": "carRentalBrand",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Car rental company brand.</p>",
                      "example": "Hertz"
                    },
                    {
                      "name": "carRentalAmount",
                      "kind": "optional",
                      "type": "number",
                      "description": "<p>[Optional] Total amount charged for the car rental; zero or positive.</p>",
                      "example": 210,
                      "minimum": 0
                    },
                    {
                      "name": "carRentalCurrencyCode",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] ISO 4217 currency code for the car rental amount.</p>",
                      "example": "GBP"
                    },
                    {
                      "name": "rentalType",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Rental duration type (e.g., daily, weekly).</p>",
                      "example": "daily"
                    },
                    {
                      "name": "rentalClass",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Rental vehicle class (e.g., compact, midsize).</p>",
                      "example": "compact"
                    },
                    {
                      "name": "pickupAddressID",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Reference to the address record for the pickup location.</p>",
                      "example": "23l4jk23klj25"
                    },
                    {
                      "name": "pickUpDateTime",
                      "kind": "optional",
                      "type": "string<date-time>",
                      "description": "<p>[Optional] ISO 8601 timestamp of the scheduled pickup.</p>",
                      "example": "2022-04-16T16:00:00+01:00",
                      "format": "date-time"
                    },
                    {
                      "name": "returnAddressID",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Reference to the address record for the return location.</p>",
                      "example": "23l4jk23klj26"
                    },
                    {
                      "name": "returnDateTime",
                      "kind": "optional",
                      "type": "string<date-time>",
                      "description": "<p>[Optional] ISO 8601 timestamp of the scheduled return.</p>",
                      "example": "2022-04-20T10:00:00+01:00",
                      "format": "date-time"
                    }
                  ]
                }
              ]
            },
            {
              "name": "cruiseInformation",
              "kind": "optional",
              "type": "object",
              "description": "Travel cruise information object",
              "example": "{\"cruiseDetails\":[{\"cruiseBrand\":\"Royal Caribbean\",\"cruiseAmount\":1500,\"cruiseCurrencyCode\":\"USD\",\"cruiseDepartureAddressID\":\"23l4jk23klj27\",\"cruiseInitialStartDateTime\":\"2022-06-01T16:00:00-04:00\",\"cruiseReturnAddressID\":\"23l4jk23klj27\",\"cruiseFinalReturnDateTime\":\"2022-06-08T09:00:00-04:00\"}]}",
              "schema": [
                {
                  "name": "cruiseDetails",
                  "kind": "optional",
                  "type": "array",
                  "description": "",
                  "example": "[{\"cruiseBrand\":\"Royal Caribbean\",\"cruiseAmount\":1500,\"cruiseCurrencyCode\":\"USD\",\"cruiseDepartureAddressID\":\"23l4jk23klj27\",\"cruiseInitialStartDateTime\":\"2022-06-01T16:00:00-04:00\",\"cruiseReturnAddressID\":\"23l4jk23klj27\",\"cruiseFinalReturnDateTime\":\"2022-06-08T09:00:00-04:00\"}]",
                  "itemType": "object",
                  "customType": "object[]",
                  "schema": [
                    {
                      "name": "cruiseBrand",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Cruise line brand.</p>",
                      "example": "Royal Caribbean"
                    },
                    {
                      "name": "cruiseAmount",
                      "kind": "optional",
                      "type": "number",
                      "description": "<p>[Optional] Total amount charged for the cruise; zero or positive.</p>",
                      "example": 1500,
                      "minimum": 0
                    },
                    {
                      "name": "cruiseCurrencyCode",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] ISO 4217 currency code for the cruise amount.</p>",
                      "example": "USD"
                    },
                    {
                      "name": "cruiseDepartureAddressID",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Reference to the address record for the departure port.</p>",
                      "example": "23l4jk23klj27"
                    },
                    {
                      "name": "cruiseInitialStartDateTime",
                      "kind": "optional",
                      "type": "string<date-time>",
                      "description": "<p>[Optional] ISO 8601 timestamp of the cruise departure.</p>",
                      "example": "2022-06-01T16:00:00-04:00",
                      "format": "date-time"
                    },
                    {
                      "name": "cruiseReturnAddressID",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Reference to the address record for the return port.</p>",
                      "example": "23l4jk23klj27"
                    },
                    {
                      "name": "cruiseFinalReturnDateTime",
                      "kind": "optional",
                      "type": "string<date-time>",
                      "description": "<p>[Optional] ISO 8601 timestamp of the cruise return.</p>",
                      "example": "2022-06-08T09:00:00-04:00",
                      "format": "date-time"
                    }
                  ]
                }
              ]
            },
            {
              "name": "activityInformation",
              "kind": "optional",
              "type": "object",
              "description": "Travel activity information object",
              "example": "{\"activityDetails\":[{\"activitySupplier\":\"London Eye\",\"activityName\":\"Thames River Cruise\",\"activityAmount\":45,\"activityAmountCurrencyCode\":\"GBP\",\"activityAddressID\":\"23l4jk23klj28\",\"activityStartDateTime\":\"2022-04-17T14:00:00+01:00\"}]}",
              "schema": [
                {
                  "name": "activityDetails",
                  "kind": "optional",
                  "type": "array",
                  "description": "",
                  "example": "[{\"activitySupplier\":\"London Eye\",\"activityName\":\"Thames River Cruise\",\"activityAmount\":45,\"activityAmountCurrencyCode\":\"GBP\",\"activityAddressID\":\"23l4jk23klj28\",\"activityStartDateTime\":\"2022-04-17T14:00:00+01:00\"}]",
                  "itemType": "object",
                  "customType": "object[]",
                  "schema": [
                    {
                      "name": "activitySupplier",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Supplier or operator of the activity.</p>",
                      "example": "London Eye"
                    },
                    {
                      "name": "activityName",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Name of the activity.</p>",
                      "example": "Thames River Cruise"
                    },
                    {
                      "name": "activityAmount",
                      "kind": "optional",
                      "type": "number",
                      "description": "<p>[Optional] Total amount charged for the activity; zero or positive.</p>",
                      "example": 45,
                      "minimum": 0
                    },
                    {
                      "name": "activityAmountCurrencyCode",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] ISO 4217 currency code for the activity amount.</p>",
                      "example": "GBP"
                    },
                    {
                      "name": "activityAddressID",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Reference to the address record for the activity location.</p>",
                      "example": "23l4jk23klj28"
                    },
                    {
                      "name": "activityStartDateTime",
                      "kind": "optional",
                      "type": "string<date-time>",
                      "description": "<p>[Optional] ISO 8601 timestamp of when the activity begins.</p>",
                      "example": "2022-04-17T14:00:00+01:00",
                      "format": "date-time"
                    }
                  ]
                }
              ]
            },
            {
              "name": "account",
              "kind": "optional",
              "type": "object",
              "description": "<p>Nested object containing account-level details for the transacting customer.</p>",
              "example": "{\"isEnrolledInLoyaltyProgram\":true,\"loyaltyNumber\":\"Id1234\",\"accountLocale\":\"en-US\",\"accountLevel\":\"Gold\",\"accountType\":\"family\"}",
              "schema": [
                {
                  "name": "isEnrolledInLoyaltyProgram",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "<p>[Optional] Whether the account holds a loyalty membership (\"true\"/\"false\").</p>",
                  "example": true
                },
                {
                  "name": "loyaltyNumber",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Customer's loyalty program membership number.</p>",
                  "example": "Id1234"
                },
                {
                  "name": "accountLocale",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Account locale/language preference (e.g., \"en-US\").</p>",
                  "example": "en-US"
                },
                {
                  "name": "accountLevel",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Customer tier within the loyalty or membership program (e.g., \"Gold\").</p>",
                  "example": "Gold"
                },
                {
                  "name": "accountType",
                  "kind": "optional",
                  "type": "string<individual | business | family | other>",
                  "description": "<p>[Optional] Account category; one of: individual, business, family, other.</p>",
                  "example": "family",
                  "enum": [
                    "individual",
                    "business",
                    "family",
                    "other"
                  ]
                },
                {
                  "name": "accountRegistrationDateTime",
                  "kind": "optional",
                  "type": "string<date-time>",
                  "description": "<p>[Optional] ISO 8601 timestamp of when the account was created.</p>",
                  "example": "2020-11-22T17:07:24-07:00",
                  "format": "date-time"
                },
                {
                  "name": "accountEmailUpdatedDateTime",
                  "kind": "optional",
                  "type": "string<date-time>",
                  "description": "<p>[Optional] ISO 8601 timestamp of the last email address change on the account.</p>",
                  "example": "2020-08-28T19:00:00-04:00",
                  "format": "date-time"
                },
                {
                  "name": "accountPasswordUpdatedDateTime",
                  "kind": "optional",
                  "type": "string<date-time>",
                  "description": "<p>[Optional] ISO 8601 timestamp of the last password change on the account.</p>",
                  "example": "2021-06-15T10:30:00-07:00",
                  "format": "date-time"
                },
                {
                  "name": "dateOfBirth",
                  "kind": "optional",
                  "type": "string<date>",
                  "description": "<p>[Optional] Customer's date of birth in ISO 8601 date format (YYYY-MM-DD).</p>",
                  "example": "1985-11-15",
                  "format": "date"
                },
                {
                  "name": "loyaltyProgramName",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Name of the loyalty program the account belongs to (max 100 chars).</p>",
                  "example": "Members Plus",
                  "maxLength": 100
                },
                {
                  "name": "loyaltyPointsBalance",
                  "kind": "optional",
                  "type": "integer",
                  "description": "<p>[Optional] Current point balance in the loyalty program; zero or positive.</p>",
                  "example": 987654321,
                  "minimum": 0
                }
              ]
            },
            {
              "name": "payment",
              "kind": "optional",
              "type": "object",
              "description": "<p>Nested object containing additional payment-level details for the order.</p>",
              "example": "{\"salesRepID\":\"SR#46k90\",\"referralCode\":\"API 210315\",\"isGift\":false,\"orderMessage\":\"Enjoy the gift\",\"isPaymentInInstallments\":false,\"isPaymentRecurring\":false}",
              "schema": [
                {
                  "name": "salesRepID",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Identifier of the sales representative who assisted with the order (max 20 chars).</p>",
                  "example": "SR#46k90",
                  "maxLength": 20
                },
                {
                  "name": "referralCode",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Promotional or affiliate referral code applied at checkout (max 50 chars).</p>",
                  "example": "API 210315",
                  "maxLength": 50
                },
                {
                  "name": "isGift",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "<p>[Optional] Indicates the order is being sent as a gift (\"true\"/\"false\").</p>",
                  "example": false
                },
                {
                  "name": "isPaymentInInstallments",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "<p>[Optional] Whether the total will be paid in multiple installments (\"true\"/\"false\").</p>",
                  "example": false
                },
                {
                  "name": "installmentAmount",
                  "kind": "optional",
                  "type": "number",
                  "description": "<p>[Optional] Amount of each individual installment payment; positive number.</p>",
                  "example": 99.99,
                  "minimum": 0,
                  "exclusiveMinimum": true
                },
                {
                  "name": "installmentCurrencyCode",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Conditional] ISO 4217 currency code for installment amounts; required when isPaymentInInstallments is \"true\".</p>",
                  "example": "USD"
                },
                {
                  "name": "installmentCount",
                  "kind": "optional",
                  "type": "integer",
                  "description": "<p>[Conditional] Total number of installment payments; required when isPaymentInInstallments is \"true\".</p>",
                  "example": 12,
                  "minimum": 0,
                  "exclusiveMinimum": true
                },
                {
                  "name": "isPaymentRecurring",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "<p>[Optional] Whether this is a recurring/subscription payment (\"true\"/\"false\").</p>",
                  "example": false
                },
                {
                  "name": "orderMessage",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Personal message or order instruction associated with the transaction.</p>",
                  "example": "Enjoy the gift"
                }
              ]
            },
            {
              "name": "paymentMethods",
              "kind": "optional",
              "type": "array",
              "description": "",
              "example": "[{\"paymentType\":\"creditCard\",\"paymentMethodID\":\"2ljr9vxsdfew\",\"paymentMethodAmount\":1082.91,\"expirationMonth\":\"11\",\"expirationYear\":\"2027\",\"nameOnCreditCard\":\"Jane Doe\",\"cardBin\":\"345678\",\"cardLastFour\":\"1111\"}]",
              "itemType": "object",
              "customType": "object[]",
              "schema": [
                {
                  "name": "paymentType",
                  "kind": "optional",
                  "type": "string<bankAccount | cash | check | creditCard | cryptoCurrency | digitalWallet | electronicFundTransfer | giftCard | invoice | loan | loyaltyPoints | moneyOrder | secCard | storeCredit | thirdParty | voucher>",
                  "description": "<p>[Conditional] Type of payment instrument. Required when paymentMethodID is present.</p>",
                  "example": "creditCard",
                  "enum": [
                    "bankAccount",
                    "cash",
                    "check",
                    "creditCard",
                    "cryptoCurrency",
                    "digitalWallet",
                    "electronicFundTransfer",
                    "giftCard",
                    "invoice",
                    "loan",
                    "loyaltyPoints",
                    "moneyOrder",
                    "secCard",
                    "storeCredit",
                    "thirdParty",
                    "voucher"
                  ]
                },
                {
                  "name": "paymentMethodID",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Merchant-assigned identifier for this payment method.</p>",
                  "example": "2ljr9vxsdfew"
                },
                {
                  "name": "paymentMethodAmount",
                  "kind": "optional",
                  "type": "number",
                  "description": "<p>[Optional] Amount charged to this payment method.</p>",
                  "example": 1082.91,
                  "minimum": 0
                },
                {
                  "name": "isPaymentStoredOnFile",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "<p>[Optional] Whether this instrument is saved to the account (\"true\"/\"false\").</p>",
                  "example": true
                },
                {
                  "name": "cardNumber",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Full card number (PAN) for credit card payments, validated using the Luhn algorithm.</p>",
                  "example": "4111111111111111"
                },
                {
                  "name": "cardToken",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Tokenized representation of the card number.</p>",
                  "example": "6f7%gf38hfUa"
                },
                {
                  "name": "expirationMonth",
                  "kind": "optional",
                  "type": "string<01 | 02 | 03 | 04 | 05 | 06 | 07 | 8 | 9 | 10 | 11 | 12>",
                  "description": "<p>[Conditional] Zero-padded two-digit card expiration month (\"01\"..\"12\"); required when paymentType = creditCard.</p>",
                  "example": "11",
                  "enum": [
                    "01",
                    "02",
                    "03",
                    "04",
                    "05",
                    "06",
                    "07",
                    "8",
                    "9",
                    "10",
                    "11",
                    "12"
                  ]
                },
                {
                  "name": "expirationYear",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Conditional] Card expiration year (4-digit); required when paymentType = creditCard.</p>",
                  "example": "2027"
                },
                {
                  "name": "nameOnCreditCard",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Conditional] Cardholder name as embossed on the card; required when paymentType = creditCard.</p>",
                  "example": "Jane Doe"
                },
                {
                  "name": "cardBin",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Bank Identification Number (6 to 11 digits) of the card.</p>",
                  "example": "345678"
                },
                {
                  "name": "cardLastFour",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Last four digits of the card number.</p>",
                  "example": "1111"
                },
                {
                  "name": "totalFailedAttempts",
                  "kind": "optional",
                  "type": "integer",
                  "description": "<p>[Optional] Number of failed payment attempts for this method.</p>",
                  "example": 1,
                  "minimum": 0
                },
                {
                  "name": "paymentMethodCreatedDateTime",
                  "kind": "optional",
                  "type": "string<date-time>",
                  "description": "<p>[Optional] ISO 8601 timestamp of when this payment method was saved.</p>",
                  "example": "2020-03-28T17:07:24-07:00",
                  "format": "date-time"
                },
                {
                  "name": "paymentMethodUpdatedDateTime",
                  "kind": "optional",
                  "type": "string<date-time>",
                  "description": "<p>[Optional] ISO 8601 timestamp of the last update to this payment method.</p>",
                  "example": "2020-03-28T17:07:24-07:00",
                  "format": "date-time"
                },
                {
                  "name": "addressID",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Reference to the billing address record for this payment method.</p>",
                  "example": "23kl4l32l"
                },
                {
                  "name": "nameOnAccount",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Name on file for a wallet or account-based payment method.</p>",
                  "example": "Jane Doe"
                },
                {
                  "name": "walletType",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Digital wallet provider.</p>",
                  "example": "Apple Pay"
                },
                {
                  "name": "walletStatus",
                  "kind": "optional",
                  "type": "string<active | pending | inactive>",
                  "description": "<p>[Optional] Current status of the wallet.</p>",
                  "example": "active",
                  "enum": [
                    "active",
                    "pending",
                    "inactive"
                  ]
                },
                {
                  "name": "isWalletProtectionEligible",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "<p>[Optional] Whether the wallet is eligible for purchase protection (\"true\"/\"false\").</p>",
                  "example": true
                },
                {
                  "name": "paymentMethodBalanceAmount",
                  "kind": "optional",
                  "type": "number",
                  "description": "<p>[Optional] Remaining balance available on this payment method.</p>",
                  "example": 4000.32,
                  "minimum": 0,
                  "exclusiveMinimum": true
                },
                {
                  "name": "giftCardNumber",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Full gift card number.</p>",
                  "example": "5555444433332222"
                },
                {
                  "name": "giftCardLastFour",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Last four digits of the gift card number.</p>",
                  "example": "2222"
                },
                {
                  "name": "giftCardBIN",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Bank Identification Number (first 6 digits) of the gift card.</p>",
                  "example": "654678"
                },
                {
                  "name": "expirationDay",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Card expiration day, for payment types that include a day component.</p>",
                  "example": 9
                },
                {
                  "name": "points",
                  "kind": "optional",
                  "type": "integer",
                  "description": "<p>[Optional] Loyalty or reward points balance associated with this payment method.</p>",
                  "example": 50000
                },
                {
                  "name": "loyaltyProgramName",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Name of the loyalty program associated with this payment method.</p>",
                  "example": "Members Plus"
                },
                {
                  "name": "accountType",
                  "kind": "optional",
                  "type": "string<checking | saving | moneyMarket | other>",
                  "description": "<p>[Conditional] Bank account type; required when paymentType = bankAccount.</p>",
                  "example": "checking",
                  "enum": [
                    "checking",
                    "saving",
                    "moneyMarket",
                    "other"
                  ]
                }
              ]
            },
            {
              "name": "items",
              "kind": "optional",
              "type": "array",
              "description": "",
              "example": "",
              "itemType": "object",
              "customType": "object[]",
              "schema": [
                {
                  "name": "itemType",
                  "kind": "optional",
                  "type": "string<giftCard | parking | physicalGood | reservation | subscription | ticket | other>",
                  "description": "<p>[Optional] Category of item; one of: giftCard, parking, physicalGood, reservation, subscription, ticket, other.</p>",
                  "example": "physicalGood",
                  "enum": [
                    "giftCard",
                    "parking",
                    "physicalGood",
                    "reservation",
                    "subscription",
                    "ticket",
                    "other"
                  ]
                },
                {
                  "name": "brandName",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Brand or manufacturer of the item.</p>",
                  "example": "Apple"
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Short description or name of the item.</p>",
                  "example": "Macbook Pro"
                },
                {
                  "name": "category",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Merchant-defined product category.</p>",
                  "example": "Computers"
                },
                {
                  "name": "itemID",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Merchant's unique product or SKU identifier.</p>",
                  "example": "af877wernnasnfes"
                },
                {
                  "name": "isHighRiskItem",
                  "kind": "required",
                  "type": "boolean",
                  "description": "<p>[Required] Whether the item is flagged as high risk (\"true\"/\"false\").</p>",
                  "example": true
                },
                {
                  "name": "price",
                  "kind": "required",
                  "type": "number",
                  "description": "<p>[Required] Unit price of the item; positive number.</p>",
                  "example": 1199.99,
                  "minimum": 0
                },
                {
                  "name": "faceValueAmount",
                  "kind": "optional",
                  "type": "number",
                  "description": "<p>[Optional] Face or retail value of the item; zero or positive.</p>",
                  "example": 1599.99,
                  "minimum": 0
                },
                {
                  "name": "quantity",
                  "kind": "optional",
                  "type": "number",
                  "description": "<p>[Optional] Number of units of this item in the order.</p>",
                  "example": 2
                },
                {
                  "name": "addressID",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Conditional] Delivery address reference for this line item; required when shippingMethod is present.</p>",
                  "example": "2lkj34jldsoufsous82df"
                },
                {
                  "name": "productCondition",
                  "kind": "optional",
                  "type": "string<new | openPackage | other | refurbished | used>",
                  "description": "<p>[Optional] Condition of the item; one of: new, openPackage, other, refurbished, used.</p>",
                  "example": "new",
                  "enum": [
                    "new",
                    "openPackage",
                    "other",
                    "refurbished",
                    "used"
                  ]
                },
                {
                  "name": "shippingCompany",
                  "kind": "optional",
                  "type": "string<dhl | fedex | ups | usps | other>",
                  "description": "<p>[Optional] Carrier for this item; one of: dhl, fedex, ups, usps, other.</p>",
                  "example": "ups",
                  "enum": [
                    "dhl",
                    "fedex",
                    "ups",
                    "usps",
                    "other"
                  ]
                },
                {
                  "name": "companyName",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Shipping company name for this item, when not one of the standard carriers (max 50 chars).</p>",
                  "example": "Regional Courier Co",
                  "maxLength": 50
                },
                {
                  "name": "shippingMethod",
                  "kind": "required",
                  "type": "string<digital | ground | international | other | nextDay | sameDay | storePickup | twoDay | threeDay>",
                  "description": "<p>[Required] Shipping speed or method.</p>",
                  "example": "ground",
                  "enum": [
                    "digital",
                    "ground",
                    "international",
                    "other",
                    "nextDay",
                    "sameDay",
                    "storePickup",
                    "twoDay",
                    "threeDay"
                  ]
                },
                {
                  "name": "shippingTrackingNumber",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Carrier tracking number for this item (max 30 chars).</p>",
                  "example": "23l4fdswerea02",
                  "maxLength": 30
                },
                {
                  "name": "promoCode",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Promotion code applied specifically to this item (max 40 chars).</p>",
                  "example": "ABC12",
                  "maxLength": 40
                },
                {
                  "name": "promoAmount",
                  "kind": "optional",
                  "type": "number",
                  "description": "<p>[Optional] Discount applied to this item; zero or positive.</p>",
                  "example": 50,
                  "minimum": 0
                },
                {
                  "name": "promoType",
                  "kind": "optional",
                  "type": "string<bogo | bundle | employeeDiscount | freeShipping | loyaltyDiscount | newMemberDiscount | percentage | quantityPromotion | other>",
                  "description": "<p>[Optional] Category of the item-level promotion.</p>",
                  "example": "employeeDiscount",
                  "enum": [
                    "bogo",
                    "bundle",
                    "employeeDiscount",
                    "freeShipping",
                    "loyaltyDiscount",
                    "newMemberDiscount",
                    "percentage",
                    "quantityPromotion",
                    "other"
                  ]
                },
                {
                  "name": "pickupLocation",
                  "kind": "optional",
                  "type": "string<curbside | dropBox | inStore | other>",
                  "description": "<p>[Optional] In-store or curbside pickup method; one of: curbside, dropBox, inStore, other.</p>",
                  "example": "curbside",
                  "enum": [
                    "curbside",
                    "dropBox",
                    "inStore",
                    "other"
                  ]
                },
                {
                  "name": "pickupDateTime",
                  "kind": "optional",
                  "type": "string<date-time>",
                  "description": "<p>[Optional] ISO 8601 timestamp of the scheduled pickup.</p>",
                  "example": "2022-03-11T17:07:24-07:00",
                  "format": "date-time"
                },
                {
                  "name": "pickupPersonFirstName",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] First name of the person collecting the order (max 40 chars).</p>",
                  "example": "Betty",
                  "maxLength": 40
                },
                {
                  "name": "pickupPersonLastName",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Last name of the person collecting the order (max 40 chars).</p>",
                  "example": "Smith",
                  "maxLength": 40
                }
              ]
            },
            {
              "name": "promotions",
              "kind": "optional",
              "type": "array",
              "description": "",
              "example": "",
              "itemType": "object",
              "customType": "object[]",
              "schema": [
                {
                  "name": "promoCode",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Promotional code applied to the order.</p>",
                  "example": "ABC12"
                },
                {
                  "name": "promoAmount",
                  "kind": "required",
                  "type": "number",
                  "description": "<p>[Required] Discount amount granted by this promotion; zero or positive.</p>",
                  "example": 50,
                  "minimum": 0
                },
                {
                  "name": "promoType",
                  "kind": "optional",
                  "type": "string<bogo | bundle | employeeDiscount | freeShipping | loyaltyDiscount | newMemberDiscount | percentage | quantityPromotion | other>",
                  "description": "<p>[Optional] Category of the promotion (e.g., employeeDiscount, freeShipping).</p>",
                  "example": "employeeDiscount",
                  "enum": [
                    "bogo",
                    "bundle",
                    "employeeDiscount",
                    "freeShipping",
                    "loyaltyDiscount",
                    "newMemberDiscount",
                    "percentage",
                    "quantityPromotion",
                    "other"
                  ]
                }
              ]
            },
            {
              "name": "addresses",
              "kind": "optional",
              "type": "array",
              "description": "",
              "example": "[{\"addressType\":\"billing\",\"addressID\":\"23l4jk23klj23\",\"firstName\":\"Jane\",\"lastName\":\"Doe\",\"phone\":\"3125555555\",\"phoneCountryCode\":\"001\",\"address1\":\"1863 Main Street\",\"city\":\"Chicago\",\"region\":\"IL\",\"postCode\":\"60601\",\"country\":\"US\"}]",
              "itemType": "object",
              "customType": "object[]",
              "schema": [
                {
                  "name": "addressID",
                  "kind": "required",
                  "type": "string",
                  "description": "<p>[Required] Merchant-assigned identifier for this address record.</p>",
                  "example": "23l4jk23klj23"
                },
                {
                  "name": "addressType",
                  "kind": "required",
                  "type": "string<account | billing | bopis | curbside | departure | destination | fulfillment | listing | lodging | pickup | return | shipping | venue | other>",
                  "description": "<p>[Required] Role of this address in the order.</p>",
                  "example": "billing",
                  "enum": [
                    "account",
                    "billing",
                    "bopis",
                    "curbside",
                    "departure",
                    "destination",
                    "fulfillment",
                    "listing",
                    "lodging",
                    "pickup",
                    "return",
                    "shipping",
                    "venue",
                    "other"
                  ]
                },
                {
                  "name": "primaryFlag",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "<p>[Optional] Marks this as the account's primary address (true/false).</p>",
                  "example": true
                },
                {
                  "name": "isAddressOnFile",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "<p>[Optional] Whether this address was previously saved to the account (\"true\"/\"false\").</p>",
                  "example": false
                },
                {
                  "name": "firstName",
                  "kind": "required",
                  "type": "string",
                  "description": "<p>[Required] Recipient's first name at this address.</p>",
                  "example": "Jane"
                },
                {
                  "name": "middleName",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Recipient's middle name at this address.</p>",
                  "example": "Marie"
                },
                {
                  "name": "lastName",
                  "kind": "required",
                  "type": "string",
                  "description": "<p>[Required] Recipient's last name at this address.</p>",
                  "example": "Doe"
                },
                {
                  "name": "emailAddress",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Conditional] Recipient's email address; required when addressType is account or billing.</p>",
                  "example": "jane.doe123@example.com"
                },
                {
                  "name": "phone",
                  "kind": "required",
                  "type": "string",
                  "description": "<p>[Required] Recipient's phone number.</p>",
                  "example": "3125555555"
                },
                {
                  "name": "phoneCountryCode",
                  "kind": "required",
                  "type": "string",
                  "description": "<p>[Required] International dial prefix for the phone number (for example, \"001\").</p>",
                  "example": "001"
                },
                {
                  "name": "address1",
                  "kind": "required",
                  "type": "string",
                  "description": "<p>[Required] Primary street address line.</p>",
                  "example": "1863 Main Street"
                },
                {
                  "name": "address2",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Secondary address line (suite, apartment, etc.).</p>",
                  "example": "Apt 7"
                },
                {
                  "name": "city",
                  "kind": "required",
                  "type": "string",
                  "description": "<p>[Required] City component of the address.</p>",
                  "example": "Chicago"
                },
                {
                  "name": "region",
                  "kind": "required",
                  "type": "string",
                  "description": "<p>[Required] State or region component of the address.</p>",
                  "example": "IL"
                },
                {
                  "name": "postCode",
                  "kind": "required",
                  "type": "string",
                  "description": "<p>[Required] Postal or ZIP code.</p>",
                  "example": "60601"
                },
                {
                  "name": "country",
                  "kind": "required",
                  "type": "string",
                  "description": "<p>[Required] ISO 3166-1 alpha-2 country code.</p>",
                  "example": "US"
                },
                {
                  "name": "companyName",
                  "kind": "optional",
                  "type": "string",
                  "description": "<p>[Optional] Business name at this address.</p>",
                  "example": "Accertify, Inc"
                },
                {
                  "name": "addressCreatedDateTime",
                  "kind": "optional",
                  "type": "string<date-time>",
                  "description": "<p>[Optional] ISO 8601 timestamp of when this address was saved.</p>",
                  "example": "2020-03-28T17:07:24-07:00",
                  "format": "date-time"
                },
                {
                  "name": "addressUpdatedDateTime",
                  "kind": "optional",
                  "type": "string<date-time>",
                  "description": "<p>[Optional] ISO 8601 timestamp of the last modification to this address.</p>",
                  "example": "2021-03-28T17:07:24-07:00",
                  "format": "date-time"
                }
              ]
            },
            {
              "name": "insuranceInformation",
              "kind": "optional",
              "type": "object",
              "description": "Nested object containing insurance information associated with the transaction.",
              "example": "{\"insuranceDetails\":[{\"insuranceType\":\"travel\",\"insuranceCity\":\"Chicago\",\"insuranceCountryCode\":\"US\",\"insuranceTotalAmount\":399.04,\"insuranceCurrencyCode\":\"USD\"}]}",
              "schema": [
                {
                  "name": "insuranceDetails",
                  "kind": "optional",
                  "type": "array",
                  "description": "<p>[Optional] Insurance records associated with the transaction.</p>",
                  "example": "[{\"insuranceType\":\"travel\",\"insuranceCity\":\"Chicago\",\"insuranceCountryCode\":\"US\",\"insuranceTotalAmount\":399.04,\"insuranceCurrencyCode\":\"USD\"}]",
                  "itemType": "object",
                  "customType": "object[]",
                  "schema": [
                    {
                      "name": "insuranceType",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Type of insurance associated with the transaction (max 30 chars).</p>",
                      "example": "travel",
                      "maxLength": 30
                    },
                    {
                      "name": "insuranceCity",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] City associated with the insurance coverage (max 40 chars).</p>",
                      "example": "Chicago",
                      "maxLength": 40
                    },
                    {
                      "name": "insuranceCountryCode",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] ISO 3166-1 alpha-2 country code associated with the insurance coverage.</p>",
                      "example": "US"
                    },
                    {
                      "name": "insuranceStartDateTime",
                      "kind": "optional",
                      "type": "string<date-time>",
                      "description": "<p>[Optional] ISO 8601 date and time when the insurance coverage begins.</p>",
                      "example": "2022-03-11T17:07:24-07:00",
                      "format": "date-time"
                    },
                    {
                      "name": "insuranceEndDateTime",
                      "kind": "optional",
                      "type": "string<date-time>",
                      "description": "<p>[Optional] ISO 8601 date and time when the insurance coverage ends.</p>",
                      "example": "2022-03-11T17:07:24-07:00",
                      "format": "date-time"
                    },
                    {
                      "name": "insuranceName",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Name of the insurance product (max 50 chars).</p>",
                      "example": "Acme Insurance Full Cover",
                      "maxLength": 50
                    },
                    {
                      "name": "insuranceReservationName",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Name associated with the insured reservation (max 100 chars).</p>",
                      "example": "Jane Doe",
                      "maxLength": 100
                    },
                    {
                      "name": "insuranceTotalAmount",
                      "kind": "optional",
                      "type": "number",
                      "description": "<p>[Optional] Total amount charged for the insurance coverage; zero or positive.</p>",
                      "example": 399.04,
                      "minimum": 0
                    },
                    {
                      "name": "insuranceCurrencyCode",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] ISO 4217 three-letter currency code for the insurance amount.</p>",
                      "example": "USD"
                    }
                  ]
                }
              ]
            },
            {
              "name": "agencyInformation",
              "kind": "optional",
              "type": "object",
              "description": "Nested object containing agency information associated with the transaction.",
              "example": "{\"agencyDetails\":[{\"agencyCode\":\"01234ABC\",\"agencyName\":\"Acme Travel Inc\",\"agencyConfirmationNumber\":\"ABC123\",\"agencyCountryCode\":\"US\"}]}",
              "schema": [
                {
                  "name": "agencyDetails",
                  "kind": "optional",
                  "type": "array",
                  "description": "<p>[Optional] Agency records associated with the transaction.</p>",
                  "example": "[{\"agencyCode\":\"01234ABC\",\"agencyName\":\"Acme Travel Inc\",\"agencyConfirmationNumber\":\"ABC123\",\"agencyCountryCode\":\"US\"}]",
                  "itemType": "object",
                  "customType": "object[]",
                  "schema": [
                    {
                      "name": "agencyCode",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Agency code (max 20 chars).</p>",
                      "example": "01234ABC",
                      "maxLength": 20
                    },
                    {
                      "name": "agencyName",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Agency name (max 50 chars).</p>",
                      "example": "Acme Travel Inc",
                      "maxLength": 50
                    },
                    {
                      "name": "agencySalesRepresentativeID",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Identifier of the agency sales representative (max 20 chars).</p>",
                      "example": "232324521",
                      "maxLength": 20
                    },
                    {
                      "name": "agencyConfirmationNumber",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Confirmation number assigned by the agency (max 25 chars).</p>",
                      "example": "ABC123",
                      "maxLength": 25
                    },
                    {
                      "name": "agencyCountryCode",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] ISO 3166-1 alpha-2 country code associated with the agency.</p>",
                      "example": "US"
                    },
                    {
                      "name": "agencyEmail",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Agency email address.</p>",
                      "example": "agency123@gmail.com"
                    },
                    {
                      "name": "agencyHeadOffice",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Location of the agency head office (max 50 chars).</p>",
                      "example": "Chicago",
                      "maxLength": 50
                    },
                    {
                      "name": "agencyPhone",
                      "kind": "optional",
                      "type": "string",
                      "description": "<p>[Optional] Agency phone number (max 25 chars).</p>",
                      "example": "19876543211",
                      "maxLength": 25
                    }
                  ]
                }
              ]
            }
          ],
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "oauthBearer",
          "name": "Authorization",
          "kind": "optional",
          "type": "apiKey",
          "description": "<p>OAuth 2.0 Bearer token, e.g. 'Bearer '.</p>",
          "in": "header"
        }
      ]
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful response.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "Successful response.",
            "customType": "scoredPreAuthResult",
            "schema": [
              {
                "name": "eventID",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "eventDetails",
                "kind": "optional",
                "type": "object",
                "description": "<p>Device and connection risk signals (scored responses only)</p>",
                "modelRef": "#/definitions/eventDetails",
                "customType": "eventDetails",
                "schema": [
                  {
                    "name": "deviceDetails",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "example": "",
                    "schema": [
                      {
                        "name": "browserSpoofRisk",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] Risk indicator for browser spoofing detected during device collection.</p>",
                        "example": "HIGH_RISK"
                      },
                      {
                        "name": "deviceIDNew",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] A flag indicating the device ID was observed for the first time (\"true\"/\"false\").</p>",
                        "example": "true"
                      },
                      {
                        "name": "browserIsMobile",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] A flag indicating the browser is running on a mobile device (\"true\"/\"false\").</p>",
                        "example": "true"
                      },
                      {
                        "name": "mobileIsRooted",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] A flag indicating the mobile device is rooted or jailbroken (\"true\"/\"false\").</p>",
                        "example": "true"
                      },
                      {
                        "name": "deviceIDFirstSeen",
                        "kind": "optional",
                        "type": "number",
                        "description": "<p>[Optional] Number of days since this device ID was first observed.</p>",
                        "example": 97
                      },
                      {
                        "name": "browserNewCookie",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] A flag indicating a new browser cookie was set during this session (\"true\"/\"false\").</p>",
                        "example": "false"
                      },
                      {
                        "name": "deviceIDTimesSeen",
                        "kind": "optional",
                        "type": "number",
                        "description": "<p>[Optional] Total number of times this device ID has been seen.</p>",
                        "example": 123
                      },
                      {
                        "name": "mobileApp",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] A flag indicating the event originated from a mobile app.</p>",
                        "example": "true"
                      },
                      {
                        "name": "browserReplayTagStatus",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] Status of the UBA replay tag detected in the session.</p>",
                        "example": "VALID"
                      },
                      {
                        "name": "deviceID",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] Unique persistent identifier assigned to the device.</p>",
                        "example": "63dc80b4-e585-4ae8-8004-e24fb0d1fa84"
                      }
                    ]
                  },
                  {
                    "name": "connectionDetails",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "example": "",
                    "schema": [
                      {
                        "name": "hostingIndicator",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] A flag indicating the client IP address belongs to a hosting provider (\"true\"/\"false\").</p>",
                        "example": "true"
                      },
                      {
                        "name": "isTor",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] A flag indicating the client IP address is a Tor exit node (\"true\"/\"false\").</p>",
                        "example": "true"
                      },
                      {
                        "name": "hostingIndicatorReal",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] A flag indicating the client real IP address belongs to a hosting provider (\"true\"/\"false\").</p>",
                        "example": "true"
                      },
                      {
                        "name": "realIPMatch",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] A flag indicating the stated IP address matches the detected real IP address (\"true\"/\"false\").</p>",
                        "example": "true"
                      },
                      {
                        "name": "countryCode",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] ISO 3166-1 alpha-2 country code of the client IP address.</p>",
                        "example": "us"
                      },
                      {
                        "name": "countryCodeReal",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] ISO 3166-1 alpha-2 country code of the real IP address when a proxy is detected.</p>",
                        "example": "de"
                      },
                      {
                        "name": "isProxy",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>[Optional] A flag indicating the client IP address is a known proxy (\"true\"/\"false\").</p>",
                        "example": "false"
                      }
                    ]
                  }
                ]
              },
              {
                "name": "paymentOptimization",
                "kind": "optional",
                "type": "object",
                "description": "<p>3-D Secure optimization output (preAuth scored responses only)</p>",
                "modelRef": "#/definitions/paymentOptimization",
                "customType": "paymentOptimization",
                "schema": [
                  {
                    "name": "3DSModule",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>[Optional] The 3DS module selected for this transaction.</p>",
                    "example": "active"
                  },
                  {
                    "name": "3DSRun",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>[Optional] A flag indicating the 3DS module was invoked (\"true\"/\"false\").</p>",
                    "example": "true"
                  },
                  {
                    "name": "3DSRecommendation",
                    "kind": "optional",
                    "type": "string<00 | 01 | 02 | 03 | 04 | 05 | 06 | >",
                    "description": "<p>[Optional] Recommended 3DS action code, which may be blank.</p>",
                    "example": "06",
                    "enum": [
                      "00",
                      "01",
                      "02",
                      "03",
                      "04",
                      "05",
                      "06",
                      ""
                    ]
                  },
                  {
                    "name": "SCAResult",
                    "kind": "optional",
                    "type": "string<In Scope Exempt TRA | In Scope Exempt LVT | In Scope Exempt SCP | In Scope Not Exempt | Out of Scope>",
                    "description": "<p>[Optional] Strong customer authentication result from the 3DS evaluation.</p>",
                    "example": "In Scope Not Exempt",
                    "enum": [
                      "In Scope Exempt TRA",
                      "In Scope Exempt LVT",
                      "In Scope Exempt SCP",
                      "In Scope Not Exempt",
                      "Out of Scope"
                    ]
                  }
                ]
              },
              {
                "name": "messages",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/definitions/apiMessages",
                "customType": "apiMessages",
                "schema": [
                  {
                    "name": "error",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/definitions/apiMessage",
                    "customType": "apiMessage[]",
                    "schema": [
                      {
                        "name": "code",
                        "kind": "required",
                        "type": "string",
                        "description": "<p>Machine-readable message code</p>",
                        "example": "FIELD_REQUIRED_MISSING"
                      },
                      {
                        "name": "message",
                        "kind": "required",
                        "type": "string",
                        "description": "<p>Human-readable message</p>",
                        "example": "transactionID is required and was not provided"
                      },
                      {
                        "name": "field",
                        "kind": "optional",
                        "type": "string",
                        "description": "Name of the field this message applies to",
                        "example": "transactionID"
                      },
                      {
                        "name": "details",
                        "kind": "optional",
                        "type": "map",
                        "description": "Structured detail keys.",
                        "example": "",
                        "customType": "map<string, string>",
                        "schema": []
                      }
                    ]
                  },
                  {
                    "name": "warning",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/definitions/apiMessage",
                    "customType": "apiMessage[]",
                    "schema": [
                      {
                        "name": "code",
                        "kind": "required",
                        "type": "string",
                        "description": "<p>Machine-readable message code</p>",
                        "example": "FIELD_REQUIRED_MISSING"
                      },
                      {
                        "name": "message",
                        "kind": "required",
                        "type": "string",
                        "description": "<p>Human-readable message</p>",
                        "example": "transactionID is required and was not provided"
                      },
                      {
                        "name": "field",
                        "kind": "optional",
                        "type": "string",
                        "description": "Name of the field this message applies to",
                        "example": "transactionID"
                      },
                      {
                        "name": "details",
                        "kind": "optional",
                        "type": "map",
                        "description": "Structured detail keys.",
                        "example": "",
                        "customType": "map<string, string>",
                        "schema": []
                      }
                    ]
                  },
                  {
                    "name": "info",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/definitions/apiMessage",
                    "customType": "apiMessage[]",
                    "schema": [
                      {
                        "name": "code",
                        "kind": "required",
                        "type": "string",
                        "description": "<p>Machine-readable message code</p>",
                        "example": "FIELD_REQUIRED_MISSING"
                      },
                      {
                        "name": "message",
                        "kind": "required",
                        "type": "string",
                        "description": "<p>Human-readable message</p>",
                        "example": "transactionID is required and was not provided"
                      },
                      {
                        "name": "field",
                        "kind": "optional",
                        "type": "string",
                        "description": "Name of the field this message applies to",
                        "example": "transactionID"
                      },
                      {
                        "name": "details",
                        "kind": "optional",
                        "type": "map",
                        "description": "Structured detail keys.",
                        "example": "",
                        "customType": "map<string, string>",
                        "schema": []
                      }
                    ]
                  }
                ]
              },
              {
                "name": "status",
                "kind": "required",
                "type": "boolean",
                "description": ""
              }
            ],
            "modelRef": "#/definitions/scoredPreAuthResult",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "Error response for invalid or missing request inputs. Returned when one or more required fields are absent or fail validation.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "Error response for invalid or missing request inputs. Returned when one or more required fields are absent or fail validation.",
            "customType": "validationFailedError",
            "schema": [
              {
                "name": "errorCode",
                "kind": "optional",
                "type": "integer",
                "description": "HTTP status code for the validation error.",
                "example": 400
              },
              {
                "name": "errorMessage",
                "kind": "optional",
                "type": "string",
                "description": "<p>Human-readable summary of the validation error.</p>",
                "example": "Validation Failed"
              },
              {
                "name": "errors",
                "kind": "optional",
                "type": "array",
                "description": "Validation error details for the request.",
                "example": "[\"Missing required field: transactionID\"]",
                "itemType": "string",
                "customType": "string[]",
                "itemExample": "",
                "itemDefault": ""
              }
            ],
            "modelRef": "#/definitions/validationFailedError",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "401",
        "description": "Error response for authentication or authorization failures. Returned when credentials are invalid or the authenticated user has no matching API configuration for this endpoint.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "Error response for authentication or authorization failures. Returned when credentials are invalid or the authenticated user has no matching API configuration for this endpoint.",
            "customType": "notAuthorizedError",
            "schema": [
              {
                "name": "errorCode",
                "kind": "optional",
                "type": "integer",
                "description": "HTTP status code for the authentication or authorization error.",
                "example": 401
              },
              {
                "name": "errorMessage",
                "kind": "optional",
                "type": "string",
                "description": "<p>Human-readable summary of the authentication or authorization error.</p>",
                "example": "Not Authorized"
              }
            ],
            "modelRef": "#/definitions/notAuthorizedError",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "429",
        "description": "Error response when the request rate limit has been exceeded for the API user or API configuration.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "Error response when the request rate limit has been exceeded for the API user or API configuration.",
            "customType": "rateLimitError",
            "schema": [
              {
                "name": "errorCode",
                "kind": "optional",
                "type": "integer",
                "description": "<p>HTTP status code for the rate-limit error.</p>",
                "example": 429
              },
              {
                "name": "errorMessage",
                "kind": "optional",
                "type": "string",
                "description": "<p>Human-readable summary of the rate-limit error.</p>",
                "example": "Rate Limit Exceeded"
              }
            ],
            "modelRef": "#/definitions/rateLimitError",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "500",
        "description": "Error response when the request cannot be processed due to an unexpected internal error.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "Error response when the request cannot be processed due to an unexpected internal error.",
            "customType": "internalServerError",
            "schema": [
              {
                "name": "errorCode",
                "kind": "optional",
                "type": "integer",
                "description": "HTTP status code for the internal server error.",
                "example": 500
              },
              {
                "name": "errorMessage",
                "kind": "optional",
                "type": "string",
                "description": "<p>Human-readable summary of the internal server error.</p>",
                "example": "Internal Server Error"
              }
            ],
            "modelRef": "#/definitions/internalServerError",
            "isExpanded": true
          }
        ]
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "example-0-curl",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url https://api.accertify.net/api/v1/unified-risk/preAuthTravel \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data-raw '{\n     \"transactionID\": \"ABC123456\",\n     \"transactionDateTime\": \"2022-03-11T17:07:24-07:00\",\n     \"eventSource\": \"web\",\n     \"isGuestCheckout\": false,\n     \"paymentAmount\": 1082.91,\n     \"taxAmount\": 1.23,\n     \"deliveryAmount\": 5.99,\n     \"currencyCode\": \"USD\",\n     \"success\": false,\n     \"emailAddress\": \"a@example.com\",\n     \"purchaseType\": \"services\",\n     \"items\": [\n     {\n     \"isHighRiskItem\": true,\n     \"price\": 1199.99,\n     \"shippingMethod\": \"ground\"\n     }\n     ],\n     \"promotions\": [\n     {\n     \"promoAmount\": 50\n     }\n     ],\n     \"addresses\": [\n     {\n     \"addressID\": \"23l4jk23klj23\",\n     \"addressType\": \"billing\",\n     \"firstName\": \"Jane\",\n     \"lastName\": \"Doe\",\n     \"phone\": \"3125555555\",\n     \"phoneCountryCode\": \"001\",\n     \"address1\": \"1863 Main Street\",\n     \"city\": \"Chicago\",\n     \"region\": \"IL\",\n     \"postCode\": \"60601\",\n     \"country\": \"US\"\n     }\n     ]\n     }'"
        },
        {
          "id": "example-1-javascript",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"transactionID\": \"ABC123456\",\n   \"transactionDateTime\": \"2022-03-11T17:07:24-07:00\",\n   \"eventSource\": \"web\",\n   \"isGuestCheckout\": false,\n   \"paymentAmount\": 1082.91,\n   \"taxAmount\": 1.23,\n   \"deliveryAmount\": 5.99,\n   \"currencyCode\": \"USD\",\n   \"success\": false,\n   \"emailAddress\": \"a@example.com\",\n   \"purchaseType\": \"services\",\n   \"items\": [\n      {\n         \"isHighRiskItem\": true,\n         \"price\": 1199.99,\n         \"shippingMethod\": \"ground\"\n      }\n   ],\n   \"promotions\": [\n      {\n         \"promoAmount\": 50\n      }\n   ],\n   \"addresses\": [\n      {\n         \"addressID\": \"23l4jk23klj23\",\n         \"addressType\": \"billing\",\n         \"firstName\": \"Jane\",\n         \"lastName\": \"Doe\",\n         \"phone\": \"3125555555\",\n         \"phoneCountryCode\": \"001\",\n         \"address1\": \"1863 Main Street\",\n         \"city\": \"Chicago\",\n         \"region\": \"IL\",\n         \"postCode\": \"60601\",\n         \"country\": \"US\"\n      }\n   ]\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.accertify.net/api/v1/unified-risk/preAuthTravel\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "example-2-ruby",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.accertify.net/api/v1/unified-risk/preAuthTravel\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"transactionID\": \"ABC123456\",\n   \"transactionDateTime\": \"2022-03-11T17:07:24-07:00\",\n   \"eventSource\": \"web\",\n   \"isGuestCheckout\": false,\n   \"paymentAmount\": 1082.91,\n   \"taxAmount\": 1.23,\n   \"deliveryAmount\": 5.99,\n   \"currencyCode\": \"USD\",\n   \"success\": false,\n   \"emailAddress\": \"a@example.com\",\n   \"purchaseType\": \"services\",\n   \"items\": [\n      {\n         \"isHighRiskItem\": true,\n         \"price\": 1199.99,\n         \"shippingMethod\": \"ground\"\n      }\n   ],\n   \"promotions\": [\n      {\n         \"promoAmount\": 50\n      }\n   ],\n   \"addresses\": [\n      {\n         \"addressID\": \"23l4jk23klj23\",\n         \"addressType\": \"billing\",\n         \"firstName\": \"Jane\",\n         \"lastName\": \"Doe\",\n         \"phone\": \"3125555555\",\n         \"phoneCountryCode\": \"001\",\n         \"address1\": \"1863 Main Street\",\n         \"city\": \"Chicago\",\n         \"region\": \"IL\",\n         \"postCode\": \"60601\",\n         \"country\": \"US\"\n      }\n   ]\n})\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "example-3-python",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.accertify.net/api/v1/unified-risk/preAuthTravel\"\n\npayload = json.dumps({\n   \"transactionID\": \"ABC123456\",\n   \"transactionDateTime\": \"2022-03-11T17:07:24-07:00\",\n   \"eventSource\": \"web\",\n   \"isGuestCheckout\": False,\n   \"paymentAmount\": 1082.91,\n   \"taxAmount\": 1.23,\n   \"deliveryAmount\": 5.99,\n   \"currencyCode\": \"USD\",\n   \"success\": False,\n   \"emailAddress\": \"a@example.com\",\n   \"purchaseType\": \"services\",\n   \"items\": [\n      {\n         \"isHighRiskItem\": True,\n         \"price\": 1199.99,\n         \"shippingMethod\": \"ground\"\n      }\n   ],\n   \"promotions\": [\n      {\n         \"promoAmount\": 50\n      }\n   ],\n   \"addresses\": [\n      {\n         \"addressID\": \"23l4jk23klj23\",\n         \"addressType\": \"billing\",\n         \"firstName\": \"Jane\",\n         \"lastName\": \"Doe\",\n         \"phone\": \"3125555555\",\n         \"phoneCountryCode\": \"001\",\n         \"address1\": \"1863 Main Street\",\n         \"city\": \"Chicago\",\n         \"region\": \"IL\",\n         \"postCode\": \"60601\",\n         \"country\": \"US\"\n      }\n   ]\n})\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "example-0-curl"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// Successful response.\n{\n  \"eventID\": \"\",\n  \"eventDetails\": {\n    \"deviceDetails\": {\n      \"browserSpoofRisk\": \"HIGH_RISK\",\n      \"deviceIDNew\": \"true\",\n      \"browserIsMobile\": \"true\",\n      \"mobileIsRooted\": \"true\",\n      \"deviceIDFirstSeen\": 97,\n      \"browserNewCookie\": \"false\",\n      \"deviceIDTimesSeen\": 123,\n      \"mobileApp\": \"true\",\n      \"browserReplayTagStatus\": \"VALID\",\n      \"deviceID\": \"63dc80b4-e585-4ae8-8004-e24fb0d1fa84\"\n    },\n    \"connectionDetails\": {\n      \"hostingIndicator\": \"true\",\n      \"isTor\": \"true\",\n      \"hostingIndicatorReal\": \"true\",\n      \"realIPMatch\": \"true\",\n      \"countryCode\": \"us\",\n      \"countryCodeReal\": \"de\",\n      \"isProxy\": \"false\"\n    }\n  },\n  \"paymentOptimization\": {\n    \"3DSModule\": \"active\",\n    \"3DSRun\": \"true\",\n    \"3DSRecommendation\": \"06\",\n    \"SCAResult\": \"In Scope Not Exempt\"\n  },\n  \"messages\": {\n    \"error\": [\n      {\n        \"code\": \"FIELD_REQUIRED_MISSING\",\n        \"message\": \"transactionID is required and was not provided\",\n        \"field\": \"transactionID\",\n        \"details\": \"\"\n      }\n    ],\n    \"warning\": [\n      {\n        \"code\": \"FIELD_REQUIRED_MISSING\",\n        \"message\": \"transactionID is required and was not provided\",\n        \"field\": \"transactionID\",\n        \"details\": \"\"\n      }\n    ],\n    \"info\": [\n      {\n        \"code\": \"FIELD_REQUIRED_MISSING\",\n        \"message\": \"transactionID is required and was not provided\",\n        \"field\": \"transactionID\",\n        \"details\": \"\"\n      }\n    ]\n  },\n  \"status\": false\n}"
        },
        {
          "id": "response-1-400",
          "language": "400",
          "code": "// Error response for invalid or missing request inputs. Returned when one or more required fields are absent or fail validation.\n{\n  \"errorCode\": 400,\n  \"errorMessage\": \"Validation Failed\",\n  \"errors\": [\n    \"\"\n  ]\n}"
        },
        {
          "id": "response-2-401",
          "language": "401",
          "code": "// Error response for authentication or authorization failures. Returned when credentials are invalid or the authenticated user has no matching API configuration for this endpoint.\n{\n  \"errorCode\": 401,\n  \"errorMessage\": \"Not Authorized\"\n}"
        },
        {
          "id": "response-3-429",
          "language": "429",
          "code": "// Error response when the request rate limit has been exceeded for the API user or API configuration.\n{\n  \"errorCode\": 429,\n  \"errorMessage\": \"Rate Limit Exceeded\"\n}"
        },
        {
          "id": "response-4-500",
          "language": "500",
          "code": "// Error response when the request cannot be processed due to an unexpected internal error.\n{\n  \"errorCode\": 500,\n  \"errorMessage\": \"Internal Server Error\"\n}"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}