Authentication result
POST
https://api.forter-secure.com/v2/accounts/authentication-result/{id}
Path Parameters
- idstringrequired
Header Parameters
- api-versionstringrequiredExampleDescription
- x-forter-siteidstringrequiredExampleDescription
Body Parameters
- bodyaccountAuthenticationRequestrequiredDescription
- accountIdstringrequiredExampleDescriptionMax Length50
- additionalAuthenticationMethodobject
- AdvancedAuthenticationMethod
- correlationIdstringrequiredExampleDescription
- documentVerificationobject
- AdditionalVerificationDocuments
- documentDateOfBirthstring<date>ExampleDescriptionFormatdate
- documentExpirationstring<date>ExampleDescriptionFormatdate
- documentFirstNamestringExampleDescriptionMax Length50
- documentIssuingStatestringExampleDescriptionMax Length25
- documentLastNamestringExampleDescriptionMax Length50
- documentNumberstringExampleDescriptionMax Length50
- documentSourcestring<CAMERA_CAPTURED | UPLOADED_FILE | TYPED | OTHER>requiredExampleDescriptionAllowedCAMERA_CAPTUREDUPLOADED_FILETYPEDOTHER
- documentStatusstring<SENT_TO_CLIENT | RECEIVED_FROM_CLIENT | ABANDONED_BY_CLIENT | RECEIVED_FROM_CLIENT_FAULTY>ExampleDescriptionAllowedSENT_TO_CLIENTRECEIVED_FROM_CLIENTABANDONED_BY_CLIENTRECEIVED_FROM_CLIENT_FAULTYMax Length50
- documentTypestringrequiredExampleDescriptionMax Length35
- documentVerificationServiceAnswerstringExampleDescriptionMax Length20
- documentVerificationServiceNamestringExampleDescriptionMax Length50
- documentVerificationServiceResponsePayloadobject
- GeneralPayloadMap
- documentVerifiedbooleanExampleDescription
- eventTimenumberExampleDescription
- nationalitystringExampleDescriptionMax Length25
- emailVerificationobject
- Email
- emailstringrequiredExampleDescriptionMax Length256
- emailVerificationVerificationrequiredDescription
- sentbooleanrequiredExampleDescription
- timeSentnumberExampleDescription
- verifiedbooleanrequiredDescription
- oneTimePasswordVerificationobject
- SimplifiedVerification
- timeVerifiednumberExampleDescription
- verificationMethodstringrequiredExampleDescriptionMax Length50
- verifiedbooleanrequiredDescription
- paymentInstrumentVerificationobject
- PaymentInstrumentVerification
- cameraCapturedbooleanDescription
- creditCardManuallyTypedInbooleanDescription
- cvvManuallyTypedInbooleanDescription
- lastFourDigitsstringExampleDescriptionMax Length4Pattern[0-9]{4}
- tokenstringExampleDescriptionMax Length200
- phoneVerificationobject
- Phone
- phonestringrequiredExampleDescriptionMax Length25
- smsVerifiedVerificationrequiredDescription
- sentbooleanrequiredExampleDescription
- timeSentnumberExampleDescription
- verifiedbooleanrequiredDescription
- verificationOutcomestring<SUCCESS | FAILURE | NONE_ATTEMPTED>requiredExampleDescriptionAllowedSUCCESSFAILURENONE_ATTEMPTED
- additionalInformationobject
- GeneralPayloadMap
- bankTransferVerificationResultsobject
- BankTransfer
- accountHolderFirstNamestringExampleDescriptionMax Length50
- accountHolderFullNamestringExampleDescriptionMax Length200
- accountHolderLastNamestringExampleDescriptionMax Length50
- achProcessingTypestringExampleDescriptionMax Length50
- bankAccountIdentifierstringExampleDescriptionMax Length40
- bankAccountTypestringExampleDescriptionMax Length50
- bankNamestringExampleDescriptionMax Length50
- paymentGatewayDataobject
- PaymentGatewayData
- gatewayNamestringExampleDescriptionMax Length50
- gatewayTransactionIdstringExampleDescriptionMax Length50
- paymentSuccessStatusstringExampleDescription
- serviceNamestringExampleDescriptionMax Length30
- connectionInformationobject
- ConnectionInformation
- checkoutToolsSessionIdstringExampleDescriptionMax Length128
- customerIPstringrequiredExampleDescription
- forterMobileUIDstringExampleDescriptionMax Length128
- forterTokenCookiestringExampleDescriptionMax Length128
- merchantDeviceIdentifierstringExampleDescriptionMax Length100
- merchantProvidedSessionIdstringExampleDescriptionMax Length128
- userAgentstringrequiredExampleDescriptionMax Length4096
- eventTimenumberrequiredExampleDescription
- merchantIdentifiersobject
- MerchantIdentifiers
- merchantDomainstringExampleDescriptionMax Length2048
- merchantNamestringExampleDescriptionMax Length50
- paymentAuthorizationResultsobject
- CreditCardVerification
- authorizationCodestringExampleDescriptionMax Length255
- authorizationProcessedWith3DSbooleanExampleDescription
- avsFullResultstringExampleDescriptionMax Length50
- avsNameResultstringExampleDescriptionMax Length30
- avsStreetResultstringExampleDescriptionMax Length30
- avsZipResultstringExampleDescriptionMax Length30
- cavvResultstringExampleDescriptionMax Length50
- cvvResultstringExampleDescriptionMax Length30
- eciValuestringExampleDescriptionMax Length2
- exemptionStatusstringExampleDescriptionMax Length100
- external3dsVendorPayloadobject
- GeneralPayloadMap
- issuerResponseCodestringExampleDescriptionMax Length50
- issuerResponseTextstringExampleDescriptionMax Length255
- liabilityShiftbooleanExampleDescription
- partyExecuted3DSstring<PSP | FORTER | BOTH>ExampleDescriptionAllowedPSPFORTERBOTH
- processorResponseCodestringExampleDescriptionMax Length50
- processorResponseTextstringExampleDescriptionMax Length255
- threeDsInteractionModestring<FRICTIONLESS | CHALLENGED>ExampleDescriptionAllowedFRICTIONLESSCHALLENGED
- threeDsStatusstringExampleDescriptionMax Length100
- threeDsVersionstringExampleDescriptionMax Length5
- paypalVerificationResultsobject
- Paypal
- authorizationIdstringExampleDescriptionMax Length50
- fullPaypalResponsePayloadobject
- GeneralPayloadMap
- payerAccountCountrystringExampleDescriptionMin Length2Max Length2
- payerAddressStatusstringExampleDescription
- payerEmailstringrequiredExampleDescriptionMax Length256
- payerIdstringrequiredExampleDescriptionMax Length154
- payerStatusstringExampleDescription
- paymentGatewayDataobject
- PaymentGatewayData
- gatewayNamestringExampleDescriptionMax Length50
- gatewayTransactionIdstringExampleDescriptionMax Length50
- paymentIdstringExampleDescriptionMax Length50
- paymentStatusstringExampleDescriptionMax Length50
- protectionEligibilitystringExampleDescription
Responses
200
- adaptiveAuthAccountsResponseDescription
- accountIdstringrequiredExampleDescription
- correlationIdstringrequiredExampleDescription
- decisionReasonstringrequiredDescriptionMax Length1000
- forterDecisionstring<APPROVE | DECLINE | VERIFICATION_REQUIRED | NOT_REVIEWED>requiredDescriptionAllowedAPPROVEDECLINEVERIFICATION_REQUIREDNOT_REVIEWED
- merchantPolicyIdstringrequiredExampleDescription
- recommendationstringrequiredDescriptionMax Length1000
- verificationMethodVerificationMethodrequiredDescription
- correlationIdstringrequiredExampleDescription
- statusstringrequiredExampleDescriptionMax Length50
- statusCodestringrequiredExampleDescriptionMax Length50
- statusMessagestringrequiredExampleDescriptionMax Length50
- typestring<OTP_SMS | OTP_EMAIL | THREE_DS>requiredExampleDescriptionAllowedOTP_SMSOTP_EMAILTHREE_DSMax Length50
- verificationIdstringrequiredExampleDescription
- verificationSpecificDataVerificationDatarequiredDescription
- ThreeDSobject
- ThreeDSecureResponse
- ACSUrlstringrequiredExampleDescriptionMax Length2048
- ECIValuestringrequiredExampleDescriptionMax Length300
- acsChallengeMandatedstringrequiredExampleDescriptionMax Length1
- acsReferenceNumberstringrequiredExampleDescriptionMax Length32
- acsSignedContentstringrequiredDescriptionMax Length1000
- acsTransIDstringrequiredExampleDescriptionMax Length36
- authenticationTypestringrequiredExampleDescriptionMax Length2
- authenticationValuestringrequiredExampleDescriptionMax Length28
- bankLiabilityShiftbooleanrequiredExampleDescriptionMax Length1
- cardEnrolledstringrequiredExampleDescriptionMax Length1
- cavvAlgorithmstringrequiredExampleDescriptionMax Length1
- challengeCancelstringrequiredExampleDescriptionMax Length2
- challengeStatusstringrequiredExampleDescriptionMax Length1
- dsTransIDstringrequiredExampleDescriptionMax Length100
- encodedChallengeRequeststringrequiredExampleDescription
- exemptionstring<LOW_VALUE | TRANSACTION_RISK_ANALYSIS | SECURE_CORPORATE | TRUSTED_BENEFICIARY>ExampleDescriptionAllowedLOW_VALUETRANSACTION_RISK_ANALYSISSECURE_CORPORATETRUSTED_BENEFICIARY
- interactionCounterstringrequiredExampleDescriptionMax Length2
- isFallbackbooleanrequiredDescriptionMax Length5
- messageCategorystringrequiredExampleDescriptionMax Length2
- outOfScopeForPSD2string<ANONYMOUS_PREPAID_CARD | MERCHANT_INITIATED_TRANSACTIONS | ONE_LEG_OUT_EEA | MAIL_ORDER_TELEPHONE_ORDER>ExampleDescriptionAllowedANONYMOUS_PREPAID_CARDMERCHANT_INITIATED_TRANSACTIONSONE_LEG_OUT_EEAMAIL_ORDER_TELEPHONE_ORDER
- threeDSServerTransIDstringrequiredExampleDescriptionMax Length100
- threeDSecureModestringrequiredExampleDescriptionMax Length15
- threeDSecurePreferencestringrequiredExampleDescriptionMax Length15
- threeDSecureResultstringrequiredExampleDescriptionMax Length6
- transStatusstringrequiredExampleDescriptionMax Length1
- transStatusReasonstringrequiredExampleDescriptionMax Length2
- verifyStatusstringrequiredExampleDescriptionMax Length1
- versionstringrequiredExampleDescriptionMax Length50
- emailobject
- Email
- emailstringrequiredExampleDescriptionMax Length256
- emailVerificationVerificationrequiredDescription
- sentbooleanrequiredExampleDescription
- timeSentnumberExampleDescription
- verifiedbooleanrequiredDescription
- phoneobject
- Phone
- phonestringrequiredExampleDescriptionMax Length25
- smsVerifiedVerificationrequiredDescription
- sentbooleanrequiredExampleDescription
- timeSentnumberExampleDescription
- verifiedbooleanrequiredDescription
400
401
404
500
curl
curl --request POST \
--url https://api.forter-secure.com/v2/accounts/authentication-result/{id} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'api-version: 10.3' \
--header 'x-forter-siteid: a1b2c3d4e5f6' \
--data-raw '{
"accountId": "e520-ba9a-367-60b",
"additionalAuthenticationMethod": {
"correlationId": "HGJ7512345H3DE",
"documentVerification": {
"documentSource": "UPLOADED_FILE",
"documentType": "Passport",
"documentVerificationServiceResponsePayload": {}
},
"emailVerification": {
"email": "[email protected]",
"emailVerification": {
"sent": true,
"verified": false
}
},
"oneTimePasswordVerification": {
"verificationMethod": "Google Authenticator",
"verified": false
},
"paymentInstrumentVerification": {},
"phoneVerification": {
"phone": "15557654321",
"smsVerified": {
"sent": true,
"verified": false
}
},
"verificationOutcome": "SUCCESS"
},
"additionalInformation": {},
"bankTransferVerificationResults": {
"paymentGatewayData": {}
},
"connectionInformation": {
"customerIP": "10.0.0.127",
"userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36"
},
"eventTime": 1415287568000,
"merchantIdentifiers": {},
"paymentAuthorizationResults": {
"external3dsVendorPayload": {}
},
"paypalVerificationResults": {
"fullPaypalResponsePayload": {},
"payerEmail": "[email protected]",
"payerId": "FD000A45P",
"paymentGatewayData": {}
}
}'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
myHeaders.append("api-version", "10.3");
myHeaders.append("x-forter-siteid", "a1b2c3d4e5f6");
var raw = JSON.stringify({
"accountId": "e520-ba9a-367-60b",
"additionalAuthenticationMethod": {
"correlationId": "HGJ7512345H3DE",
"documentVerification": {
"documentSource": "UPLOADED_FILE",
"documentType": "Passport",
"documentVerificationServiceResponsePayload": {}
},
"emailVerification": {
"email": "[email protected]",
"emailVerification": {
"sent": true,
"verified": false
}
},
"oneTimePasswordVerification": {
"verificationMethod": "Google Authenticator",
"verified": false
},
"paymentInstrumentVerification": {},
"phoneVerification": {
"phone": "15557654321",
"smsVerified": {
"sent": true,
"verified": false
}
},
"verificationOutcome": "SUCCESS"
},
"additionalInformation": {},
"bankTransferVerificationResults": {
"paymentGatewayData": {}
},
"connectionInformation": {
"customerIP": "10.0.0.127",
"userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36"
},
"eventTime": 1415287568000,
"merchantIdentifiers": {},
"paymentAuthorizationResults": {
"external3dsVendorPayload": {}
},
"paypalVerificationResults": {
"fullPaypalResponsePayload": {},
"payerEmail": "[email protected]",
"payerId": "FD000A45P",
"paymentGatewayData": {}
}
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://api.forter-secure.com/v2/accounts/authentication-result/{id}", 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.forter-secure.com/v2/accounts/authentication-result/{id}")
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["api-version"] = "10.3"
request["x-forter-siteid"] = "a1b2c3d4e5f6"
request.body = JSON.dump({
"accountId": "e520-ba9a-367-60b",
"additionalAuthenticationMethod": {
"correlationId": "HGJ7512345H3DE",
"documentVerification": {
"documentSource": "UPLOADED_FILE",
"documentType": "Passport",
"documentVerificationServiceResponsePayload": {}
},
"emailVerification": {
"email": "[email protected]",
"emailVerification": {
"sent": true,
"verified": false
}
},
"oneTimePasswordVerification": {
"verificationMethod": "Google Authenticator",
"verified": false
},
"paymentInstrumentVerification": {},
"phoneVerification": {
"phone": "15557654321",
"smsVerified": {
"sent": true,
"verified": false
}
},
"verificationOutcome": "SUCCESS"
},
"additionalInformation": {},
"bankTransferVerificationResults": {
"paymentGatewayData": {}
},
"connectionInformation": {
"customerIP": "10.0.0.127",
"userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36"
},
"eventTime": 1415287568000,
"merchantIdentifiers": {},
"paymentAuthorizationResults": {
"external3dsVendorPayload": {}
},
"paypalVerificationResults": {
"fullPaypalResponsePayload": {},
"payerEmail": "[email protected]",
"payerId": "FD000A45P",
"paymentGatewayData": {}
}
})
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://api.forter-secure.com/v2/accounts/authentication-result/{id}"
payload = json.dumps({
"accountId": "e520-ba9a-367-60b",
"additionalAuthenticationMethod": {
"correlationId": "HGJ7512345H3DE",
"documentVerification": {
"documentSource": "UPLOADED_FILE",
"documentType": "Passport",
"documentVerificationServiceResponsePayload": {}
},
"emailVerification": {
"email": "[email protected]",
"emailVerification": {
"sent": True,
"verified": False
}
},
"oneTimePasswordVerification": {
"verificationMethod": "Google Authenticator",
"verified": False
},
"paymentInstrumentVerification": {},
"phoneVerification": {
"phone": "15557654321",
"smsVerified": {
"sent": True,
"verified": False
}
},
"verificationOutcome": "SUCCESS"
},
"additionalInformation": {},
"bankTransferVerificationResults": {
"paymentGatewayData": {}
},
"connectionInformation": {
"customerIP": "10.0.0.127",
"userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36"
},
"eventTime": 1415287568000,
"merchantIdentifiers": {},
"paymentAuthorizationResults": {
"external3dsVendorPayload": {}
},
"paypalVerificationResults": {
"fullPaypalResponsePayload": {},
"payerEmail": "[email protected]",
"payerId": "FD000A45P",
"paymentGatewayData": {}
}
})
headers = {
'accept': 'application/json',
'content-type': 'application/json',
'api-version': '10.3',
'x-forter-siteid': 'a1b2c3d4e5f6'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
200
// Example adaptiveAuthAccountsResponse
{
"accountId": "e520-ba9a-367-60b",
"correlationId": "HGJ7512345H3DE",
"decisionReason": "",
"forterDecision": "",
"merchantPolicyId": "0ee8ba28a8654c659addbae9253b707c",
"recommendation": "",
"verificationMethod": {
"correlationId": "HGJ7512345H3DE",
"status": "FRICTIONLESS",
"statusCode": "100",
"statusMessage": "Verification code sent",
"type": "THREE_DS",
"verificationId": "345H3DEHGJ7512",
"verificationSpecificData": {
"ThreeDS": {},
"email": {},
"phone": {}
}
}
}400
// Bad Request (Often missing a required parameter)
401
// Unauthorized (No valid API key provided)
404
// Not Found (The requested item doesn't exist)
500
// Server Error (Something went wrong on Forter's end)