Core API
Accounts
Authentication result
1 min
code examples curl location globoff 'https //api forter secure com/v2/accounts/authentication result/{id}' \\ \ header 'accept application/json' \\ \ header 'content type application/json' \\ \ data raw '{ "accountid" "e520 ba9a 367 60b", "additionalauthenticationmethod" { "correlationid" "hgj7512345h3de", "documentverification" { "documentsource" "uploaded file", "documenttype" "passport", "documentverificationserviceresponsepayload" {} }, "emailverification" { "email" "john s\@test com", "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" "john s\@test com", "payerid" "fd000a45p", "paymentgatewaydata" {} } }'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var raw = json stringify({ "accountid" "e520 ba9a 367 60b", "additionalauthenticationmethod" { "correlationid" "hgj7512345h3de", "documentverification" { "documentsource" "uploaded file", "documenttype" "passport", "documentverificationserviceresponsepayload" {} }, "emailverification" { "email" "john s\@test com", "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" "john s\@test com", "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));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 body = json dump({ "accountid" "e520 ba9a 367 60b", "additionalauthenticationmethod" { "correlationid" "hgj7512345h3de", "documentverification" { "documentsource" "uploaded file", "documenttype" "passport", "documentverificationserviceresponsepayload" {} }, "emailverification" { "email" "john s\@test com", "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" "john s\@test com", "payerid" "fd000a45p", "paymentgatewaydata" {} } }) response = https request(request) puts response read body 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" "john s\@test com", "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" "john s\@test com", "payerid" "fd000a45p", "paymentgatewaydata" {} } }) headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("post", url, headers=headers, data=payload) print(response text) responses // 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" {} } } }// bad request (often missing a required parameter) // unauthorized (no valid api key provided) // not found (the requested item doesn't exist) // server error (something went wrong on forter's end)