3DS result
POST
https://api.forter-secure.com/v3/orders/{id}/results
Path Parameters
- idstringrequired
Header Parameters
- api-versionstringrequiredExampleDescription
- x-forter-siteidstringrequiredExampleDescription
Body Parameters
- bodyv3OrderResultsRequestrequiredDescription
- managedOrderTokenstringrequiredExampleDescriptionMax Length65536
Responses
200
- v3OrderResultsResponse
- correlationIdstringrequiredExampleDescription
- decisionReasonstringrequiredDescriptionMax Length1000
- forterDecisionstring<APPROVE | DECLINE | NOT REVIEWED>requiredExampleDescriptionAllowedAPPROVEDECLINENOT REVIEWED
- linkToEventInDashboardstringrequiredExampleDescriptionMax Length1000
- merchantPolicyIdstringrequiredExampleDescription
- orderIdstringrequiredExampleDescription
- 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/v3/orders/{id}/results \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'api-version: 10.3' \
--header 'x-forter-siteid: a1b2c3d4e5f6' \
--data '{
"managedOrderToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjIwMjMtMDUtMjMifQ.eyJmb3J0ZXJPcGFxdWVEYXRhIjoiZm9ydGVyT3BhcXVlRGF0YSIsImF1ZCI6ImNoZWNrb3V0dG9vbHMiLCJpc3MiOiJodHRwczovL2FwaS5jaGVja291dHRvb2xzLmNvbS92My9tYW5hZ2VkL29yZGVycyIsImV4cCI6MTczMzk0NzYxNH0.i3Q2KsUerRNQMfCGKQgoR_0AIENOKZ0C99kiRtlkuVQqbmhPRo0A4c42XHp0J_-kdJbCW2W1WckgglTy8GGRfwzVfZ2szSxJCB6QOd4uHwn0BN1GeTdY3qjtBHF48ihsDhfYXvII4Kl2zpL54aJfCePuYANedhxAWJZnUCcSKxFDYsj-gHGGApZbgPhnMI1QfUme2CHjpxu2vGTC0xC08OQuYO7vbESQU_YnLsc-xQYBrOy_4XuOEJDq8fK2O5saiZZEknNvLxouAzn16p5lzWJ3sp-tsJR-a9C_KgNqz_Nv4SaeSYQMhJwrYXXLhNP2ueTHdzEObtm7Skp_NQFdXBBF4vMO4HhKKBzNnfWjsKKCb6Utb__AZNbW4XYn9788wdHNVu-TVhiHRYOg19iOHaJS1l8DfHqMN0o-98Cmdu9prhGIvey64FrcEoAf9jhUjT4LN9u0zuH1jbwfpG-owmHEnpAY6dtZilK81zrf6A3OhRIB5_cECdutSa_UHXP1xapUsGoQMy3T5qaecnj6VqwXI1Cc3vrhsaewRCqJqDTeHG2slttrWBrigvXk4rFwWVazn_Y_PCy-WCfcazXK6nTCJTQ_mBoM24S-W6jRlOsfplDDl5cKGrvsulqXDuDqRzJnc_AmkVOWM9AvqqgkC5ef_2xcGprFi4xDjXkScz4"
}'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({
"managedOrderToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjIwMjMtMDUtMjMifQ.eyJmb3J0ZXJPcGFxdWVEYXRhIjoiZm9ydGVyT3BhcXVlRGF0YSIsImF1ZCI6ImNoZWNrb3V0dG9vbHMiLCJpc3MiOiJodHRwczovL2FwaS5jaGVja291dHRvb2xzLmNvbS92My9tYW5hZ2VkL29yZGVycyIsImV4cCI6MTczMzk0NzYxNH0.i3Q2KsUerRNQMfCGKQgoR_0AIENOKZ0C99kiRtlkuVQqbmhPRo0A4c42XHp0J_-kdJbCW2W1WckgglTy8GGRfwzVfZ2szSxJCB6QOd4uHwn0BN1GeTdY3qjtBHF48ihsDhfYXvII4Kl2zpL54aJfCePuYANedhxAWJZnUCcSKxFDYsj-gHGGApZbgPhnMI1QfUme2CHjpxu2vGTC0xC08OQuYO7vbESQU_YnLsc-xQYBrOy_4XuOEJDq8fK2O5saiZZEknNvLxouAzn16p5lzWJ3sp-tsJR-a9C_KgNqz_Nv4SaeSYQMhJwrYXXLhNP2ueTHdzEObtm7Skp_NQFdXBBF4vMO4HhKKBzNnfWjsKKCb6Utb__AZNbW4XYn9788wdHNVu-TVhiHRYOg19iOHaJS1l8DfHqMN0o-98Cmdu9prhGIvey64FrcEoAf9jhUjT4LN9u0zuH1jbwfpG-owmHEnpAY6dtZilK81zrf6A3OhRIB5_cECdutSa_UHXP1xapUsGoQMy3T5qaecnj6VqwXI1Cc3vrhsaewRCqJqDTeHG2slttrWBrigvXk4rFwWVazn_Y_PCy-WCfcazXK6nTCJTQ_mBoM24S-W6jRlOsfplDDl5cKGrvsulqXDuDqRzJnc_AmkVOWM9AvqqgkC5ef_2xcGprFi4xDjXkScz4"
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://api.forter-secure.com/v3/orders/{id}/results", 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/v3/orders/{id}/results")
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({
"managedOrderToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjIwMjMtMDUtMjMifQ.eyJmb3J0ZXJPcGFxdWVEYXRhIjoiZm9ydGVyT3BhcXVlRGF0YSIsImF1ZCI6ImNoZWNrb3V0dG9vbHMiLCJpc3MiOiJodHRwczovL2FwaS5jaGVja291dHRvb2xzLmNvbS92My9tYW5hZ2VkL29yZGVycyIsImV4cCI6MTczMzk0NzYxNH0.i3Q2KsUerRNQMfCGKQgoR_0AIENOKZ0C99kiRtlkuVQqbmhPRo0A4c42XHp0J_-kdJbCW2W1WckgglTy8GGRfwzVfZ2szSxJCB6QOd4uHwn0BN1GeTdY3qjtBHF48ihsDhfYXvII4Kl2zpL54aJfCePuYANedhxAWJZnUCcSKxFDYsj-gHGGApZbgPhnMI1QfUme2CHjpxu2vGTC0xC08OQuYO7vbESQU_YnLsc-xQYBrOy_4XuOEJDq8fK2O5saiZZEknNvLxouAzn16p5lzWJ3sp-tsJR-a9C_KgNqz_Nv4SaeSYQMhJwrYXXLhNP2ueTHdzEObtm7Skp_NQFdXBBF4vMO4HhKKBzNnfWjsKKCb6Utb__AZNbW4XYn9788wdHNVu-TVhiHRYOg19iOHaJS1l8DfHqMN0o-98Cmdu9prhGIvey64FrcEoAf9jhUjT4LN9u0zuH1jbwfpG-owmHEnpAY6dtZilK81zrf6A3OhRIB5_cECdutSa_UHXP1xapUsGoQMy3T5qaecnj6VqwXI1Cc3vrhsaewRCqJqDTeHG2slttrWBrigvXk4rFwWVazn_Y_PCy-WCfcazXK6nTCJTQ_mBoM24S-W6jRlOsfplDDl5cKGrvsulqXDuDqRzJnc_AmkVOWM9AvqqgkC5ef_2xcGprFi4xDjXkScz4"
})
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://api.forter-secure.com/v3/orders/{id}/results"
payload = json.dumps({
"managedOrderToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjIwMjMtMDUtMjMifQ.eyJmb3J0ZXJPcGFxdWVEYXRhIjoiZm9ydGVyT3BhcXVlRGF0YSIsImF1ZCI6ImNoZWNrb3V0dG9vbHMiLCJpc3MiOiJodHRwczovL2FwaS5jaGVja291dHRvb2xzLmNvbS92My9tYW5hZ2VkL29yZGVycyIsImV4cCI6MTczMzk0NzYxNH0.i3Q2KsUerRNQMfCGKQgoR_0AIENOKZ0C99kiRtlkuVQqbmhPRo0A4c42XHp0J_-kdJbCW2W1WckgglTy8GGRfwzVfZ2szSxJCB6QOd4uHwn0BN1GeTdY3qjtBHF48ihsDhfYXvII4Kl2zpL54aJfCePuYANedhxAWJZnUCcSKxFDYsj-gHGGApZbgPhnMI1QfUme2CHjpxu2vGTC0xC08OQuYO7vbESQU_YnLsc-xQYBrOy_4XuOEJDq8fK2O5saiZZEknNvLxouAzn16p5lzWJ3sp-tsJR-a9C_KgNqz_Nv4SaeSYQMhJwrYXXLhNP2ueTHdzEObtm7Skp_NQFdXBBF4vMO4HhKKBzNnfWjsKKCb6Utb__AZNbW4XYn9788wdHNVu-TVhiHRYOg19iOHaJS1l8DfHqMN0o-98Cmdu9prhGIvey64FrcEoAf9jhUjT4LN9u0zuH1jbwfpG-owmHEnpAY6dtZilK81zrf6A3OhRIB5_cECdutSa_UHXP1xapUsGoQMy3T5qaecnj6VqwXI1Cc3vrhsaewRCqJqDTeHG2slttrWBrigvXk4rFwWVazn_Y_PCy-WCfcazXK6nTCJTQ_mBoM24S-W6jRlOsfplDDl5cKGrvsulqXDuDqRzJnc_AmkVOWM9AvqqgkC5ef_2xcGprFi4xDjXkScz4"
})
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 v3OrderResultsResponse
{
"correlationId": "a1b2c3d4e5f6",
"decisionReason": "",
"forterDecision": "APPROVE",
"linkToEventInDashboard": "https://portal.forter.com/dashboard/:id",
"merchantPolicyId": "0ee8ba28a8654c659addbae9253b707c",
"orderId": "123456",
"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)