transaction payment processing
1 min
POST
https://api.accertify.net//icnow01.accertify.net/icNowImport/{importerID}
Path Parameters
- importerIDstringrequired
Body Parameters
- transactionobjectExample
{ "transactionID": "ABC123456", "transactionType": "postAuthorization", "transactionDateTime": "2022-03-11T17:07:24-07:00", "eventSource": "web", "accountID": "12363454566", "isGuestCheckout": "false", "paymentAmount": 1082.91, "taxAmount": 1.23, "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", "sessionID": "5A9CE2800C3CFF97993208AB5B3D63C0", "ubaSessionID": "961b521892e68f6c4d1c8459dfb530466eed", "ubaEvents": "lasjdlkfdsljelkrrjwl3kl324j32k432", "pageID": "lk32j4lk324lkj324", "emailAddress": "[email protected]", "username": "erlichb", "authenticationMethod": "magicLink", "failureCode": "authFailed", "brand": "acme", "phoneNumber": "3125555555", "latitude": 33.836, "longitude": -117.914, "hashedPassword": "234j32llk234j3l2k4jl", "accountStatus": "dormant", "firstName": "Jane", "middleName": "Marie", "lastName": "Doe", "purchaseType": "physicalItems", "listingID": "abcd1234", "loyaltyNumber": "Id1234", "account": { "isEnrolledInLoyaltyProgram": "true", "isMobileAppInstalled": "true", "accountLocale": "en-US", "accountLevel": "Gold", "accountType": "family", "accountReferralCode": "[email protected]", "accountRegistrationDateTime": "2020-11-22T17:07:24-07:00", "accountEmailUpdatedDateTime": "2020-08-28T19:00:00-04:00", "accountEmailVerifiedDateTime": "2020-08-28T19:00:00-04:00", "accountPasswordUpdatedDateTime": "2021-08-28T19:00:00-04:00", "dateOfBirth": "1985-11-15", "totalCreditCardsOnFile": "5", "totalInactiveCreditCardsOnFile": "1", "totalPurchases": "123456", "totalRefunds": "1235", "totalOrdersAmount": "123456789", "loyaltyProgramName": "Members Plus", "loyaltyNumberStartDateTime": "2020-11-22T17:07:24-07:00", "loyaltyNumberLastUsedDateTime": "2020-02-22T17:07:24-07:00", "loyaltyLastUsedPoints": "123", "loyaltyPointsBalance": "987654321", "loyaltyLastEarnedPoints": "1234", "loyaltyLastEarnedDateTime": "2021-01-22T17:07:24-07:00", "loyaltyPromotionMessageType": "email" }, "payment": { "cartID": "Cart #123", "salesRepID": "SR#46k90", "websiteURL": "yahoo.com", "referralCode": "API 210315", "isGift": "true", "giftMessage": "Enjoy the gift", "deliveryFee": 2, "deliveryFeeType": "consumerPaid", "isPaymentInInstallments": "false", "isPaymentRecurring": "false", "totalFailedTransactions": "99", "isTravelPackagePurchased": "false" }, "addresses": [ { "addressID": "23l4jk23klj23", "addressType": "shipping", "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", "locationType": "business", "addressCreatedDateTime": "2020-03-28T17:07:24-07:00", "addressUpdatedDateTime": "2021-03-28T17:07:24-07:00" }, { "addressID": "23l4jk23klj23", "addressType": "billing", "primaryFlag": "true", "isAddressOnFile": "false", "firstName": "Jane", "middleName": "Marie", "lastName": "Doe", "emailAddress": "[email protected]", "phone": "3125555555", "phoneCountryCode": "001", "address1": "1776 W. Washington Street", "city": "Anaheim", "region": "CA", "postCode": "92802", "country": "US", "companyName": "Cool Stuff!", "locationType": "residence", "addressCreatedDateTime": "2020-03-28T17:07:24-07:00", "addressUpdatedDateTime": "2021-03-28T17:07:24-07:00" } ], "paymentMethods": [ { "paymentType": "creditCard", "paymentMethodID": "2ljr9vxsdfew", "paymentMethodAmount": 399, "isPaymentStoredOnFile": "true", "cardNumber": "", "cardToken": "6f7%gf38hfUa", "expirationMonth": "11", "expirationYear": "2020", "nameOnCreditCard": "Jane Doe", "emailAddress": "[email protected]", "cardBin": 345678, "cardLastFour": "1111", "avsResult": "matched", "cvvResult": "matched", "cardAuthorizationCode": "12345", "cardAuthorizationDateTime": "2020-11-22T17:07:24-07:00", "isPre-AuthorizationReject": "false", "post-AuthorizationRejectReason": "creditReject", "eciIndicator": "unsuccessfulOrNotAttempted", "totalFailedAttempts": 88, "paymentMethodCreatedDateTime": "2020-03-28T17:07:24-07:00", "paymentMethodUpdatedDateTime": "2020-03-28T17:07:24-07:00" }, { "paymentType": "digitalWallet", "paymentMethodID": "2ljr9vxsdfey", "paymentMethodAmount": 150, "isPaymentStoredOnFile": "true", "nameOnAccount": "Jane Doe", "emailAddress": "[email protected]", "walletType": "Applepay", "walletStatus": "active", "isWalletProtectionEligible": "true", "paymentMethodBalanceAmount": 4000, "totalFailedAttempts": 88 }, { "paymentType": "giftCard", "paymentMethodID": "2ljr9vxsdfex", "paymentMethodAmount": 350, "nameOnAccount": "Jane Doe", "emailAddress": "[email protected]", "giftCardNumber": "a789sdf8asdfasd89f789asd78", "giftCardLastFour": "1111", "giftCardBIN": "4111", "expirationMonth": "11", "expirationYear": "2026", "paymentMethodBalanceAmount": 4000 }, { "paymentType": "voucher", "paymentMethodID": "2ljr9vxsdfez", "paymentMethodAmount": 500, "nameOnAccount": "Jane Doe", "emailAddress": "[email protected]", "expirationDay": "12", "expirationMonth": "11", "expirationYear": "2026", "paymentMethodBalanceAmount": 4000 }, { "paymentType": "loyaltyPoints", "paymentMethodID": "2ljr9vxsdfeu", "paymentMethodAmount": 500, "nameOnAccount": "Jane Doe", "emailAddress": "[email protected]", "points": 50000, "expirationDay": "12", "expirationMonth": "11", "expirationYear": "2026", "loyaltyProgramName": "Acme Platinum", "paymentMethodBalanceAmount": 4000 }, { "paymentType": "bankAccount", "paymentMethodID": "18881118929", "paymentMethodAmount": 500, "isPaymentStoredOnFile": "true", "nameOnAccount": "Jane Doe", "emailAddress": "[email protected]", "accountType": "checking" } ], "promotions": [ { "promoCode": "ABC12", "promoAmount": 5555, "promoType": "employeeDiscount" }, { "promoCode": "ABC1234", "promoAmount": 50, "promoType": "freeShipping" } ], "items": [ { "isUpsell": "false", "itemType": "physicalGood", "brandName": "Apple", "description": "Macbook Pro", "category": "Computers", "itemID": "af877wernnasnfes", "price": 1199.99, "faceValueAmount": 1599.99, "quantity": 2, "addressID": "2lkj34jldsoufsous82df", "productCondition": "new", "shippingCompany": "ups", "shippingMethod": "ground", "shippingTrackingNumber": "23l4fdswerea02", "isLargeItemDelivery": "true", "promoCode": "ABC12", "promoAmount": 5555, "promoType": "employeeDiscount", "pickupLocation": "curbside", "pickupLocationDescription": "At main entrance", "pickupPersonFirstNamePrimary": "Betty", "pickupPersonLastNamePrimary": "Smith", "pickupPersonFirstNameAlternate": "Mary", "pickupPersonLastNameAlternate": "Jones", "pickupVerificationMethod": "idCard", "pickupDateTime": "2022-03-11T17:07:24-07:00", "pickupVerificationSignatureImage": "*** Base 64 encoding ***", "pickupVerificationIDCardImage": "***Base 64 encoding ***" } ] }Description- transactionIDstringrequiredExampleDescription
- transactionTypestring<preAuthorization | postAuthorization | update>requiredExampleDescriptionAllowedpreAuthorizationpostAuthorizationupdate
- transactionDateTimestring<date-time>requiredExampleDescriptionFormatdate-time
- accountIDstringExampleDescription
- isGuestCheckoutstring<true | false>ExampleDescriptionAllowedtruefalse
- paymentAmountnumber<float>requiredExampleDescriptionFormatfloat
- taxAmountnumber<float>ExampleDescriptionFormatfloat
- currencyCodestringrequiredExampleDescription
- successstring<true | false>requiredExampleDescriptionAllowedtruefalse
- failureCodestringExampleDescription
- firstNamestringExampleDescription
- middleNamestringExampleDescription
- lastNamestringExampleDescription
- phoneNumberstringExampleDescription
- purchaseTypestring<physicalItems | digitalItems | services | other>requiredExampleDescriptionAllowedphysicalItemsdigitalItemsservicesother
- listingIDstringExampleDescription
- loyaltyNumberstringExampleDescription
- eventSourcestring<agentPhone | agentStore | affiliate | kiosk | mobileApp | other | web>requiredExampleDescriptionAllowedagentPhoneagentStoreaffiliatekioskmobileAppotherweb
- ipAddressstringExampleDescription
- userAgentstringExampleDescription
- devicePayloadstringExampleDescription
- deviceTransactionIDstringExampleDescription
- ubaIDstringExampleDescription
- emailAddressstringExampleDescription
- ubaEventsstringExampleDescription
- pageIDstringExampleDescription
- usernamestringExampleDescription
- authenticationMethodstring<appAuthenticator | appPush | FIDO | other | password | magicLink | SMS>ExampleDescriptionAllowedappAuthenticatorappPushFIDOotherpasswordmagicLinkSMS
- latitudenumberExampleDescription
- longitudenumberExampleDescription
- hashedPasswordstringExampleDescription
- accountStatusstring<active | dormant | suspended | terminated | trial | other>ExampleDescriptionAllowedactivedormantsuspendedterminatedtrialother
- brandstringExampleDescription
- sessionIDstringExampleDescription
- ubaSessionIDstringExampleDescription
- accountobjectExample
{ "isEnrolledInLoyaltyProgram": "true", "isMobileAppInstalled": "true", "accountLocale": "en-US", "accountLevel": "Gold", "accountType": "family", "accountReferralCode": "[email protected]", "accountRegistrationDateTime": "2020-11-22T17:07:24-07:00", "accountEmailUpdatedDateTime": "2020-08-28T19:00:00-04:00", "accountEmailVerifiedDateTime": "2020-08-28T19:00:00-04:00", "accountPasswordUpdatedDateTime": "2021-08-28T19:00:00-04:00", "dateOfBirth": "1985-11-15", "totalCreditCardsOnFile": "5", "totalInactiveCreditCardsOnFile": "1", "totalPurchases": "123456", "totalRefunds": "1235", "totalOrdersAmount": "123456789", "loyaltyProgramName": "Members Plus", "loyaltyNumberStartDateTime": "2020-11-22T17:07:24-07:00", "loyaltyNumberLastUsedDateTime": "2020-02-22T17:07:24-07:00", "loyaltyLastUsedPoints": "123", "loyaltyPointsBalance": "987654321", "loyaltyLastEarnedPoints": "1234", "loyaltyLastEarnedDateTime": "2021-01-22T17:07:24-07:00", "loyaltyPromotionMessageType": "email" }Description- isEnrolledInLoyaltyProgramstring<true | false>ExampleDescriptionAllowedtruefalse
- isMobileAppInstalledstring<true | false>ExampleDescriptionAllowedtruefalse
- accountLocalestringExampleDescription
- accountLevelstringExampleDescription
- accountTypestring<individual | business | family | other>ExampleDescriptionAllowedindividualbusinessfamilyother
- accountReferralCodestringExampleDescription
- accountRegistrationDateTimestring<date-time>ExampleDescriptionFormatdate-time
- accountEmailUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- accountEmailVerifiedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- accountPasswordUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- dateOfBirthstringExampleDescription
- totalCreditCardsOnFilestringExampleDescription
- totalInactiveCreditCardsOnFilestringExampleDescription
- totalPurchasesstringExampleDescription
- totalRefundsstringExampleDescription
- totalOrdersAmountstringExampleDescription
- loyaltyProgramNamestringExampleDescription
- loyaltyNumberStartDateTimestring<date-time>ExampleDescriptionFormatdate-time
- loyaltyNumberLastUsedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- loyaltyLastUsedPointsstringExampleDescription
- loyaltyPointsBalancestringExampleDescription
- loyaltyLastEarnedPointsstringExampleDescription
- loyaltyLastEarnedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- loyaltyPromotionMessageTypestring<postalMail | email | smsText | none>ExampleDescriptionAllowedpostalMailemailsmsTextnone
- paymentobjectExample
{ "cartID": "Cart #123", "salesRepID": "SR#46k90", "websiteURL": "yahoo.com", "referralCode": "API 210315", "isGift": "true", "giftMessage": "Enjoy the gift", "deliveryFee": 2, "deliveryFeeType": "consumerPaid", "isPaymentInInstallments": "false", "isPaymentRecurring": "false", "totalFailedTransactions": "99", "isTravelPackagePurchased": "false" }Description- cartIDstringExampleDescription
- salesRepIDstringExampleDescription
- websiteURLstringExampleDescription
- referralCodestringExampleDescription
- isGiftstring<true | false>ExampleDescriptionAllowedtruefalse
- giftMessagestringExampleDescription
- deliveryFeenumberExampleDescription
- deliveryFeeTypestring<free | consumerPaid | subscription | other>ExampleDescriptionAllowedfreeconsumerPaidsubscriptionother
- isPaymentInInstallmentsstring<true | false>ExampleDescriptionAllowedtruefalse
- isPaymentRecurringstring<true | false>ExampleDescriptionAllowedtruefalse
- totalFailedTransactionsstringExampleDescription
- isTravelPackagePurchasedstring<true | false>ExampleDescriptionAllowedtruefalse
- itemsobject[]Example
[ { "isUpsell": "false", "itemType": "physicalGood", "brandName": "Apple", "description": "Macbook Pro", "category": "Computers", "itemID": "af877wernnasnfes", "price": 1199.99, "faceValueAmount": 1599.99, "quantity": 2, "addressID": "2lkj34jldsoufsous82df", "productCondition": "new", "shippingCompany": "ups", "shippingMethod": "ground", "shippingTrackingNumber": "23l4fdswerea02", "isLargeItemDelivery": "true", "promoCode": "ABC12", "promoAmount": 5555, "promoType": "employeeDiscount", "pickupLocation": "curbside", "pickupLocationDescription": "At main entrance", "pickupPersonFirstNamePrimary": "Betty", "pickupPersonLastNamePrimary": "Smith", "pickupPersonFirstNameAlternate": "Mary", "pickupPersonLastNameAlternate": "Jones", "pickupVerificationMethod": "idCard", "pickupDateTime": "2022-03-11T17:07:24-07:00", "pickupVerificationSignatureImage": "*** Base 64 encoding ***", "pickupVerificationIDCardImage": "***Base 64 encoding ***" } ]Description- isUpsellstring<true | false>ExampleDescriptionAllowedtruefalse
- itemTypestring<giftCard | parking | physicalGood | reservation | subscription | ticket | other>ExampleDescriptionAllowedgiftCardparkingphysicalGoodreservationsubscriptionticketother
- brandNamestringExampleDescription
- categorystringExampleDescription
- descriptionstringExampleDescription
- itemIDstringExampleDescription
- pricenumberExampleDescription
- faceValueAmountnumberExampleDescription
- quantitynumberExampleDescription
- addressIDstringExampleDescription
- productConditionstring<new | openPackage | other | refurbished | used>ExampleDescriptionAllowednewopenPackageotherrefurbishedused
- shippingCompanystring<dhl | fedex | ups | usps | other>ExampleDescriptionAlloweddhlfedexupsuspsother
- shippingMethodstring<digital | ground | international | other | nextDay | sameDay | storePickup | twoDay | threeDay>ExampleDescriptionAlloweddigitalgroundinternationalothernextDaysameDaystorePickuptwoDaythreeDay
- shippingTrackingNumberstringExampleDescription
- isLargeItemDeliverystring<true | false>ExampleDescriptionAllowedtruefalse
- promoCodestringExampleDescription
- promoAmountnumberExampleDescription
- promoTypestring<bogo | bundle | employeeDiscount | freeShipping | loyaltyDiscount | newMemberDiscount | percentage | quantityPromotion | other>ExampleDescriptionAllowedbogobundleemployeeDiscountfreeShippingloyaltyDiscountnewMemberDiscountpercentagequantityPromotionother
- pickupLocationstring<curbside | dropBox | inStore | other>ExampleDescriptionAllowedcurbsidedropBoxinStoreother
- pickupLocationDescriptionstringExampleDescription
- pickupPersonFirstNamePrimarystringExampleDescription
- pickupPersonLastNamePrimarystringExampleDescription
- pickupPersonFirstNameAlternatestringExampleDescription
- pickupPersonLastNameAlternatestringExampleDescription
- pickupVerificationMethodstring<idCard | signature | other>ExampleDescriptionAllowedidCardsignatureother
- pickupDateTimestring<date-time>ExampleDescriptionFormatdate-time
- pickupVerificationSignatureImagestringExampleDescription
- pickupVerificationIDCardImagestringExampleDescription
- addressesobject[]Example
[ { "addressID": "23l4jk23klj23", "addressType": "shipping", "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", "locationType": "business", "addressCreatedDateTime": "2020-03-28T17:07:24-07:00", "addressUpdatedDateTime": "2021-03-28T17:07:24-07:00" }, { "addressID": "23l4jk23klj23", "addressType": "billing", "primaryFlag": "true", "isAddressOnFile": "false", "firstName": "Jane", "middleName": "Marie", "lastName": "Doe", "emailAddress": "[email protected]", "phone": "3125555555", "phoneCountryCode": "001", "address1": "1776 W. Washington Street", "city": "Anaheim", "region": "CA", "postCode": "92802", "country": "US", "companyName": "Cool Stuff!", "locationType": "residence", "addressCreatedDateTime": "2020-03-28T17:07:24-07:00", "addressUpdatedDateTime": "2021-03-28T17:07:24-07:00" } ]Description- addressIDstringExampleDescription
- addressTypestring<account | billing | bopis | curbside | departure | destination | fulfillment | listing | lodging | pickup | return | shipping | venue | other>ExampleDescriptionAllowedaccountbillingbopiscurbsidedeparturedestinationfulfillmentlistinglodgingpickupreturnshippingvenueother
- primaryFlagstring<true | false>ExampleDescriptionAllowedtruefalse
- isAddressOnFilestring<true | false>ExampleDescriptionAllowedtruefalse
- firstNamestringExampleDescription
- middleNamestringExampleDescription
- lastNamestringExampleDescription
- emailAddressstringExampleDescription
- phonestringExampleDescription
- phoneCountryCodestringExampleDescription
- address1stringExampleDescription
- address2stringExampleDescription
- citystringExampleDescription
- regionstringExampleDescription
- postCodestringExampleDescription
- countrystringExampleDescription
- companyNamestringExampleDescription
- locationTypestring<business | redirect | residence | siteToStore | other>ExampleDescriptionAllowedbusinessredirectresidencesiteToStoreother
- addressCreatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- addressUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- paymentMethodsobject[]Example
[ { "paymentType": "creditCard", "paymentMethodID": "2ljr9vxsdfew", "paymentMethodAmount": 399, "isPaymentStoredOnFile": "true", "cardNumber": "", "cardToken": "6f7%gf38hfUa", "expirationMonth": "11", "expirationYear": "2020", "nameOnCreditCard": "Jane Doe", "emailAddress": "[email protected]", "cardBin": 345678, "cardLastFour": "1111", "avsResult": "matched", "cvvResult": "matched", "cardAuthorizationCode": "12345", "cardAuthorizationDateTime": "2020-11-22T17:07:24-07:00", "isPre-AuthorizationReject": "false", "post-AuthorizationRejectReason": "creditReject", "eciIndicator": "unsuccessfulOrNotAttempted", "totalFailedAttempts": 88, "paymentMethodCreatedDateTime": "2020-03-28T17:07:24-07:00", "paymentMethodUpdatedDateTime": "2020-03-28T17:07:24-07:00" }, { "paymentType": "digitalWallet", "paymentMethodID": "2ljr9vxsdfey", "paymentMethodAmount": 150, "isPaymentStoredOnFile": "true", "nameOnAccount": "Jane Doe", "emailAddress": "[email protected]", "walletType": "Applepay", "walletStatus": "active", "isWalletProtectionEligible": "true", "paymentMethodBalanceAmount": 4000, "totalFailedAttempts": 88 }, { "paymentType": "giftCard", "paymentMethodID": "2ljr9vxsdfex", "paymentMethodAmount": 350, "nameOnAccount": "Jane Doe", "emailAddress": "[email protected]", "giftCardNumber": "a789sdf8asdfasd89f789asd78", "giftCardLastFour": "1111", "giftCardBIN": "4111", "expirationMonth": "11", "expirationYear": "2026", "paymentMethodBalanceAmount": 4000 }, { "paymentType": "voucher", "paymentMethodID": "2ljr9vxsdfez", "paymentMethodAmount": 500, "nameOnAccount": "Jane Doe", "emailAddress": "[email protected]", "expirationDay": "12", "expirationMonth": "11", "expirationYear": "2026", "paymentMethodBalanceAmount": 4000 }, { "paymentType": "loyaltyPoints", "paymentMethodID": "2ljr9vxsdfeu", "paymentMethodAmount": 500, "nameOnAccount": "Jane Doe", "emailAddress": "[email protected]", "points": 50000, "expirationDay": "12", "expirationMonth": "11", "expirationYear": "2026", "loyaltyProgramName": "Acme Platinum", "paymentMethodBalanceAmount": 4000 }, { "paymentType": "bankAccount", "paymentMethodID": "18881118929", "paymentMethodAmount": 500, "isPaymentStoredOnFile": "true", "nameOnAccount": "Jane Doe", "emailAddress": "[email protected]", "accountType": "checking" } ]Description- paymentTypestring<bankAccount | cash | check | creditCard | cryptoCurrency | digitalWallet | electronicFundTransfer | giftCard | invoice | loan | loyaltyPoints | moneyOrder | secCard | storeCredit | thirdParty | voucher>requiredExampleDescriptionAllowedbankAccountcashcheckcreditCardcryptoCurrencydigitalWalletelectronicFundTransfergiftCardinvoiceloanloyaltyPointsmoneyOrdersecCardstoreCreditthirdPartyvoucher
- paymentMethodIDstringExampleDescription
- paymentMethodAmountnumberExampleDescription
- isPaymentStoredOnFilestring<true | false>ExampleDescriptionAllowedtruefalse
- emailAddressstringExampleDescription
- nameOnAccountstringExampleDescription
- accountTypestringDescription
- cardNumberstringDescription
- cardTokenstringExampleDescription
- expirationMonthstringExampleDescription
- expirationYearstringExampleDescription
- expirationDaystringExampleDescription
- nameOnCreditCardstringExampleDescription
- cardBinintegerExampleDescription
- cardLastFourstringExampleDescription
- avsResultstringExampleDescription
- cvvResultstringExampleDescription
- cardAuthorizationCodestringExampleDescription
- cardAuthorizationDateTimestring<date-time>ExampleDescriptionFormatdate-time
- isPre-AuthorizationRejectstring<true | false>ExampleDescriptionAllowedtruefalse
- post-AuthorizationRejectReasonstringExampleDescription
- eciIndicatorstringExampleDescription
- totalFailedAttemptsnumberExampleDescription
- paymentMethodCreatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- paymentMethodUpdatedDateTimestring<date-time>ExampleDescriptionFormatdate-time
- giftCardNumberstringExampleDescription
- giftCardLastFourstringExampleDescription
- giftCardBINstringExampleDescription
- paymentMethodBalanceAmountnumberExampleDescription
- pointsintegerExampleDescription
- loyaltyProgramNamestringExampleDescription
- walletTypestringExampleDescription
- walletStatusstringDescription
- isWalletProtectionEligiblestring<true | false>DescriptionAllowedtruefalse
- promotionsobject[]Example
[ { "promoCode": "ABC12", "promoAmount": 5555, "promoType": "employeeDiscount" }, { "promoCode": "ABC1234", "promoAmount": 50, "promoType": "freeShipping" } ]Description- promoCodestringExampleDescription
- promoAmountnumberExampleDescription
- promoTypestring<bogo | bundle | employeeDiscount | freeShipping | loyaltyDiscount | newMemberDiscount | percentage | quantityPromotion | other>ExampleDescriptionAllowedbogobundleemployeeDiscountfreeShippingloyaltyDiscountnewMemberDiscountpercentagequantityPromotionother
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://api.accertify.net//icnow01.accertify.net/icNowImport/{importerID} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"transactionID": "ABC123456",
"transactionType": "postAuthorization",
"transactionDateTime": "2022-03-11T17:07:24-07:00",
"paymentAmount": 1082.91,
"currencyCode": "USD",
"success": "false",
"purchaseType": "physicalItems",
"eventSource": "web",
"paymentMethods": [
{
"paymentType": "creditCard"
}
]
}'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var raw = JSON.stringify({
"transactionID": "ABC123456",
"transactionType": "postAuthorization",
"transactionDateTime": "2022-03-11T17:07:24-07:00",
"paymentAmount": 1082.91,
"currencyCode": "USD",
"success": "false",
"purchaseType": "physicalItems",
"eventSource": "web",
"paymentMethods": [
{
"paymentType": "creditCard"
}
]
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://api.accertify.net//icnow01.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://api.accertify.net//icnow01.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": "postAuthorization",
"transactionDateTime": "2022-03-11T17:07:24-07:00",
"paymentAmount": 1082.91,
"currencyCode": "USD",
"success": "false",
"purchaseType": "physicalItems",
"eventSource": "web",
"paymentMethods": [
{
"paymentType": "creditCard"
}
]
})
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://api.accertify.net//icnow01.accertify.net/icNowImport/{importerID}"
payload = json.dumps({
"transactionID": "ABC123456",
"transactionType": "postAuthorization",
"transactionDateTime": "2022-03-11T17:07:24-07:00",
"paymentAmount": 1082.91,
"currencyCode": "USD",
"success": "false",
"purchaseType": "physicalItems",
"eventSource": "web",
"paymentMethods": [
{
"paymentType": "creditCard"
}
]
})
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
// Unexpected error. This could be an authentication error, invalid JSON payload, bad credentials, or another system error.