Account status
POST
https://api.forter-secure.com/v2/accounts/status/{id}
Path Parameters
- idstringrequired
Header Parameters
- api-versionstringrequiredExampleDescription
- x-forter-siteidstringrequiredExampleDescription
Body Parameters
- bodyaccountStatusUpdateRequestrequiredDescription
- accountIdstringrequiredExampleDescriptionMax Length50
- additionalInformationobject
- GeneralPayloadMap
- connectionInformationobject
- ConnectionInformation
- checkoutToolsSessionIdstringExampleDescriptionMax Length128
- customerIPstringrequiredExampleDescription
- forterMobileUIDstringExampleDescriptionMax Length128
- forterTokenCookiestringExampleDescriptionMax Length128
- merchantDeviceIdentifierstringExampleDescriptionMax Length100
- merchantProvidedSessionIdstringExampleDescriptionMax Length128
- userAgentstringrequiredExampleDescriptionMax Length4096
- eventTimenumberrequiredExampleDescription
- merchantAccountStatusstringExampleDescription
- merchantIdentifiersobject
- MerchantIdentifiers
- merchantDomainstringExampleDescriptionMax Length2048
- merchantNamestringExampleDescriptionMax Length50
- statusstring<ACTIVE | SUSPENDED | CLOSED | GUEST | PENDING>requiredExampleDescriptionAllowedACTIVESUSPENDEDCLOSEDGUESTPENDING
- statusChangeBystring<MERCHANT_ADMIN | END_USER | FORTER>ExampleDescriptionAllowedMERCHANT_ADMINEND_USERFORTER
- statusChangeReasonstringExampleDescription
- typestring<GUEST | PRIVATE | BUSINESS | VIP | MERCHANT_OPERATED | TRIAL | MERCHANT_EMPLOYEE | PREMIUM_PAID | SMALL_BUSINESS | AGENT | BUSINESS_PRIVATE | BUSINESS_PREMIUM_PAID>ExampleDescriptionAllowedGUESTPRIVATEBUSINESSVIPMERCHANT_OPERATEDTRIALMERCHANT_EMPLOYEEPREMIUM_PAIDSMALL_BUSINESSAGENTBUSINESS_PRIVATEBUSINESS_PREMIUM_PAID
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/status/{id} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'api-version: 10.3' \
--header 'x-forter-siteid: a1b2c3d4e5f6' \
--data '{
"accountId": "e520-ba9a-367-60b",
"additionalInformation": {},
"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": {},
"status": "ACTIVE"
}'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",
"additionalInformation": {},
"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": {},
"status": "ACTIVE"
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://api.forter-secure.com/v2/accounts/status/{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/status/{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",
"additionalInformation": {},
"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": {},
"status": "ACTIVE"
})
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://api.forter-secure.com/v2/accounts/status/{id}"
payload = json.dumps({
"accountId": "e520-ba9a-367-60b",
"additionalInformation": {},
"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": {},
"status": "ACTIVE"
})
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)