Amusement Park post-authorization risk score
1 min
POST
https://api.accertify.net/api/v1/unified-risk/postAuthAmusement
Body Parameters
- postAuthobjectrequiredExample
{ "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": true, "ipAddress": "10.12.12.123", "emailAddress": "[email protected]", "authenticationMethod": "magicLink", "failureCode": "authFailed", "brand": "acme", "phoneNumber": "3125555555", "latitude": 33.836, "longitude": -117.914, "accountStatus": "dormant", "firstName": "Jane", "middleName": "Marie", "lastName": "Doe", "purchaseType": "physicalItems", "listingID": "abcd1234", "isPaymentOptimization": false, "is3DS": false, "ticketPackageID": "3jlsdfs9732", "ticketPackageClass": "gold", "ticketPackageDescription": "gold family package", "ticketDeliveryType": "mobileApp", "account": { "isEnrolledInLoyaltyProgram": true, "loyaltyNumber": "Id1234", "accountLocale": "en-US", "accountLevel": "Gold", "accountType": "family", "accountRegistrationDateTime": "2020-11-22T17:07:24-07:00", "accountEmailUpdatedDateTime": "2020-08-28T19:00:00-04:00", "accountPasswordUpdatedDateTime": "2021-08-28T19:00:00-04:00", "dateOfBirth": "1985-11-15", "loyaltyProgramName": "Members Plus", "loyaltyPointsBalance": 987654321 }, "payment": { "salesRepID": "SR#46k90", "referralCode": "API 210315", "isGift": true, "orderMessage": "Enjoy the gift", "isPaymentInInstallments": false, "installmentAmount": 99.99, "installmentCurrencyCode": "USD", "installmentCount": 12, "isPaymentRecurring": false }, "addresses": [ { "addressType": "shipping", "addressID": "23l4jk23klj23", "primaryFlag": true, "isAddressOnFile": false, "firstName": "Jane", "middleName": "Marie", "lastName": "Doe", "emailAddress": "[email protected]", "phone": "3125555555", "phoneCountryCode": "001", "address1": "1863 Main Street", "address2": "Apt 7", "city": "Anaheim", "region": "CA", "postCode": "92802", "country": "US", "companyName": "Accertify, Inc", "addressCreatedDateTime": "2020-03-28T17:07:24-07:00", "addressUpdatedDateTime": "2021-03-28T17:07:24-07:00" }, { "addressID": "3243324232", "addressType": "venue", "firstName": "Jane", "lastName": "Doe", "phone": "3125555555", "phoneCountryCode": "001", "address1": "1313 Disneyland Drive", "city": "Anaheim", "region": "CA", "postCode": "92802", "country": "US" } ], "paymentMethods": [ { "paymentType": "creditCard", "paymentMethodID": "2ljr9vxsdfew", "paymentMethodAmount": 399, "isPaymentStoredOnFile": true, "cardNumber": "4111111111111111", "cardToken": "6f7%gf38hfUa", "expirationMonth": "11", "expirationYear": "2027", "nameOnCreditCard": "Jane Doe", "cardBin": "345678", "cardLastFour": "1111", "totalFailedAttempts": 3, "paymentMethodCreatedDateTime": "2020-03-28T17:07:24-07:00", "paymentMethodUpdatedDateTime": "2020-03-28T17:07:24-07:00", "addressID": "23kl4l32l", "avsResult": "matched", "cvvResult": "matched", "cardAuthorizationCode": "12345", "cardAuthorizationDateTime": "2022-03-11T17:07:24-07:00", "isPreAuthorizationReject": false, "sca3DSFlow": "frictionless", "sca3DSVersion": "2.2.0", "sca3DSChallengeRequestType": "02", "sca3DSTransactionStatus": "Y", "scaAuthorizationStatus": "approve", "eciIndicator": "successful", "isSCASoftDecline": false } ], "promotions": [ { "promoCode": "ABC12", "promoAmount": 50, "promoType": "employeeDiscount" } ], "items": [ { "itemType": "ticket", "brandName": "Apple", "description": "Macbook Pro", "category": "Computers", "itemID": "af877wernnasnfes", "isHighRiskItem": true, "price": 1199.99, "faceValueAmount": 1599.99, "quantity": 2, "addressID": "2lkj34jldsoufsous82df", "productCondition": "new", "shippingMethod": "storePickup", "promoCode": "ABC12", "promoAmount": 50, "promoType": "employeeDiscount", "pickupLocation": "curbside", "pickupDateTime": "2022-03-11T17:07:24-07:00", "pickupPersonFirstName": "Betty", "pickupPersonLastName": "Smith" } ], "ticketDetails": [ { "guestFirstName": "John", "guestMiddleName": "Edward", "guestLastName": "Smith", "guestAdultOrChild": "adult", "ticketPLU": "234jl234jl324jl23kl23", "ticketPrice": 99.92, "ticketCurrencyCode": "USD", "ticketStartDateTime": "2020-02-22T17:07:24-07:00", "ticketExpirationDateTime": "2020-02-22T17:07:24-07:00", "ticketClass": "premium", "ticketParkID": "3432432432", "isAnnualPass": true, "isRenewal": true, "annualPassName": "Gold Pass", "annualPassAltName": "Legacy Loyal Pass" } ], "event": { "eventID": "234kl5jkl523jkl423jkl", "eventType": "concert", "eventName": "Fleetwood Mac", "eventDateTime": "2022-03-11T17:07:24-07:00", "eventOnSaleDateTime": "2022-03-11T17:07:24-07:00", "eventGenre": "country", "venueID": "223jklk234j3l4", "venueAddressID": "3243324232", "eventCreatedDateTime": "2022-03-11T17:07:24-07:00", "eventLastUpdatedDateTime": "2022-03-11T17:07:24-07:00", "tickets": { "sectionNumber": "401", "sectionName": "home", "row": "24", "rowName": "upper", "numberOfTickets": 2, "startSeat": "2", "endSeat": "3" } }, "agencyInformation": { "agencyDetails": [ { "agencyCode": "01234ABC", "agencyName": "Acme Travel inc", "agencySalesRepresentativeID": "232324521", "agencyConfirmationNumber": "ABC123", "agencyCountryCode": "AU", "agencyEmail": "[email protected]", "agencyHeadOffice": "Melbourne", "agencyPhone": "19876543211" } ] }, "insuranceInformation": { "insuranceDetails": [ { "insuranceType": "travel", "insuranceCity": "Sydney", "insuranceCountryCode": "AU", "insuranceStartDateTime": "2022-03-11T17:07:24-07:00", "insuranceEndDateTime": "2022-03-11T17:07:24-07:00", "insuranceName": "Acme Insurance Full Cover", "insuranceReservationName": "Jane Doe", "insuranceTotalAmount": 399.04, "insuranceCurrencyCode": "AUD" } ] } }Description- transactionIDstringrequiredExampleDescriptionMax Length40
- transactionDateTimestring<date-time>requiredExampleDescriptionFormatdate-time
- eventSourcestring<agentPhone | agentStore | affiliate | kiosk | mobileApp | other | web>requiredExampleDescriptionAllowedagentPhoneagentStoreaffiliatekioskmobileAppotherweb
- accountIDstringExampleDescription
- isGuestCheckoutbooleanrequiredDescription
- isAgenticCheckoutbooleanDescription
- paymentAmountnumberrequiredExampleDescriptionMinimum0
- taxAmountnumberrequiredExampleDescriptionMinimum0
- deliveryAmountnumberrequiredExampleDescriptionMinimum0
- currencyCodestringrequiredExampleDescription
- successbooleanrequiredExampleDescription
- ipAddressstringExampleDescription
- userAgentstringExampleDescriptionMax Length250
- deviceTransactionIDstringExampleDescription
- devicePayloadstringExampleDescription
- ubaIDstringExampleDescriptionMax Length100
- ubaEventsstringExampleDescription
- emailAddressstringrequiredExampleDescription
- authenticationMethodstring<appAuthenticator | appPush | other | password | passkey | magicLink | SMS>ExampleDescriptionAllowedappAuthenticatorappPushotherpasswordpasskeymagicLinkSMS
- failureCodestring<authFailed | exportCompliance | other>ExampleDescriptionAllowedauthFailedexportComplianceother
- brandstringExampleDescriptionMax Length50
- phoneNumberstringExampleDescriptionMax Length25
- latitudenumberExampleDescription
- longitudenumberExampleDescription
- accountStatusstring<active | dormant | suspended | terminated | trial | other>ExampleDescriptionAllowedactivedormantsuspendedterminatedtrialother
- firstNamestringExampleDescription
- middleNamestringExampleDescription
- lastNamestringExampleDescription
- purchaseTypestring<physicalItems | digitalItems | services | other>requiredExampleDescriptionAllowedphysicalItemsdigitalItemsservicesother
- listingIDstringExampleDescriptionMax Length50
- isPaymentOptimizationbooleanDescription
- is3DSbooleanDescription
- ticketPackageIDstringExampleDescription
- ticketPackageClassstringExampleDescription
- ticketPackageDescriptionstringExampleDescription
- ticketDeliveryTypestring<email | mobileApp | pickup>ExampleDescriptionAllowedemailmobileApppickup
- accountobjectExample
{ "isEnrolledInLoyaltyProgram": true, "loyaltyNumber": "Id1234", "accountLocale": "en-US", "accountLevel": "Gold", "accountType": "family", "accountRegistrationDateTime": "2020-11-22T17:07:24-07:00", "accountEmailUpdatedDateTime": "2020-08-28T19:00:00-04:00", "accountPasswordUpdatedDateTime": "2021-08-28T19:00:00-04:00", "dateOfBirth": "1985-11-15", "loyaltyProgramName": "Members Plus", "loyaltyPointsBalance": 987654321 }Description- isEnrolledInLoyaltyProgrambooleanExampleDescription
- loyaltyNumberstringExampleDescription
- accountLocalestringExampleDescription
- accountLevelstringExampleDescription
- accountTypestring<individual | business | family | other>ExampleDescriptionAllowedindividualbusinessfamilyother
- accountRegistrationDateTimestring<date-time>ExampleDescriptionFormatdate-time
- accountEmailUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- accountPasswordUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- dateOfBirthstring<date>ExampleDescriptionFormatdate
- loyaltyProgramNamestringExampleDescriptionMax Length100
- loyaltyPointsBalanceintegerExampleDescriptionMinimum0
- paymentobjectExample
{ "salesRepID": "SR#46k90", "referralCode": "API 210315", "isGift": true, "orderMessage": "Enjoy the gift", "isPaymentInInstallments": false, "installmentAmount": 99.99, "installmentCurrencyCode": "USD", "installmentCount": 12, "isPaymentRecurring": false }Description- salesRepIDstringExampleDescriptionMax Length20
- referralCodestringExampleDescriptionMax Length50
- isGiftbooleanExampleDescription
- isPaymentInInstallmentsbooleanDescription
- installmentAmountnumberExampleDescriptionMinimum (exclusive)0
- installmentCurrencyCodestringExampleDescription
- installmentCountintegerExampleDescriptionMinimum (exclusive)0
- isPaymentRecurringbooleanDescription
- orderMessagestringExampleDescription
- addressesobject[]Example
[ { "addressType": "shipping", "addressID": "23l4jk23klj23", "primaryFlag": true, "isAddressOnFile": false, "firstName": "Jane", "middleName": "Marie", "lastName": "Doe", "emailAddress": "[email protected]", "phone": "3125555555", "phoneCountryCode": "001", "address1": "1863 Main Street", "address2": "Apt 7", "city": "Anaheim", "region": "CA", "postCode": "92802", "country": "US", "companyName": "Accertify, Inc", "addressCreatedDateTime": "2020-03-28T17:07:24-07:00", "addressUpdatedDateTime": "2021-03-28T17:07:24-07:00" }, { "addressID": "3243324232", "addressType": "venue", "firstName": "Jane", "lastName": "Doe", "phone": "3125555555", "phoneCountryCode": "001", "address1": "1313 Disneyland Drive", "city": "Anaheim", "region": "CA", "postCode": "92802", "country": "US" } ]- addressIDstringrequiredExampleDescription
- addressTypestring<account | billing | bopis | curbside | departure | destination | fulfillment | listing | lodging | pickup | return | shipping | venue | other>requiredExampleDescriptionAllowedaccountbillingbopiscurbsidedeparturedestinationfulfillmentlistinglodgingpickupreturnshippingvenueother
- primaryFlagbooleanExampleDescription
- isAddressOnFilebooleanDescription
- firstNamestringrequiredExampleDescription
- middleNamestringExampleDescription
- lastNamestringrequiredExampleDescription
- emailAddressstringExampleDescription
- phonestringrequiredExampleDescription
- phoneCountryCodestringrequiredExampleDescription
- address1stringrequiredExampleDescription
- address2stringExampleDescription
- citystringrequiredExampleDescription
- regionstringrequiredExampleDescription
- postCodestringrequiredExampleDescription
- countrystringrequiredExampleDescription
- companyNamestringExampleDescription
- addressCreatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- addressUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- shippingAddressesobject[]
- addressIDstringrequiredExampleDescription
- primaryFlagbooleanExampleDescription
- isAddressOnFilebooleanDescription
- firstNamestringrequiredExampleDescription
- middleNamestringExampleDescription
- lastNamestringrequiredExampleDescription
- emailAddressstringExampleDescription
- phonestringrequiredExampleDescription
- phoneCountryCodestringrequiredExampleDescription
- address1stringrequiredExampleDescription
- address2stringExampleDescription
- citystringrequiredExampleDescription
- regionstringrequiredExampleDescription
- postCodestringrequiredExampleDescription
- countrystringrequiredExampleDescription
- companyNamestringExampleDescription
- addressCreatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- addressUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- billingAddressesobject[]
- addressIDstringrequiredExampleDescription
- primaryFlagbooleanExampleDescription
- isAddressOnFilebooleanDescription
- firstNamestringrequiredExampleDescription
- middleNamestringExampleDescription
- lastNamestringrequiredExampleDescription
- emailAddressstringExampleDescription
- phonestringrequiredExampleDescription
- phoneCountryCodestringrequiredExampleDescription
- address1stringrequiredExampleDescription
- address2stringExampleDescription
- citystringrequiredExampleDescription
- regionstringrequiredExampleDescription
- postCodestringrequiredExampleDescription
- countrystringrequiredExampleDescription
- companyNamestringExampleDescription
- addressCreatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- addressUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- paymentMethodsobject[]Example
[ { "paymentType": "creditCard", "paymentMethodID": "2ljr9vxsdfew", "paymentMethodAmount": 399, "isPaymentStoredOnFile": true, "cardNumber": "4111111111111111", "cardToken": "6f7%gf38hfUa", "expirationMonth": "11", "expirationYear": "2027", "nameOnCreditCard": "Jane Doe", "cardBin": "345678", "cardLastFour": "1111", "totalFailedAttempts": 3, "paymentMethodCreatedDateTime": "2020-03-28T17:07:24-07:00", "paymentMethodUpdatedDateTime": "2020-03-28T17:07:24-07:00", "addressID": "23kl4l32l", "avsResult": "matched", "cvvResult": "matched", "cardAuthorizationCode": "12345", "cardAuthorizationDateTime": "2022-03-11T17:07:24-07:00", "isPreAuthorizationReject": false, "sca3DSFlow": "frictionless", "sca3DSVersion": "2.2.0", "sca3DSChallengeRequestType": "02", "sca3DSTransactionStatus": "Y", "scaAuthorizationStatus": "approve", "eciIndicator": "successful", "isSCASoftDecline": false } ]- paymentTypestring<bankAccount | cash | check | creditCard | cryptoCurrency | digitalWallet | electronicFundTransfer | giftCard | invoice | loan | loyaltyPoints | moneyOrder | secCard | storeCredit | thirdParty | voucher>ExampleDescriptionAllowedbankAccountcashcheckcreditCardcryptoCurrencydigitalWalletelectronicFundTransfergiftCardinvoiceloanloyaltyPointsmoneyOrdersecCardstoreCreditthirdPartyvoucher
- paymentMethodIDstringExampleDescription
- paymentMethodAmountnumberExampleDescriptionMinimum0
- isPaymentStoredOnFilebooleanExampleDescription
- cardNumberstringExampleDescription
- cardTokenstringExampleDescription
- expirationMonthstring<01 | 02 | 03 | 04 | 05 | 06 | 07 | 8 | 9 | 10 | 11 | 12>ExampleDescriptionAllowed0102030405060789101112
- expirationYearstringExampleDescription
- nameOnCreditCardstringExampleDescription
- cardBinstringExampleDescription
- cardLastFourstringExampleDescription
- totalFailedAttemptsintegerExampleDescriptionMinimum0
- paymentMethodCreatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- paymentMethodUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- addressIDstringExampleDescription
- nameOnAccountstringExampleDescription
- walletTypestringExampleDescription
- walletStatusstring<active | pending | inactive>ExampleDescriptionAllowedactivependinginactive
- isWalletProtectionEligiblebooleanExampleDescription
- paymentMethodBalanceAmountnumberExampleDescriptionMinimum (exclusive)0
- giftCardNumberstringExampleDescription
- giftCardLastFourstringExampleDescription
- giftCardBINstringExampleDescription
- expirationDaystringExampleDescription
- pointsintegerExampleDescription
- loyaltyProgramNamestringExampleDescription
- accountTypestring<checking | saving | moneyMarket | other>ExampleDescriptionAllowedcheckingsavingmoneyMarketother
- avsResultstring<matched | partialMatch | notMatched | notChecked | systemError | other>ExampleDescriptionAllowedmatchedpartialMatchnotMatchednotCheckedsystemErrorother
- cvvResultstring<matched | notMatched>ExampleDescriptionAllowedmatchednotMatched
- cardAuthorizationCodestringExampleDescription
- cardAuthorizationDateTimestring<date-time>ExampleDescriptionFormatdate-time
- isPreAuthorizationRejectbooleanDescription
- postAuthorizationRejectReasonstring<creditReject | fraudReject | otherReject>ExampleDescriptionAllowedcreditRejectfraudRejectotherReject
- eciIndicatorstring<successful | unsuccessfulOrNotAttempted | attemptedButNotCompleted | other>ExampleDescriptionAllowedsuccessfulunsuccessfulOrNotAttemptedattemptedButNotCompletedother
- isSCASoftDeclinebooleanDescription
- sca3DSFlowstring<challenge | frictionless | dataOnly>ExampleDescriptionAllowedchallengefrictionlessdataOnly
- sca3DSVersionstringExampleDescription
- sca3DSChallengeRequestTypestring<02 | 03 | 04 | 05 | 06 | 10 | 11>ExampleDescriptionAllowed02030405061011
- sca3DSTransactionStatusstring<Y | N | U | A | I>ExampleDescriptionAllowedYNUAI
- scaAuthorizationStatusstring<approve | decline>ExampleDescriptionAllowedapprovedecline
- scaAuthorizationErrorstring<decline | fraudReject | insufficientFunds | invalidCard | incorrectInformation | lostOrStolen | withdrawalAmountExceeded | technicalError | other>ExampleDescriptionAlloweddeclinefraudRejectinsufficientFundsinvalidCardincorrectInformationlostOrStolenwithdrawalAmountExceededtechnicalErrorother
- itemsobject[]Example
[ { "itemType": "ticket", "brandName": "Apple", "description": "Macbook Pro", "category": "Computers", "itemID": "af877wernnasnfes", "isHighRiskItem": true, "price": 1199.99, "faceValueAmount": 1599.99, "quantity": 2, "addressID": "2lkj34jldsoufsous82df", "productCondition": "new", "shippingMethod": "storePickup", "promoCode": "ABC12", "promoAmount": 50, "promoType": "employeeDiscount", "pickupLocation": "curbside", "pickupDateTime": "2022-03-11T17:07:24-07:00", "pickupPersonFirstName": "Betty", "pickupPersonLastName": "Smith" } ]- itemTypestring<giftCard | parking | physicalGood | reservation | subscription | ticket | other>ExampleDescriptionAllowedgiftCardparkingphysicalGoodreservationsubscriptionticketother
- brandNamestringExampleDescription
- descriptionstringExampleDescription
- categorystringExampleDescription
- itemIDstringExampleDescription
- isHighRiskItembooleanrequiredExampleDescription
- pricenumberrequiredExampleDescriptionMinimum0
- faceValueAmountnumberExampleDescriptionMinimum0
- quantitynumberExampleDescription
- addressIDstringExampleDescription
- productConditionstring<new | openPackage | other | refurbished | used>ExampleDescriptionAllowednewopenPackageotherrefurbishedused
- shippingCompanystring<dhl | fedex | ups | usps | other>ExampleDescriptionAlloweddhlfedexupsuspsother
- companyNamestringExampleDescriptionMax Length50
- shippingMethodstring<digital | ground | international | other | nextDay | sameDay | storePickup | twoDay | threeDay>requiredExampleDescriptionAlloweddigitalgroundinternationalothernextDaysameDaystorePickuptwoDaythreeDay
- shippingTrackingNumberstringExampleDescriptionMax Length30
- promoCodestringExampleDescriptionMax Length40
- promoAmountnumberExampleDescriptionMinimum0
- promoTypestring<bogo | bundle | employeeDiscount | freeShipping | loyaltyDiscount | newMemberDiscount | percentage | quantityPromotion | other>ExampleDescriptionAllowedbogobundleemployeeDiscountfreeShippingloyaltyDiscountnewMemberDiscountpercentagequantityPromotionother
- pickupLocationstring<curbside | dropBox | inStore | other>ExampleDescriptionAllowedcurbsidedropBoxinStoreother
- pickupDateTimestring<date-time>ExampleDescriptionFormatdate-time
- pickupPersonFirstNamestringExampleDescriptionMax Length40
- pickupPersonLastNamestringExampleDescriptionMax Length40
- promotionsobject[]Example
[ { "promoCode": "ABC12", "promoAmount": 50, "promoType": "employeeDiscount" } ]- promoCodestringExampleDescription
- promoAmountnumberrequiredExampleDescriptionMinimum0
- promoTypestring<bogo | bundle | employeeDiscount | freeShipping | loyaltyDiscount | newMemberDiscount | percentage | quantityPromotion | other>ExampleDescriptionAllowedbogobundleemployeeDiscountfreeShippingloyaltyDiscountnewMemberDiscountpercentagequantityPromotionother
- ticketDetailsobject[]Example
[ { "guestFirstName": "John", "guestMiddleName": "Edward", "guestLastName": "Smith", "guestAdultOrChild": "adult", "ticketPLU": "234jl234jl324jl23kl23", "ticketPrice": 99.92, "ticketCurrencyCode": "USD", "ticketStartDateTime": "2020-02-22T17:07:24-07:00", "ticketExpirationDateTime": "2020-02-22T17:07:24-07:00", "ticketClass": "premium", "ticketParkID": "3432432432", "isAnnualPass": true, "isRenewal": true, "annualPassName": "Gold Pass", "annualPassAltName": "Legacy Loyal Pass" } ]- guestFirstNamestringExampleDescription
- guestMiddleNamestringExampleDescription
- guestLastNamestringExampleDescription
- guestAdultOrChildstring<adult | child | infant | senior>ExampleDescriptionAllowedadultchildinfantsenior
- ticketPLUstringExampleDescription
- ticketPricenumberExampleDescriptionMinimum0
- ticketCurrencyCodestringExampleDescription
- ticketStartDateTimestring<date-time>requiredExampleDescriptionFormatdate-time
- ticketExpirationDateTimestring<date-time>ExampleDescriptionFormatdate-time
- ticketClassstring<economy | premium | business | first>ExampleDescriptionAllowedeconomypremiumbusinessfirst
- ticketParkIDstringExampleDescriptionMax Length40
- isAnnualPassbooleanExampleDescription
- isRenewalbooleanExampleDescription
- annualPassNamestringExampleDescriptionMax Length40
- annualPassAltNamestringExampleDescriptionMax Length40
- eventobjectExample
{ "eventID": "234kl5jkl523jkl423jkl", "eventType": "concert", "eventName": "Fleetwood Mac", "eventDateTime": "2022-03-11T17:07:24-07:00", "eventOnSaleDateTime": "2022-03-11T17:07:24-07:00", "eventGenre": "country", "venueID": "223jklk234j3l4", "venueAddressID": "3243324232", "eventCreatedDateTime": "2022-03-11T17:07:24-07:00", "eventLastUpdatedDateTime": "2022-03-11T17:07:24-07:00", "tickets": { "sectionNumber": "401", "sectionName": "home", "row": "24", "rowName": "upper", "numberOfTickets": 2, "startSeat": "2", "endSeat": "3" } }Description- eventIDstringExampleDescriptionMax Length30
- eventTypestring<activity | comedy | concert | sports | theater>ExampleDescriptionAllowedactivitycomedyconcertsportstheater
- eventNamestringExampleDescriptionMax Length30
- eventDateTimestring<date-time>ExampleDescriptionFormatdate-time
- eventOnSaleDateTimestring<date-time>ExampleDescriptionFormatdate-time
- eventGenrestring<alternative | country | dance | jazz | other | pop | rap | rock>ExampleDescriptionAllowedalternativecountrydancejazzotherpopraprock
- venueIDstringExampleDescriptionMax Length20
- venueAddressIDstringExampleDescriptionMax Length10
- eventCreatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- eventLastUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- ticketsobjectExample
{ "sectionNumber": "401", "sectionName": "home", "row": "24", "rowName": "upper", "numberOfTickets": 2, "startSeat": "2", "endSeat": "3" }Description- sectionNumberstringExampleDescriptionMax Length5
- sectionNamestringExampleDescriptionMax Length40
- rowstringExampleDescriptionMax Length5
- rowNamestringExampleDescriptionMax Length5
- numberOfTicketsintegerExampleDescriptionMinimum (exclusive)0
- startSeatstringExampleDescriptionMax Length5
- endSeatstringExampleDescriptionMax Length5
- agencyInformationobjectExample
{ "agencyDetails": [ { "agencyCode": "01234ABC", "agencyName": "Acme Travel inc", "agencySalesRepresentativeID": "232324521", "agencyConfirmationNumber": "ABC123", "agencyCountryCode": "AU", "agencyEmail": "[email protected]", "agencyHeadOffice": "Melbourne", "agencyPhone": "19876543211" } ] }Description- agencyDetailsobject[]Example
[ { "agencyCode": "01234ABC", "agencyName": "Acme Travel inc", "agencySalesRepresentativeID": "232324521", "agencyConfirmationNumber": "ABC123", "agencyCountryCode": "AU", "agencyEmail": "[email protected]", "agencyHeadOffice": "Melbourne", "agencyPhone": "19876543211" } ]Description- agencyCodestringExampleDescriptionMax Length20
- agencyNamestringExampleDescriptionMax Length50
- agencySalesRepresentativeIDstringExampleDescriptionMax Length20
- agencyConfirmationNumberstringExampleDescriptionMax Length25
- agencyCountryCodestringExampleDescription
- agencyEmailstringExampleDescription
- agencyHeadOfficestringExampleDescriptionMax Length50
- agencyPhonestringExampleDescriptionMax Length25
- insuranceInformationobjectExample
{ "insuranceDetails": [ { "insuranceType": "travel", "insuranceCity": "Sydney", "insuranceCountryCode": "AU", "insuranceStartDateTime": "2022-03-11T17:07:24-07:00", "insuranceEndDateTime": "2022-03-11T17:07:24-07:00", "insuranceName": "Acme Insurance Full Cover", "insuranceReservationName": "Jane Doe", "insuranceTotalAmount": 399.04, "insuranceCurrencyCode": "AUD" } ] }Description- insuranceDetailsobject[]Example
[ { "insuranceType": "travel", "insuranceCity": "Sydney", "insuranceCountryCode": "AU", "insuranceStartDateTime": "2022-03-11T17:07:24-07:00", "insuranceEndDateTime": "2022-03-11T17:07:24-07:00", "insuranceName": "Acme Insurance Full Cover", "insuranceReservationName": "Jane Doe", "insuranceTotalAmount": 399.04, "insuranceCurrencyCode": "AUD" } ]Description- insuranceTypestringExampleDescriptionMax Length30
- insuranceCitystringExampleDescriptionMax Length40
- insuranceCountryCodestringExampleDescription
- insuranceStartDateTimestring<date-time>ExampleDescriptionFormatdate-time
- insuranceEndDateTimestring<date-time>ExampleDescriptionFormatdate-time
- insuranceNamestringExampleDescriptionMax Length50
- insuranceReservationNamestringExampleDescriptionMax Length100
- insuranceTotalAmountnumberExampleDescriptionMinimum0
- insuranceCurrencyCodestringExampleDescription
Responses
200
- scoredResultDescription
- eventIDstring
- eventDetailseventDetailsDescription
- deviceDetailsobject
- browserSpoofRiskstringExampleDescription
- deviceIDNewstringExampleDescription
- browserIsMobilestringExampleDescription
- mobileIsRootedstringExampleDescription
- deviceIDFirstSeennumberExampleDescription
- browserNewCookiestringExampleDescription
- deviceIDTimesSeennumberExampleDescription
- mobileAppstringExampleDescription
- browserReplayTagStatusstringExampleDescription
- deviceIDstringExampleDescription
- connectionDetailsobject
- hostingIndicatorstringExampleDescription
- isTorstringExampleDescription
- hostingIndicatorRealstringExampleDescription
- realIPMatchstringExampleDescription
- countryCodestringExampleDescription
- countryCodeRealstringExampleDescription
- isProxystringExampleDescription
- messagesapiMessages
- errorapiMessage[]
- codestringrequiredExampleDescription
- messagestringrequiredExampleDescription
- fieldstringExampleDescription
- detailsmap<string, string>Description
- warningapiMessage[]
- codestringrequiredExampleDescription
- messagestringrequiredExampleDescription
- fieldstringExampleDescription
- detailsmap<string, string>Description
- infoapiMessage[]
- codestringrequiredExampleDescription
- messagestringrequiredExampleDescription
- fieldstringExampleDescription
- detailsmap<string, string>Description
- statusbooleanrequired
400
- validationFailedErrorDescription
- errorCodeintegerExampleDescription
- errorMessagestringExampleDescription
- errorsstring[]Example
[ "Missing required field: transactionID" ]
Description
401
- notAuthorizedErrorDescription
- errorCodeintegerExampleDescription
- errorMessagestringExampleDescription
429
- rateLimitErrorDescription
- errorCodeintegerExampleDescription
- errorMessagestringExampleDescription
500
- internalServerErrorDescription
- errorCodeintegerExampleDescription
- errorMessagestringExampleDescription
curl
curl --request POST \
--url https://api.accertify.net/api/v1/unified-risk/postAuthAmusement \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data-raw '{
"transactionID": "ABC123456",
"transactionDateTime": "2022-03-11T17:07:24-07:00",
"eventSource": "web",
"isGuestCheckout": false,
"paymentAmount": 1082.91,
"taxAmount": 1.23,
"deliveryAmount": 5.99,
"currencyCode": "USD",
"success": true,
"emailAddress": "[email protected]",
"purchaseType": "physicalItems",
"addresses": [
{
"addressID": "23l4jk23klj23",
"addressType": "shipping",
"firstName": "Jane",
"lastName": "Doe",
"phone": "3125555555",
"phoneCountryCode": "001",
"address1": "1863 Main Street",
"city": "Anaheim",
"region": "CA",
"postCode": "92802",
"country": "US"
}
],
"shippingAddresses": [
{
"addressID": "23l4jk23klj23",
"firstName": "Jane",
"lastName": "Doe",
"phone": "3125555555",
"phoneCountryCode": "001",
"address1": "1863 Main Street",
"city": "Anaheim",
"region": "CA",
"postCode": "92802",
"country": "US"
}
],
"billingAddresses": [
{
"addressID": "23l4jk23klj23",
"firstName": "Jane",
"lastName": "Doe",
"phone": "3125555555",
"phoneCountryCode": "001",
"address1": "1863 Main Street",
"city": "Anaheim",
"region": "CA",
"postCode": "92802",
"country": "US"
}
],
"items": [
{
"isHighRiskItem": true,
"price": 1199.99,
"shippingMethod": "storePickup"
}
],
"promotions": [
{
"promoAmount": 50
}
],
"ticketDetails": [
{
"ticketStartDateTime": "2020-02-22T17:07:24-07:00"
}
]
}'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var raw = JSON.stringify({
"transactionID": "ABC123456",
"transactionDateTime": "2022-03-11T17:07:24-07:00",
"eventSource": "web",
"isGuestCheckout": false,
"paymentAmount": 1082.91,
"taxAmount": 1.23,
"deliveryAmount": 5.99,
"currencyCode": "USD",
"success": true,
"emailAddress": "[email protected]",
"purchaseType": "physicalItems",
"addresses": [
{
"addressID": "23l4jk23klj23",
"addressType": "shipping",
"firstName": "Jane",
"lastName": "Doe",
"phone": "3125555555",
"phoneCountryCode": "001",
"address1": "1863 Main Street",
"city": "Anaheim",
"region": "CA",
"postCode": "92802",
"country": "US"
}
],
"shippingAddresses": [
{
"addressID": "23l4jk23klj23",
"firstName": "Jane",
"lastName": "Doe",
"phone": "3125555555",
"phoneCountryCode": "001",
"address1": "1863 Main Street",
"city": "Anaheim",
"region": "CA",
"postCode": "92802",
"country": "US"
}
],
"billingAddresses": [
{
"addressID": "23l4jk23klj23",
"firstName": "Jane",
"lastName": "Doe",
"phone": "3125555555",
"phoneCountryCode": "001",
"address1": "1863 Main Street",
"city": "Anaheim",
"region": "CA",
"postCode": "92802",
"country": "US"
}
],
"items": [
{
"isHighRiskItem": true,
"price": 1199.99,
"shippingMethod": "storePickup"
}
],
"promotions": [
{
"promoAmount": 50
}
],
"ticketDetails": [
{
"ticketStartDateTime": "2020-02-22T17:07:24-07:00"
}
]
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://api.accertify.net/api/v1/unified-risk/postAuthAmusement", 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://api.accertify.net/api/v1/unified-risk/postAuthAmusement")
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",
"transactionDateTime": "2022-03-11T17:07:24-07:00",
"eventSource": "web",
"isGuestCheckout": false,
"paymentAmount": 1082.91,
"taxAmount": 1.23,
"deliveryAmount": 5.99,
"currencyCode": "USD",
"success": true,
"emailAddress": "[email protected]",
"purchaseType": "physicalItems",
"addresses": [
{
"addressID": "23l4jk23klj23",
"addressType": "shipping",
"firstName": "Jane",
"lastName": "Doe",
"phone": "3125555555",
"phoneCountryCode": "001",
"address1": "1863 Main Street",
"city": "Anaheim",
"region": "CA",
"postCode": "92802",
"country": "US"
}
],
"shippingAddresses": [
{
"addressID": "23l4jk23klj23",
"firstName": "Jane",
"lastName": "Doe",
"phone": "3125555555",
"phoneCountryCode": "001",
"address1": "1863 Main Street",
"city": "Anaheim",
"region": "CA",
"postCode": "92802",
"country": "US"
}
],
"billingAddresses": [
{
"addressID": "23l4jk23klj23",
"firstName": "Jane",
"lastName": "Doe",
"phone": "3125555555",
"phoneCountryCode": "001",
"address1": "1863 Main Street",
"city": "Anaheim",
"region": "CA",
"postCode": "92802",
"country": "US"
}
],
"items": [
{
"isHighRiskItem": true,
"price": 1199.99,
"shippingMethod": "storePickup"
}
],
"promotions": [
{
"promoAmount": 50
}
],
"ticketDetails": [
{
"ticketStartDateTime": "2020-02-22T17:07:24-07:00"
}
]
})
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://api.accertify.net/api/v1/unified-risk/postAuthAmusement"
payload = json.dumps({
"transactionID": "ABC123456",
"transactionDateTime": "2022-03-11T17:07:24-07:00",
"eventSource": "web",
"isGuestCheckout": False,
"paymentAmount": 1082.91,
"taxAmount": 1.23,
"deliveryAmount": 5.99,
"currencyCode": "USD",
"success": True,
"emailAddress": "[email protected]",
"purchaseType": "physicalItems",
"addresses": [
{
"addressID": "23l4jk23klj23",
"addressType": "shipping",
"firstName": "Jane",
"lastName": "Doe",
"phone": "3125555555",
"phoneCountryCode": "001",
"address1": "1863 Main Street",
"city": "Anaheim",
"region": "CA",
"postCode": "92802",
"country": "US"
}
],
"shippingAddresses": [
{
"addressID": "23l4jk23klj23",
"firstName": "Jane",
"lastName": "Doe",
"phone": "3125555555",
"phoneCountryCode": "001",
"address1": "1863 Main Street",
"city": "Anaheim",
"region": "CA",
"postCode": "92802",
"country": "US"
}
],
"billingAddresses": [
{
"addressID": "23l4jk23klj23",
"firstName": "Jane",
"lastName": "Doe",
"phone": "3125555555",
"phoneCountryCode": "001",
"address1": "1863 Main Street",
"city": "Anaheim",
"region": "CA",
"postCode": "92802",
"country": "US"
}
],
"items": [
{
"isHighRiskItem": True,
"price": 1199.99,
"shippingMethod": "storePickup"
}
],
"promotions": [
{
"promoAmount": 50
}
],
"ticketDetails": [
{
"ticketStartDateTime": "2020-02-22T17:07:24-07:00"
}
]
})
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
200
// Successful response.
{
"eventID": "",
"eventDetails": {
"deviceDetails": {
"browserSpoofRisk": "HIGH_RISK",
"deviceIDNew": "true",
"browserIsMobile": "true",
"mobileIsRooted": "true",
"deviceIDFirstSeen": 97,
"browserNewCookie": "false",
"deviceIDTimesSeen": 123,
"mobileApp": "true",
"browserReplayTagStatus": "VALID",
"deviceID": "63dc80b4-e585-4ae8-8004-e24fb0d1fa84"
},
"connectionDetails": {
"hostingIndicator": "true",
"isTor": "true",
"hostingIndicatorReal": "true",
"realIPMatch": "true",
"countryCode": "us",
"countryCodeReal": "de",
"isProxy": "false"
}
},
"messages": {
"error": [
{
"code": "FIELD_REQUIRED_MISSING",
"message": "transactionID is required and was not provided",
"field": "transactionID",
"details": ""
}
],
"warning": [
{
"code": "FIELD_REQUIRED_MISSING",
"message": "transactionID is required and was not provided",
"field": "transactionID",
"details": ""
}
],
"info": [
{
"code": "FIELD_REQUIRED_MISSING",
"message": "transactionID is required and was not provided",
"field": "transactionID",
"details": ""
}
]
},
"status": false
}400
// Error response for invalid or missing request inputs. Returned when one or more required fields are absent or fail validation.
{
"errorCode": 400,
"errorMessage": "Validation Failed",
"errors": [
""
]
}401
// Error response for authentication or authorization failures. Returned when credentials are invalid or the authenticated user has no matching API configuration for this endpoint.
{
"errorCode": 401,
"errorMessage": "Not Authorized"
}429
// Error response when the request rate limit has been exceeded for the API user or API configuration.
{
"errorCode": 429,
"errorMessage": "Rate Limit Exceeded"
}500
// Error response when the request cannot be processed due to an unexpected internal error.
{
"errorCode": 500,
"errorMessage": "Internal Server Error"
}