EU Airline Fields
1 min
POST
https://rtd01.eu.accertify.net/icNowImport/{importerID}
Path Parameters
- importerIDstringrequired
Body Parameters
- transactionobjectDescription
- transactionIDstringrequiredExampleDescription
- transactionTypestring<preAuthorization | postAuthorization | update>requiredExampleDescriptionAllowedpreAuthorizationpostAuthorizationupdate
- transactionDateTimestring<date-time>requiredExampleDescriptionFormatdate-time
- accountIDstringExampleDescription
- isGuestCheckoutstring<true | false>DescriptionAllowedtruefalse
- paymentAmountnumber<float>requiredExampleDescriptionFormatfloat
- taxAmountnumber<float>ExampleDescriptionFormatfloat
- currencyCodestringrequiredExampleDescription
- successstring<true | false>requiredDescriptionAllowedtruefalse
- failureCodestring<authFailed | other>DescriptionAllowedauthFailedother
- firstNamestringExampleDescription
- middleNamestringExampleDescription
- lastNamestringExampleDescription
- phoneNumberstringDescription
- purchaseTypestring<physicalItems | digitalItems | services | other>requiredDescriptionAllowedphysicalItemsdigitalItemsservicesother
- listingIDstringExampleDescription
- loyaltyNumberstringExampleDescription
- eventSourcestring<agentPhone | agentStore | affiliate | kiosk | mobileApp | other | web>requiredDescriptionAllowedagentPhoneagentStoreaffiliatekioskmobileAppotherweb
- ipAddressstringExampleDescription
- userAgentstringExampleDescription
- devicePayloadstringExampleDescription
- deviceTransactionIDstringExampleDescription
- ubaIDstringExampleDescription
- emailAddressstringExampleDescription
- ubaEventsstringExampleDescription
- pageIDstringExampleDescription
- usernamestringExampleDescription
- authenticationMethodstring<appAuthenticator | appPush | FIDO | other | password | magicLink | SMS>DescriptionAllowedappAuthenticatorappPushFIDOotherpasswordmagicLinkSMS
- latitudenumberExampleDescription
- longitudenumberExampleDescription
- hashedPasswordstringExampleDescription
- accountStatusstring<active | dormant | suspended | terminated | trial | other>DescriptionAllowedactivedormantsuspendedterminatedtrialother
- brandstringExampleDescription
- sessionIDstringExampleDescription
- ubaSessionIDstringExampleDescription
- accountobjectDescription
- isEnrolledInLoyaltyProgramstring<true | false>DescriptionAllowedtruefalse
- isMobileAppInstalledstring<true | false>DescriptionAllowedtruefalse
- accountLocalestringExampleDescription
- accountLevelstringExampleDescription
- accountTypestring<individual | business | family | other>DescriptionAllowedindividualbusinessfamilyother
- accountReferralCodestringExampleDescription
- accountRegistrationDateTimestring<date-time>ExampleDescriptionFormatdate-time
- accountEmailUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- accountEmailVerifiedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- accountPasswordUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- dateOfBirthstringExampleDescription
- totalCreditCardsOnFilestringExampleDescription
- totalInactiveCreditCardsOnFilestringExampleDescription
- totalPurchasesstringDescription
- totalRefundsstringDescription
- totalOrdersAmountstringDescription
- loyaltyProgramNamestringExampleDescription
- loyaltyNumberStartDateTimestring<date-time>ExampleDescriptionFormatdate-time
- loyaltyNumberLastUsedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- loyaltyLastUsedPointsstringExampleDescription
- loyaltyPointsBalancestringExampleDescription
- loyaltyLastEarnedPointsstringExampleDescription
- loyaltyLastEarnedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- loyaltyPromotionMessageTypestring<postalMail | email | smsText | none>DescriptionAllowedpostalMailemailsmsTextnone
- paymentobjectDescription
- cartIDstringExampleDescription
- salesRepIDstringExampleDescription
- websiteURLstringExampleDescription
- referralCodestringExampleDescription
- isGiftstring<true | false>DescriptionAllowedtruefalse
- giftMessagestringExampleDescription
- deliveryFeenumberExampleDescription
- deliveryFeeTypestring<free | consumerPaid | subscription | other>DescriptionAllowedfreeconsumerPaidsubscriptionother
- isPaymentInInstallmentsstring<true | false>DescriptionAllowedtruefalse
- isPaymentRecurringstring<true | false>DescriptionAllowedtruefalse
- totalFailedTransactionsstringExampleDescription
- isTravelPackagePurchasedstring<true | false>DescriptionAllowedtruefalse
- itemsobject[]Description
- isUpsellstring<true | false>DescriptionAllowedtruefalse
- itemTypestring<giftCard | parking | physicalGood | reservation | subscription | ticket | other>DescriptionAllowedgiftCardparkingphysicalGoodreservationsubscriptionticketother
- brandNamestringExampleDescription
- categorystringExampleDescription
- descriptionstringExampleDescription
- itemIDstringExampleDescription
- pricenumberExampleDescription
- faceValueAmountnumberExampleDescription
- quantitynumberExampleDescription
- addressIDstringExampleDescription
- productConditionstring<new | openPackage | other | refurbished | used>DescriptionAllowednewopenPackageotherrefurbishedused
- shippingCompanystring<dhl | fedex | ups | usps | other>DescriptionAlloweddhlfedexupsuspsother
- shippingMethodstring<digital | ground | international | other | nextDay | sameDay | storePickup | twoDay | threeDay>DescriptionAlloweddigitalgroundinternationalothernextDaysameDaystorePickuptwoDaythreeDay
- shippingTrackingNumberstringExampleDescription
- isLargeItemDeliverystring<true | false>DescriptionAllowedtruefalse
- promoCodestringExampleDescription
- promoAmountnumberExampleDescription
- promoTypestring<bogo | bundle | employeeDiscount | freeShipping | loyaltyDiscount | newMemberDiscount | percentage | quantityPromotion | other>DescriptionAllowedbogobundleemployeeDiscountfreeShippingloyaltyDiscountnewMemberDiscountpercentagequantityPromotionother
- pickupLocationstring<curbside | dropBox | inStore | other>DescriptionAllowedcurbsidedropBoxinStoreother
- pickupLocationDescriptionstringExampleDescription
- pickupPersonFirstNamePrimarystringExampleDescription
- pickupPersonLastNamePrimarystringExampleDescription
- pickupPersonFirstNameAlternatestringExampleDescription
- pickupPersonLastNameAlternatestringExampleDescription
- pickupVerificationMethodstring<idCard | signature | other>DescriptionAllowedidCardsignatureother
- pickupDateTimestring<date-time>ExampleDescriptionFormatdate-time
- pickupVerificationSignatureImagestringDescription
- pickupVerificationIDCardImagestringDescription
- addressesobject[]Description
- addressIDstringExampleDescription
- addressTypestring<account | billing | bopis | curbside | departure | destination | fulfillment | listing | lodging | pickup | return | shipping | venue | other>DescriptionAllowedaccountbillingbopiscurbsidedeparturedestinationfulfillmentlistinglodgingpickupreturnshippingvenueother
- primaryFlagstring<true | false>DescriptionAllowedtruefalse
- isAddressOnFilestring<true | false>ExampleDescriptionAllowedtruefalse
- firstNamestringExampleDescription
- middleNamestringExampleDescription
- lastNamestringExampleDescription
- emailAddressstringExampleDescription
- phonestringExampleDescription
- phoneCountryCodestringExampleDescription
- address1stringExampleDescription
- address2stringExampleDescription
- citystringExampleDescription
- regionstringExampleDescription
- postCodestringExampleDescription
- countrystringExampleDescription
- companyNamestringExampleDescription
- locationTypestring<business | redirect | residence | siteToStore | other>DescriptionAllowedbusinessredirectresidencesiteToStoreother
- addressCreatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- addressUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- paymentMethodsobject[]Description
- paymentTypestring<bankAccount | cash | check | creditCard | cryptoCurrency | digitalWallet | electronicFundTransfer | giftCard | invoice | loan | loyaltyPoints | moneyOrder | secCard | storeCredit | thirdParty | voucher>requiredDescriptionAllowedbankAccountcashcheckcreditCardcryptoCurrencydigitalWalletelectronicFundTransfergiftCardinvoiceloanloyaltyPointsmoneyOrdersecCardstoreCreditthirdPartyvoucher
- paymentMethodIDstringExampleDescription
- paymentMethodAmountnumberExampleDescription
- isPaymentStoredOnFilestring<true | false>DescriptionAllowedtruefalse
- emailAddressstringExampleDescription
- nameOnAccountstringExampleDescription
- accountTypestring<checking | saving | moneyMarket | other>DescriptionAllowedcheckingsavingmoneyMarketother
- cardNumberstringExampleDescription
- cardTokenstringExampleDescription
- expirationMonthstringExampleDescription
- expirationYearstringExampleDescription
- expirationDaystringExampleDescription
- nameOnCreditCardstringExampleDescription
- cardBinintegerExampleDescription
- cardLastFourstringExampleDescription
- avsResultstring<matched | partialMatch | notMatched | notChecked | systemError | other>DescriptionAllowedmatchedpartialMatchnotMatchednotCheckedsystemErrorother
- cvvResultstring<matched | notMatched>DescriptionAllowedmatchednotMatched
- cardAuthorizationCodestringExampleDescription
- cardAuthorizationDateTimestring<date-time>ExampleDescriptionFormatdate-time
- isPre-AuthorizationRejectstring<true | false>DescriptionAllowedtruefalse
- post-AuthorizationRejectReasonstring<creditReject | fraudReject | otherReject>DescriptionAllowedcreditRejectfraudRejectotherReject
- eciIndicatorstring<successful | unsuccessfulOrNotAttempted | attemptedButNotCompleted | other>DescriptionAllowedsuccessfulunsuccessfulOrNotAttemptedattemptedButNotCompletedother
- totalFailedAttemptsnumberExampleDescription
- paymentMethodCreatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- paymentMethodUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- giftCardNumberstringExampleDescription
- giftCardLastFourstringExampleDescription
- giftCardBINstringExampleDescription
- paymentMethodBalanceAmountnumberExampleDescription
- pointsintegerExampleDescription
- loyaltyProgramNamestringExampleDescription
- walletTypestringExampleDescription
- walletStatusstring<active | pending | inactive>DescriptionAllowedactivependinginactive
- isWalletProtectionEligiblestring<true | false>DescriptionAllowedtruefalse
- promotionsobject[]Description
- promoCodestringExampleDescription
- promoAmountnumberExampleDescription
- promoTypestring<bogo | bundle | employeeDiscount | freeShipping | loyaltyDiscount | newMemberDiscount | percentage | quantityPromotion | other>DescriptionAllowedbogobundleemployeeDiscountfreeShippingloyaltyDiscountnewMemberDiscountpercentagequantityPromotionother
- flightInformationobjectDescription
- pnrstringrequiredExampleDescription
- flightTypestring<multi-city | one-way | round-trip>requiredExampleDescriptionAllowedmulti-cityone-wayround-trip
- isThirdPartyBookingstring<true | false>DescriptionAllowedtruefalse
- fareBasisCodestringExampleDescription
- otaIdentificationNumberstringExampleDescription
- otaNamestringExampleDescription
- initialDepartingAirportstringExampleDescription
- finalArrivalAirportstringExampleDescription
- segmentsobject[]requiredDescription
- routeInfostringExampleDescription
- airlineNamestringExampleDescription
- operatingAirlinestringExampleDescription
- flightNumberstringExampleDescription
- ticketClassstring<business | economy | first | premium>ExampleDescriptionAllowedbusinesseconomyfirstpremium
- fareClassstringExampleDescription
- specialFareTypestring<bereavement | corporate | employee | infant | military | senior | student | unaccompaniedMinor | other>ExampleDescriptionAllowedbereavementcorporateemployeeinfantmilitaryseniorstudentunaccompaniedMinorother
- isAwardTicketstring<true | false>ExampleDescriptionAllowedtruefalse
- departureDateTimestring<date-time>ExampleDescriptionFormatdate-time
- departureAirportCodestringExampleDescription
- arrivalDateTimestring<date-time>ExampleDescriptionFormatdate-time
- arrivalAirportCodestringExampleDescription
- isFinalDestinationstring<true | false>ExampleDescriptionAllowedtruefalse
- passengersobject[]requiredDescription
- passengerIDstringExampleDescription
- ticketNumberstringExampleDescription
- passengerDateOfBirthstringExampleDescription
- passengerGenderstring<F | M | U | O>ExampleDescriptionAllowedFMUO
- passengerAdultOrChildstring<adult | child | infant>ExampleDescriptionAllowedadultchildinfant
- passengerTitlestringExampleDescription
- passengerFirstNamestringExampleDescription
- passengerMiddleNamestringExampleDescription
- passengerLastNamestringExampleDescription
- passengerPhonenumber<integer>ExampleDescriptionFormatinteger
- passengerPhoneCountryCodenumberExampleDescription
- passengerEmailAddressstringExampleDescription
- passengerCheckedBaggageCountnumberExampleDescription
- passengerLoyaltyNumberstringExampleDescription
- passengerLoyaltySinceDatestringExampleDescription
- passengerLoyaltyLevelstringExampleDescription
- passengerPassportNumberstringExampleDescription
- passengerPassportCountryCodestringExampleDescription
- passengerPassportExpirationDatestringExampleDescription
Responses
200
- successResponseExample
{ "transaction-results": { "transaction-id": "23", "cross-reference": "f85b9ed2-fe5a-425a-9ff5-a9988e56110b", "rules-tripped": "5237260000001680431:obsrv_Transaction Total Amount Greater Than 500:500;", "total-score": 500, "recommendation-code": "ACCEPT", "remarks": "" }, "validation_response": { "warnings": { "ipAddress": "ipAddress is invalid" }, "originalValues": { "ipAddress": "1" }, "status": "true" } }Description- transaction-resultsobjectDescription
- transaction-idstringDescription
- cross-referencestringDescription
- rules-trippedstringDescription
- total-scoreintegerDescription
- recommendation-codestring<ACCEPT | REJECT | REVIEW | ACCEPT_POLICY | REJECT_POLICY | REVIEW_POLICY>DescriptionAllowedACCEPTREJECTREVIEWACCEPT_POLICYREJECT_POLICYREVIEW_POLICY
- remarksstringDescription
- validation_responseobject
- warningsmap<string, string>Description
- originalValuesmap<string, string>Description
- statusstring<true | false>DescriptionAllowedtruefalse
400
- errorResponseExample
{ "validation_response": { "errors": { "Transaction ID": "A unique transaction ID is required (max length = 40)", "ipAddress": "ipAddress is required" }, "warnings": {}, "originalValues": { "transaction-id": "23", "ipAddress": "1" }, "status": "false" } }Description- validation_responseobject
- errorsmap<string, string>Description
- warningsmap<string, string>Description
- originalValuesmap<string, string>Description
- statusstring<true | false>DescriptionAllowedtruefalse
500
curl
curl --request POST \
--url https://rtd01.eu.accertify.net/icNowImport/{importerID} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"transactionID": "ABC123456",
"transactionType": "preAuthorization",
"transactionDateTime": "2022-03-11T17:07:24-07:00",
"paymentAmount": 1082.91,
"currencyCode": "USD",
"success": "",
"purchaseType": "",
"eventSource": "",
"paymentMethods": [
{
"paymentType": ""
}
],
"flightInformation": {
"pnr": "ABC123",
"flightType": "multi-city",
"segments": [
{}
],
"passengers": [
{}
]
}
}'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var raw = JSON.stringify({
"transactionID": "ABC123456",
"transactionType": "preAuthorization",
"transactionDateTime": "2022-03-11T17:07:24-07:00",
"paymentAmount": 1082.91,
"currencyCode": "USD",
"success": "",
"purchaseType": "",
"eventSource": "",
"paymentMethods": [
{
"paymentType": ""
}
],
"flightInformation": {
"pnr": "ABC123",
"flightType": "multi-city",
"segments": [
{}
],
"passengers": [
{}
]
}
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://rtd01.eu.accertify.net/icNowImport/{importerID}", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://rtd01.eu.accertify.net/icNowImport/{importerID}")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
request.body = JSON.dump({
"transactionID": "ABC123456",
"transactionType": "preAuthorization",
"transactionDateTime": "2022-03-11T17:07:24-07:00",
"paymentAmount": 1082.91,
"currencyCode": "USD",
"success": "",
"purchaseType": "",
"eventSource": "",
"paymentMethods": [
{
"paymentType": ""
}
],
"flightInformation": {
"pnr": "ABC123",
"flightType": "multi-city",
"segments": [
{}
],
"passengers": [
{}
]
}
})
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://rtd01.eu.accertify.net/icNowImport/{importerID}"
payload = json.dumps({
"transactionID": "ABC123456",
"transactionType": "preAuthorization",
"transactionDateTime": "2022-03-11T17:07:24-07:00",
"paymentAmount": 1082.91,
"currencyCode": "USD",
"success": "",
"purchaseType": "",
"eventSource": "",
"paymentMethods": [
{
"paymentType": ""
}
],
"flightInformation": {
"pnr": "ABC123",
"flightType": "multi-city",
"segments": [
{}
],
"passengers": [
{}
]
}
})
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
200
// Success response
{
"transaction-results": {
"transaction-id": "",
"cross-reference": "",
"rules-tripped": "",
"total-score": 0,
"recommendation-code": "",
"remarks": ""
},
"validation_response": {
"warnings": "",
"originalValues": "",
"status": ""
}
}400
// Error response
{
"validation_response": {
"errors": "",
"warnings": "",
"originalValues": "",
"status": ""
}
}500