Deposit Fields
1 min
POST
https://icnow01.accertify.net/icNowImport/{importerIdDeposit}
Path Parameters
- importerIdDepositstringrequired
Body Parameters
- depositobjectDescription
- eventSourcestring<agentPhone | agentStore | affiliate | kiosk | mobileApp | other | web>requiredDescriptionAllowedagentPhoneagentStoreaffiliatekioskmobileAppotherweb
- accountIDstringrequiredExampleDescription
- successbooleanrequiredDescriptionAllowedtruefalse
- isMobileAppInstalledbooleanrequiredDescriptionAllowedtruefalse
- depositobjectrequiredDescription
- depositIDstringrequiredDescription
- depositTypestring<preAuthorization | postAuthorization>requiredDescriptionAllowedpreAuthorizationpostAuthorization
- depositDateTimestring<datetime>requiredExampleDescriptionFormatdatetime
- depositTotalAmountnumber<decimal>requiredExampleDescriptionFormatdecimal
- taxAmountnumber<decimal>ExampleDescriptionFormatdecimal
- currencyCodestringrequiredExampleDescription
- salesRepIDstringExampleDescription
- websiteURLstringExampleDescription
- referralCodestringExampleDescription
- ipAddressstringExampleDescription
- userAgentstringExampleDescription
- devicePayloadstringExampleDescription
- deviceTransactionIDstringExampleDescription
- ubaIDstringExampleDescription
- emailAddressstringExampleDescription
- ubaEventsstringExampleDescription
- pageIDstringExampleDescription
- usernamestringExampleDescription
- authenticationMethodstring<appAuthenticator | appPush | FIDO | other | password | magicLink | SMS>DescriptionAllowedappAuthenticatorappPushFIDOotherpasswordmagicLinkSMS
- latitudenumberExampleDescription
- longitudenumberExampleDescription
- brandstringExampleDescription
- sessionIDstringExampleDescription
- ubaSessionIDstringExampleDescription
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-codestringDescription
- remarksstringDescription
- validation_responseobject
- warningsobjectDescription
- originalValuesobjectDescription
- statusstring<true when there are no errors | false when there are errors>DescriptionAllowedtrue when there are no errorsfalse when there are errors
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
- errorsobjectDescription
- warningsobjectDescription
- originalValuesobjectDescription
- statusstring<true when there are no errors | false when there are errors>DescriptionAllowedtrue when there are no errorsfalse when there are errors
500
curl
curl --request POST \
--url https://icnow01.accertify.net/icNowImport/{importerIdDeposit} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"eventSource": "",
"accountID": 799676969,
"success": "",
"isMobileAppInstalled": "",
"deposit": {
"depositID": "",
"depositType": "",
"depositDateTime": "2020-08-28 19:00:00-04:00",
"depositTotalAmount": 450,
"currencyCode": "USD"
}
}'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var raw = JSON.stringify({
"eventSource": "",
"accountID": 799676969,
"success": "",
"isMobileAppInstalled": "",
"deposit": {
"depositID": "",
"depositType": "",
"depositDateTime": "2020-08-28 19:00:00-04:00",
"depositTotalAmount": 450,
"currencyCode": "USD"
}
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://icnow01.accertify.net/icNowImport/{importerIdDeposit}", 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://icnow01.accertify.net/icNowImport/{importerIdDeposit}")
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({
"eventSource": "",
"accountID": 799676969,
"success": "",
"isMobileAppInstalled": "",
"deposit": {
"depositID": "",
"depositType": "",
"depositDateTime": "2020-08-28 19:00:00-04:00",
"depositTotalAmount": 450,
"currencyCode": "USD"
}
})
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://icnow01.accertify.net/icNowImport/{importerIdDeposit}"
payload = json.dumps({
"eventSource": "",
"accountID": 799676969,
"success": "",
"isMobileAppInstalled": "",
"deposit": {
"depositID": "",
"depositType": "",
"depositDateTime": "2020-08-28 19:00:00-04:00",
"depositTotalAmount": 450,
"currencyCode": "USD"
}
})
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