Airline Complete Request Structure
4 min
\<font color="#b6c7cb">\</font> topic type reference purpose demonstrate the complete universal airline api request hierarchy and show where shared objects, airline extensions, and supporting structures appear within a request audience api integrators and client developers implementing the universal airline api applies to universal airline api request structures does not apply to authorization update, fulfillment update, or chargeback update requests, which use separate request models this example combines multiple optional and conditional structures into a single request to demonstrate object hierarchy, field placement, and airline specific extensions real world requests typically contain only the structures applicable to the transaction being submitted postauthairline the postauthairline structure includes the authorization and 3 d secure fields available after authorization postauthairline example { "transactionid" "arl bc123456", "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" true, "ipaddress" "10 12 12 123", "useragent" "mozilla/5 0 (macintosh; intel mac os x 10 14; rv 72 0) gecko/20100101 firefox/72 0", "devicetransactionid" "e1a1aade06e2557f34036eeb06173faf1fa05c64959383", "devicepayload" "afklasdjlasdjl3l23j23423klj", "ubaid" "3143e969395de649c48c1c9f3e363a3e7ae7", "ubaevents" "lasjdlkfdsljelkrrjwl3kl324j32k432", "emailaddress" "jane doe\@example com", "authenticationmethod" "magiclink", "brand" "acme", "phonenumber" "3125555555", "latitude" 33 836, "longitude" 117 914, "accountstatus" "active", "firstname" "jane", "middlename" "marie", "lastname" "doe", "purchasetype" "services", "listingid" "abcd1234", "ispaymentoptimization" true, "is3ds" true, "account" { "isenrolledinloyaltyprogram" true, "loyaltynumber" "aa123456", "accountlocale" "en us", "accountlevel" "gold", "accounttype" "individual", "accountregistrationdatetime" "2020 11 22t17 07 24 07 00", "dateofbirth" "1985 11 15", "loyaltyprogramname" "aadvantage", "loyaltypointsbalance" 987654 }, "payment" { "salesrepid" "sr#46k90", "referralcode" "api 210315", "isgift" false, "ordermessage" "enjoy the gift", "ispaymentininstallments" false, "ispaymentrecurring" false }, "addresses" \[ { "addressid" "address account 001", "addresstype" "account", "primaryflag" true, "isaddressonfile" true, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "1863 main street", "address2" "unit 1", "city" "chicago", "region" "il", "postcode" "60601", "country" "us", "companyname" "accertify, inc", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address billing 001", "addresstype" "billing", "primaryflag" true, "isaddressonfile" true, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "200 billing avenue", "address2" "unit 2", "city" "chicago", "region" "il", "postcode" "60601", "country" "us", "companyname" "accertify, inc", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address bopis 001", "addresstype" "bopis", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "100 store avenue", "address2" "unit 3", "city" "chicago", "region" "il", "postcode" "60666", "country" "us", "companyname" "airport retail store", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address curbside 001", "addresstype" "curbside", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "100 curbside lane", "address2" "unit 4", "city" "chicago", "region" "il", "postcode" "60666", "country" "us", "companyname" "airport pickup", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address departure 001", "addresstype" "departure", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "10000 west o'hare avenue", "address2" "unit 5", "city" "chicago", "region" "il", "postcode" "60666", "country" "us", "companyname" "o'hare international airport", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address destination 001", "addresstype" "destination", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "1 world way", "address2" "unit 6", "city" "los angeles", "region" "ca", "postcode" "90045", "country" "us", "companyname" "los angeles international airport", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address fulfillment 001", "addresstype" "fulfillment", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "500 fulfillment drive", "address2" "unit 7", "city" "chicago", "region" "il", "postcode" "60638", "country" "us", "companyname" "airline fulfillment center", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address listing 001", "addresstype" "listing", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "700 listing road", "address2" "unit 8", "city" "chicago", "region" "il", "postcode" "60602", "country" "us", "companyname" "airline marketplace", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address lodging 001", "addresstype" "lodging", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "900 hotel boulevard", "address2" "unit 9", "city" "los angeles", "region" "ca", "postcode" "90015", "country" "us", "companyname" "acme hotel", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address pickup 001", "addresstype" "pickup", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "300 pickup street", "address2" "unit 10", "city" "chicago", "region" "il", "postcode" "60666", "country" "us", "companyname" "airport pickup counter", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address return 001", "addresstype" "return", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "400 return street", "address2" "unit 11", "city" "los angeles", "region" "ca", "postcode" "90045", "country" "us", "companyname" "airport return counter", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address shipping 001", "addresstype" "shipping", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "1863 main street", "address2" "unit 12", "city" "chicago", "region" "il", "postcode" "60601", "country" "us", "companyname" "accertify, inc", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address venue 001", "addresstype" "venue", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "111 venue plaza", "address2" "unit 13", "city" "los angeles", "region" "ca", "postcode" "90015", "country" "us", "companyname" "acme venue", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address other 001", "addresstype" "other", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "999 other road", "address2" "unit 14", "city" "los angeles", "region" "ca", "postcode" "90017", "country" "us", "companyname" "other location", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" } ], "paymentmethods" \[ { "paymenttype" "creditcard", "paymentmethodid" "payment credit card 001", "paymentmethodamount" 399 00, "ispaymentstoredonfile" true, "cardnumber" "4111111111111111", "cardtoken" "6f7%gf38hfua", "expirationmonth" "11", "expirationyear" "2029", "nameoncreditcard" "jane doe", "cardbin" "411111", "cardlastfour" "1111", "totalfailedattempts" 1, "paymentmethodcreateddatetime" "2020 03 28t17 07 24 07 00", "paymentmethodupdateddatetime" "2021 03 28t17 07 24 07 00", "addressid" "billing 001", "avsresult" "matched", "cvvresult" "matched", "cardauthorizationcode" "a1b2c3", "cardauthorizationdatetime" "2022 03 11t17 07 25 07 00", "ispreauthorizationreject" false, "postauthorizationrejectreason" "creditreject", "eciindicator" "successful", "isscasoftdecline" false, "sca3dsflow" "frictionless", "sca3dsversion" "2 2 0", "sca3dschallengerequesttype" "02", "sca3dstransactionstatus" "y", "scaauthorizationstatus" "approve", "scaauthorizationerror" "decline" }, { "paymenttype" "digitalwallet", "paymentmethodid" "payment wallet 001", "paymentmethodamount" 100 00, "ispaymentstoredonfile" true, "nameonaccount" "jane doe", "wallettype" "apple pay", "walletstatus" "active", "iswalletprotectioneligible" true, "paymentmethodbalanceamount" 4000 32, "totalfailedattempts" 0, "paymentmethodcreateddatetime" "2020 03 28t17 07 24 07 00", "paymentmethodupdateddatetime" "2021 03 28t17 07 24 07 00", "addressid" "billing 001" }, { "paymenttype" "giftcard", "paymentmethodid" "payment gift card 001", "paymentmethodamount" 75 00, "ispaymentstoredonfile" false, "giftcardnumber" "5555444433332222", "giftcardlastfour" "2222", "giftcardbin" "654678", "expirationday" "09", "expirationmonth" "11", "expirationyear" "2029", "paymentmethodbalanceamount" 150 00, "totalfailedattempts" 0, "addressid" "billing 001" }, { "paymenttype" "bankaccount", "paymentmethodid" "payment bank account 001", "paymentmethodamount" 100 00, "ispaymentstoredonfile" true, "nameonaccount" "jane doe", "accounttype" "checking", "paymentmethodbalanceamount" 2500 00, "totalfailedattempts" 0, "paymentmethodcreateddatetime" "2020 03 28t17 07 24 07 00", "paymentmethodupdateddatetime" "2021 03 28t17 07 24 07 00", "addressid" "billing 001" }, { "paymenttype" "loyaltypoints", "paymentmethodid" "payment loyalty 001", "paymentmethodamount" 50 00, "ispaymentstoredonfile" true, "points" 50000, "loyaltyprogramname" "members plus", "nameonaccount" "jane doe" }, { "paymenttype" "cash", "paymentmethodid" "payment cash 001", "paymentmethodamount" 25 00, "ispaymentstoredonfile" false }, { "paymenttype" "check", "paymentmethodid" "payment check 001", "paymentmethodamount" 25 00, "ispaymentstoredonfile" false, "nameonaccount" "jane doe", "addressid" "billing 001" }, { "paymenttype" "cryptocurrency", "paymentmethodid" "payment crypto 001", "paymentmethodamount" 25 00, "ispaymentstoredonfile" false, "nameonaccount" "jane doe" }, { "paymenttype" "electronicfundtransfer", "paymentmethodid" "payment eft 001", "paymentmethodamount" 25 00, "ispaymentstoredonfile" true, "nameonaccount" "jane doe", "accounttype" "checking", "addressid" "billing 001" }, { "paymenttype" "invoice", "paymentmethodid" "payment invoice 001", "paymentmethodamount" 25 00, "ispaymentstoredonfile" false, "nameonaccount" "accertify, inc", "addressid" "billing 001" }, { "paymenttype" "loan", "paymentmethodid" "payment loan 001", "paymentmethodamount" 25 00, "ispaymentstoredonfile" true, "nameonaccount" "jane doe", "addressid" "billing 001" }, { "paymenttype" "moneyorder", "paymentmethodid" "payment money order 001", "paymentmethodamount" 25 00, "ispaymentstoredonfile" false, "nameonaccount" "jane doe" }, { "paymenttype" "seccard", "paymentmethodid" "payment sec card 001", "paymentmethodamount" 25 00, "ispaymentstoredonfile" true, "nameonaccount" "jane doe", "addressid" "billing 001" }, { "paymenttype" "storecredit", "paymentmethodid" "payment store credit 001", "paymentmethodamount" 25 00, "ispaymentstoredonfile" true, "nameonaccount" "jane doe", "paymentmethodbalanceamount" 250 00 }, { "paymenttype" "thirdparty", "paymentmethodid" "payment third party 001", "paymentmethodamount" 25 00, "ispaymentstoredonfile" false, "nameonaccount" "jane doe", "addressid" "billing 001" }, { "paymenttype" "voucher", "paymentmethodid" "payment voucher 001", "paymentmethodamount" 8 91, "ispaymentstoredonfile" false, "nameonaccount" "jane doe" } ], "items" \[ { "itemtype" "giftcard", "brandname" "american airlines", "description" "giftcard airline item", "category" "air travel", "itemid" "airline giftcard 001", "ishighriskitem" true, "price" 101 0, "facevalueamount" 126 0, "quantity" 1, "addressid" "address destination 001", "productcondition" "new", "shippingcompany" "other", "companyname" "american airlines", "shippingmethod" "digital", "shippingtrackingnumber" "airtrack001", "promocode" "airpromo01", "promoamount" 10 0, "promotype" "percentage", "pickuplocation" "other", "pickupdatetime" "2022 03 11t06 30 00 06 00", "pickuppersonfirstname" "jane", "pickuppersonlastname" "doe" }, { "itemtype" "parking", "brandname" "american airlines", "description" "parking airline item", "category" "air travel", "itemid" "airline parking 001", "ishighriskitem" false, "price" 102 0, "facevalueamount" 127 0, "quantity" 1, "addressid" "address destination 001", "productcondition" "new", "shippingcompany" "other", "companyname" "american airlines", "shippingmethod" "digital", "shippingtrackingnumber" "airtrack002", "promocode" "airpromo02", "promoamount" 10 0, "promotype" "percentage", "pickuplocation" "other", "pickupdatetime" "2022 03 11t06 30 00 06 00", "pickuppersonfirstname" "jane", "pickuppersonlastname" "doe" }, { "itemtype" "physicalgood", "brandname" "american airlines", "description" "physicalgood airline item", "category" "air travel", "itemid" "airline physicalgood 001", "ishighriskitem" false, "price" 103 0, "facevalueamount" 128 0, "quantity" 1, "addressid" "address destination 001", "productcondition" "new", "shippingcompany" "ups", "companyname" "american airlines", "shippingmethod" "ground", "shippingtrackingnumber" "airtrack003", "promocode" "airpromo03", "promoamount" 10 0, "promotype" "percentage", "pickuplocation" "other", "pickupdatetime" "2022 03 11t06 30 00 06 00", "pickuppersonfirstname" "jane", "pickuppersonlastname" "doe" }, { "itemtype" "reservation", "brandname" "american airlines", "description" "reservation airline item", "category" "air travel", "itemid" "airline reservation 001", "ishighriskitem" false, "price" 104 0, "facevalueamount" 129 0, "quantity" 1, "addressid" "address destination 001", "productcondition" "new", "shippingcompany" "other", "companyname" "american airlines", "shippingmethod" "digital", "shippingtrackingnumber" "airtrack004", "promocode" "airpromo04", "promoamount" 10 0, "promotype" "percentage", "pickuplocation" "other", "pickupdatetime" "2022 03 11t06 30 00 06 00", "pickuppersonfirstname" "jane", "pickuppersonlastname" "doe" }, { "itemtype" "subscription", "brandname" "american airlines", "description" "subscription airline item", "category" "air travel", "itemid" "airline subscription 001", "ishighriskitem" false, "price" 105 0, "facevalueamount" 130 0, "quantity" 1, "addressid" "address destination 001", "productcondition" "new", "shippingcompany" "other", "companyname" "american airlines", "shippingmethod" "digital", "shippingtrackingnumber" "airtrack005", "promocode" "airpromo05", "promoamount" 10 0, "promotype" "percentage", "pickuplocation" "other", "pickupdatetime" "2022 03 11t06 30 00 06 00", "pickuppersonfirstname" "jane", "pickuppersonlastname" "doe" }, { "itemtype" "ticket", "brandname" "american airlines", "description" "ticket airline item", "category" "air travel", "itemid" "airline ticket 001", "ishighriskitem" true, "price" 106 0, "facevalueamount" 131 0, "quantity" 1, "addressid" "address destination 001", "productcondition" "new", "shippingcompany" "other", "companyname" "american airlines", "shippingmethod" "digital", "shippingtrackingnumber" "airtrack006", "promocode" "airpromo06", "promoamount" 10 0, "promotype" "percentage", "pickuplocation" "other", "pickupdatetime" "2022 03 11t06 30 00 06 00", "pickuppersonfirstname" "jane", "pickuppersonlastname" "doe" }, { "itemtype" "other", "brandname" "american airlines", "description" "other airline item", "category" "air travel", "itemid" "airline other 001", "ishighriskitem" false, "price" 107 0, "facevalueamount" 132 0, "quantity" 1, "addressid" "address destination 001", "productcondition" "other", "shippingcompany" "other", "companyname" "american airlines", "shippingmethod" "digital", "shippingtrackingnumber" "airtrack007", "promocode" "airpromo07", "promoamount" 10 0, "promotype" "percentage", "pickuplocation" "other", "pickupdatetime" "2022 03 11t06 30 00 06 00", "pickuppersonfirstname" "jane", "pickuppersonlastname" "doe" } ], "promotions" \[ { "promocode" "bogo2026", "promoamount" 25 00, "promotype" "bogo" }, { "promocode" "bundle2026", "promoamount" 20 00, "promotype" "bundle" }, { "promocode" "employee50", "promoamount" 50 00, "promotype" "employeediscount" }, { "promocode" "freeship", "promoamount" 5 99, "promotype" "freeshipping" }, { "promocode" "loyalty25", "promoamount" 25 00, "promotype" "loyaltydiscount" }, { "promocode" "newmember10", "promoamount" 10 00, "promotype" "newmemberdiscount" }, { "promocode" "percent15", "promoamount" 15 00, "promotype" "percentage" }, { "promocode" "quantity20", "promoamount" 20 00, "promotype" "quantitypromotion" }, { "promocode" "otherpromo", "promoamount" 5 00, "promotype" "other" } ] } "flightinformation" { "pnr" "abc123", "flighttype" "round trip", "isthirdpartybooking" false, "farebasiscode" "ylowus", "otaidentificationnumber" "ota12345", "otaname" "expedia", "initialdepartingairport" "ord", "finalarrivalairport" "lax", "numberofpassengers" 1, "segments" \[ { "routeinfo" "ord lax", "airlinename" "american airlines", "operatingairline" "american airlines", "flightnumber" "aa1234", "ticketclass" "economy", "fareclass" "y", "specialfaretype" "corporate", "isawardticket" false, "departuredatetime" "2022 03 11t08 00 00 06 00", "departureairportcode" "ord", "arrivaldatetime" "2022 03 11t11 00 00 07 00", "arrivalairportcode" "lax", "isfinaldestination" true } ], "passengers" \[ { "passengerid" "pax001", "ticketnumber" "0012345678901", "passengerdateofbirth" "1985 11 15", "passengergender" "f", "passengeradultorchild" "adult", "passengertitle" "ms", "passengerfirstname" "jane", "passengermiddlename" "marie", "passengerlastname" "doe", "passengerfullname" "jane marie doe", "passengerphone" "3125555555", "passengerphonecountrycode" "1", "passengeremailaddress" "jane doe\@example com", "passengercheckedbaggagecount" 1, "passengerloyaltynumber" "aa123456", "passengerloyaltysincedate" "2015 06 01", "passengerloyaltylevel" "gold", "passengerpassportnumber" "a12345678", "passengerpassportcountrycode" "us", "passengerpassportexpirationdate" "2030 06 01" } ] }, "agencyinformation" { "agencydetails" \[ { "agencycode" "01234abc", "agencyname" "acme travel inc", "agencysalesrepresentativeid" "232324521", "agencyconfirmationnumber" "abc123", "agencycountrycode" "us", "agencyemail" "agent\@acmetravel com", "agencyheadoffice" "chicago", "agencyphone" "13125555555" } ] }, "insuranceinformation" { "insurancedetails" \[ { "insurancetype" "travel", "insurancecity" "chicago", "insurancecountrycode" "us", "insurancestartdatetime" "2022 03 18t17 07 24 07 00", "insuranceenddatetime" "2022 03 25t17 07 24 07 00", "insurancename" "acme travel insurance full cover", "insurancereservationname" "jane doe", "insurancetotalamount" 399 04, "insurancecurrencycode" "usd" } ] } } preauthairline the preauthairline request omits the post authorization fields from the "credit card" example under paymentmethods\[] block preauthairline example { "transactionid" "arl bc123456", "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", "useragent" "mozilla/5 0 (macintosh; intel mac os x 10 14; rv 72 0) gecko/20100101 firefox/72 0", "devicetransactionid" "e1a1aade06e2557f34036eeb06173faf1fa05c64959383", "devicepayload" "afklasdjlasdjl3l23j23423klj", "ubaid" "3143e969395de649c48c1c9f3e363a3e7ae7", "ubaevents" "lasjdlkfdsljelkrrjwl3kl324j32k432", "emailaddress" "jane doe\@example com", "authenticationmethod" "magiclink", "failurecode" "authfailed", "brand" "acme", "phonenumber" "3125555555", "latitude" 41 9786, "longitude" 87 9048, "accountstatus" "active", "firstname" "jane", "middlename" "marie", "lastname" "doe", "purchasetype" "services", "listingid" "airline listing 001", "ispaymentoptimization" true, "is3ds" false, "account" { "isenrolledinloyaltyprogram" true, "loyaltynumber" "aa123456", "accountlocale" "en us", "accountlevel" "gold", "accounttype" "individual", "accountregistrationdatetime" "2020 11 22t17 07 24 07 00", "accountemailupdateddatetime" "2020 08 28t19 00 00 04 00", "accountpasswordupdateddatetime" "2021 06 15t10 30 00 07 00", "dateofbirth" "1985 11 15", "loyaltyprogramname" "aadvantage", "loyaltypointsbalance" 987654 }, "payment" { "salesrepid" "sr#46k90", "referralcode" "api 210315", "isgift" true, "ordermessage" "enjoy the gift", "ordermessage" "window seat preferred", "ispaymentininstallments" true, "installmentamount" 99 99, "installmentcurrencycode" "usd", "installmentcount" 12, "ispaymentrecurring" false }, "addresses" \[ { "addressid" "address account 001", "addresstype" "account", "primaryflag" true, "isaddressonfile" true, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "1863 main street", "address2" "unit 1", "city" "chicago", "region" "il", "postcode" "60601", "country" "us", "companyname" "accertify, inc", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address billing 001", "addresstype" "billing", "primaryflag" true, "isaddressonfile" true, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "200 billing avenue", "address2" "unit 2", "city" "chicago", "region" "il", "postcode" "60601", "country" "us", "companyname" "accertify, inc", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address bopis 001", "addresstype" "bopis", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "100 store avenue", "address2" "unit 3", "city" "chicago", "region" "il", "postcode" "60666", "country" "us", "companyname" "airport retail store", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address curbside 001", "addresstype" "curbside", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "100 curbside lane", "address2" "unit 4", "city" "chicago", "region" "il", "postcode" "60666", "country" "us", "companyname" "airport pickup", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address departure 001", "addresstype" "departure", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "10000 west o'hare avenue", "address2" "unit 5", "city" "chicago", "region" "il", "postcode" "60666", "country" "us", "companyname" "o'hare international airport", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address destination 001", "addresstype" "destination", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "1 world way", "address2" "unit 6", "city" "los angeles", "region" "ca", "postcode" "90045", "country" "us", "companyname" "los angeles international airport", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address fulfillment 001", "addresstype" "fulfillment", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "500 fulfillment drive", "address2" "unit 7", "city" "chicago", "region" "il", "postcode" "60638", "country" "us", "companyname" "airline fulfillment center", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address listing 001", "addresstype" "listing", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "700 listing road", "address2" "unit 8", "city" "chicago", "region" "il", "postcode" "60602", "country" "us", "companyname" "airline marketplace", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address lodging 001", "addresstype" "lodging", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "900 hotel boulevard", "address2" "unit 9", "city" "los angeles", "region" "ca", "postcode" "90015", "country" "us", "companyname" "acme hotel", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address pickup 001", "addresstype" "pickup", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "300 pickup street", "address2" "unit 10", "city" "chicago", "region" "il", "postcode" "60666", "country" "us", "companyname" "airport pickup counter", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address return 001", "addresstype" "return", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "400 return street", "address2" "unit 11", "city" "los angeles", "region" "ca", "postcode" "90045", "country" "us", "companyname" "airport return counter", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address shipping 001", "addresstype" "shipping", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "1863 main street", "address2" "unit 12", "city" "chicago", "region" "il", "postcode" "60601", "country" "us", "companyname" "accertify, inc", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address venue 001", "addresstype" "venue", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "111 venue plaza", "address2" "unit 13", "city" "los angeles", "region" "ca", "postcode" "90015", "country" "us", "companyname" "acme venue", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "address other 001", "addresstype" "other", "primaryflag" false, "isaddressonfile" false, "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe\@example com", "phone" "3125555555", "phonecountrycode" "001", "address1" "999 other road", "address2" "unit 14", "city" "los angeles", "region" "ca", "postcode" "90017", "country" "us", "companyname" "other location", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" } ], "paymentmethods" \[ { "paymenttype" "creditcard", "paymentmethodid" "payment credit card 001", "paymentmethodamount" 399 0, "ispaymentstoredonfile" true, "cardnumber" "4111111111111111", "cardtoken" "6f7%gf38hfua", "expirationmonth" "11", "expirationyear" "2029", "nameoncreditcard" "jane doe", "cardbin" "411111", "cardlastfour" "1111", "totalfailedattempts" 1, "paymentmethodcreateddatetime" "2020 03 28t17 07 24 07 00", "paymentmethodupdateddatetime" "2021 03 28t17 07 24 07 00", "addressid" "address billing 001" }, { "paymenttype" "digitalwallet", "paymentmethodid" "payment wallet 001", "paymentmethodamount" 100 0, "ispaymentstoredonfile" true, "nameonaccount" "jane doe", "wallettype" "apple pay", "walletstatus" "active", "iswalletprotectioneligible" true, "paymentmethodbalanceamount" 4000 32, "totalfailedattempts" 0, "paymentmethodcreateddatetime" "2020 03 28t17 07 24 07 00", "paymentmethodupdateddatetime" "2021 03 28t17 07 24 07 00", "addressid" "address billing 001" }, { "paymenttype" "giftcard", "paymentmethodid" "payment gift card 001", "paymentmethodamount" 75 0, "ispaymentstoredonfile" false, "giftcardnumber" "5555444433332222", "giftcardlastfour" "2222", "giftcardbin" "654678", "expirationday" "09", "expirationmonth" "11", "expirationyear" "2029", "paymentmethodbalanceamount" 150 0, "totalfailedattempts" 0, "addressid" "address billing 001" }, { "paymenttype" "bankaccount", "paymentmethodid" "payment bank account 001", "paymentmethodamount" 100 0, "ispaymentstoredonfile" true, "nameonaccount" "jane doe", "accounttype" "checking", "paymentmethodbalanceamount" 2500 0, "totalfailedattempts" 0, "paymentmethodcreateddatetime" "2020 03 28t17 07 24 07 00", "paymentmethodupdateddatetime" "2021 03 28t17 07 24 07 00", "addressid" "address billing 001" }, { "paymenttype" "loyaltypoints", "paymentmethodid" "payment loyalty 001", "paymentmethodamount" 50 0, "ispaymentstoredonfile" true, "points" 50000, "loyaltyprogramname" "aadvantage", "nameonaccount" "jane doe" }, { "paymenttype" "cash", "paymentmethodid" "payment cash 001", "paymentmethodamount" 25 0, "ispaymentstoredonfile" false }, { "paymenttype" "check", "paymentmethodid" "payment check 001", "paymentmethodamount" 25 0, "ispaymentstoredonfile" false, "nameonaccount" "jane doe", "addressid" "address billing 001" }, { "paymenttype" "cryptocurrency", "paymentmethodid" "payment crypto 001", "paymentmethodamount" 25 0, "ispaymentstoredonfile" false, "nameonaccount" "jane doe" }, { "paymenttype" "electronicfundtransfer", "paymentmethodid" "payment eft 001", "paymentmethodamount" 25 0, "ispaymentstoredonfile" true, "nameonaccount" "jane doe", "accounttype" "checking", "addressid" "address billing 001" }, { "paymenttype" "invoice", "paymentmethodid" "payment invoice 001", "paymentmethodamount" 25 0, "ispaymentstoredonfile" false, "nameonaccount" "accertify, inc", "addressid" "address billing 001" }, { "paymenttype" "loan", "paymentmethodid" "payment loan 001", "paymentmethodamount" 25 0, "ispaymentstoredonfile" true, "nameonaccount" "jane doe", "addressid" "address billing 001" }, { "paymenttype" "moneyorder", "paymentmethodid" "payment money order 001", "paymentmethodamount" 25 0, "ispaymentstoredonfile" false, "nameonaccount" "jane doe" }, { "paymenttype" "seccard", "paymentmethodid" "payment sec card 001", "paymentmethodamount" 25 0, "ispaymentstoredonfile" true, "nameonaccount" "jane doe", "addressid" "address billing 001" }, { "paymenttype" "storecredit", "paymentmethodid" "payment store credit 001", "paymentmethodamount" 25 0, "ispaymentstoredonfile" true, "nameonaccount" "jane doe", "paymentmethodbalanceamount" 250 0 }, { "paymenttype" "thirdparty", "paymentmethodid" "payment third party 001", "paymentmethodamount" 25 0, "ispaymentstoredonfile" false, "nameonaccount" "jane doe", "addressid" "address billing 001" }, { "paymenttype" "voucher", "paymentmethodid" "payment voucher 001", "paymentmethodamount" 8 91, "ispaymentstoredonfile" false, "nameonaccount" "jane doe" } ], "items" \[ { "itemtype" "giftcard", "brandname" "american airlines", "description" "giftcard airline item", "category" "air travel", "itemid" "airline giftcard 001", "ishighriskitem" true, "price" 101 0, "facevalueamount" 126 0, "quantity" 1, "addressid" "address destination 001", "productcondition" "new", "shippingcompany" "other", "companyname" "american airlines", "shippingmethod" "digital", "shippingtrackingnumber" "airtrack001", "promocode" "airpromo01", "promoamount" 10 0, "promotype" "percentage", "pickuplocation" "other", "pickupdatetime" "2022 03 11t06 30 00 06 00", "pickuppersonfirstname" "jane", "pickuppersonlastname" "doe" }, { "itemtype" "parking", "brandname" "american airlines", "description" "parking airline item", "category" "air travel", "itemid" "airline parking 001", "ishighriskitem" false, "price" 102 0, "facevalueamount" 127 0, "quantity" 1, "addressid" "address destination 001", "productcondition" "new", "shippingcompany" "other", "companyname" "american airlines", "shippingmethod" "digital", "shippingtrackingnumber" "airtrack002", "promocode" "airpromo02", "promoamount" 10 0, "promotype" "percentage", "pickuplocation" "other", "pickupdatetime" "2022 03 11t06 30 00 06 00", "pickuppersonfirstname" "jane", "pickuppersonlastname" "doe" }, { "itemtype" "physicalgood", "brandname" "american airlines", "description" "physicalgood airline item", "category" "air travel", "itemid" "airline physicalgood 001", "ishighriskitem" false, "price" 103 0, "facevalueamount" 128 0, "quantity" 1, "addressid" "address destination 001", "productcondition" "new", "shippingcompany" "ups", "companyname" "american airlines", "shippingmethod" "ground", "shippingtrackingnumber" "airtrack003", "promocode" "airpromo03", "promoamount" 10 0, "promotype" "percentage", "pickuplocation" "other", "pickupdatetime" "2022 03 11t06 30 00 06 00", "pickuppersonfirstname" "jane", "pickuppersonlastname" "doe" }, { "itemtype" "reservation", "brandname" "american airlines", "description" "reservation airline item", "category" "air travel", "itemid" "airline reservation 001", "ishighriskitem" false, "price" 104 0, "facevalueamount" 129 0, "quantity" 1, "addressid" "address destination 001", "productcondition" "new", "shippingcompany" "other", "companyname" "american airlines", "shippingmethod" "digital", "shippingtrackingnumber" "airtrack004", "promocode" "airpromo04", "promoamount" 10 0, "promotype" "percentage", "pickuplocation" "other", "pickupdatetime" "2022 03 11t06 30 00 06 00", "pickuppersonfirstname" "jane", "pickuppersonlastname" "doe" }, { "itemtype" "subscription", "brandname" "american airlines", "description" "subscription airline item", "category" "air travel", "itemid" "airline subscription 001", "ishighriskitem" false, "price" 105 0, "facevalueamount" 130 0, "quantity" 1, "addressid" "address destination 001", "productcondition" "new", "shippingcompany" "other", "companyname" "american airlines", "shippingmethod" "digital", "shippingtrackingnumber" "airtrack005", "promocode" "airpromo05", "promoamount" 10 0, "promotype" "percentage", "pickuplocation" "other", "pickupdatetime" "2022 03 11t06 30 00 06 00", "pickuppersonfirstname" "jane", "pickuppersonlastname" "doe" }, { "itemtype" "ticket", "brandname" "american airlines", "description" "ticket airline item", "category" "air travel", "itemid" "airline ticket 001", "ishighriskitem" true, "price" 106 0, "facevalueamount" 131 0, "quantity" 1, "addressid" "address destination 001", "productcondition" "new", "shippingcompany" "other", "companyname" "american airlines", "shippingmethod" "digital", "shippingtrackingnumber" "airtrack006", "promocode" "airpromo06", "promoamount" 10 0, "promotype" "percentage", "pickuplocation" "other", "pickupdatetime" "2022 03 11t06 30 00 06 00", "pickuppersonfirstname" "jane", "pickuppersonlastname" "doe" }, { "itemtype" "other", "brandname" "american airlines", "description" "other airline item", "category" "air travel", "itemid" "airline other 001", "ishighriskitem" false, "price" 107 0, "facevalueamount" 132 0, "quantity" 1, "addressid" "address destination 001", "productcondition" "other", "shippingcompany" "other", "companyname" "american airlines", "shippingmethod" "digital", "shippingtrackingnumber" "airtrack007", "promocode" "airpromo07", "promoamount" 10 0, "promotype" "percentage", "pickuplocation" "other", "pickupdatetime" "2022 03 11t06 30 00 06 00", "pickuppersonfirstname" "jane", "pickuppersonlastname" "doe" } ], "promotions" \[ { "promocode" "promo01", "promoamount" 5 0, "promotype" "bogo" }, { "promocode" "promo02", "promoamount" 10 0, "promotype" "bundle" }, { "promocode" "promo03", "promoamount" 15 0, "promotype" "employeediscount" }, { "promocode" "promo04", "promoamount" 20 0, "promotype" "freeshipping" }, { "promocode" "promo05", "promoamount" 25 0, "promotype" "loyaltydiscount" }, { "promocode" "promo06", "promoamount" 30 0, "promotype" "newmemberdiscount" }, { "promocode" "promo07", "promoamount" 35 0, "promotype" "percentage" }, { "promocode" "promo08", "promoamount" 40 0, "promotype" "quantitypromotion" }, { "promocode" "promo09", "promoamount" 45 0, "promotype" "other" } ], "flightinformation" { "pnr" "abc123", "flighttype" "round trip", "isthirdpartybooking" true, "farebasiscode" "ylowus", "otaidentificationnumber" "ota12345", "otaname" "expedia", "initialdepartingairport" "ord", "finalarrivalairport" "lax", "numberofpassengers" 2, "segments" \[ { "routeinfo" "ord lax", "airlinename" "american airlines", "operatingairline" "american airlines", "flightnumber" "aa1234", "ticketclass" "economy", "fareclass" "y", "specialfaretype" "corporate", "isawardticket" false, "departuredatetime" "2022 03 11t08 00 00 06 00", "departureairportcode" "ord", "arrivaldatetime" "2022 03 11t11 00 00 07 00", "arrivalairportcode" "lax", "isfinaldestination" true } ], "passengers" \[ { "passengerid" "pax001", "ticketnumber" "0012345678901", "passengerdateofbirth" "1985 11 15", "passengergender" "f", "passengeradultorchild" "adult", "passengertitle" "ms", "passengerfirstname" "jane", "passengermiddlename" "marie", "passengerlastname" "doe", "passengerfullname" "jane marie doe", "passengerphone" "3125555555", "passengerphonecountrycode" "1", "passengeremailaddress" "jane doe\@example com", "passengercheckedbaggagecount" 1, "passengerloyaltynumber" "aa123456", "passengerloyaltysincedate" "2015 06 01", "passengerloyaltylevel" "gold", "passengerpassportnumber" "a12345678", "passengerpassportcountrycode" "us", "passengerpassportexpirationdate" "2030 06 01" } ] }, "agencyinformation" { "agencydetails" \[ { "agencycode" "01234abc", "agencyname" "acme travel inc", "agencysalesrepresentativeid" "232324521", "agencyconfirmationnumber" "abc123", "agencycountrycode" "us", "agencyemail" "agent\@acmetravel com", "agencyheadoffice" "chicago", "agencyphone" "13125555555" } ] }, "insuranceinformation" { "insurancedetails" \[ { "insurancetype" "travel", "insurancecity" "chicago", "insurancecountrycode" "us", "insurancestartdatetime" "2022 03 11t00 00 00 06 00", "insuranceenddatetime" "2022 03 19t00 00 00 05 00", "insurancename" "acme travel insurance full cover", "insurancereservationname" "jane doe", "insurancetotalamount" 399 04, "insurancecurrencycode" "usd" } ] } } omitted post auth fields pre auth omits these fields avsresult cvvresult cardauthorizationcode cardauthorizationdatetime ispreauthorizationreject postauthorizationrejectreason eciindicator isscasoftdecline sca3dsflow sca3dsversion sca3dschallengerequesttype sca3dstransactionstatus scaauthorizationstatus scaauthorizationerror