Response will be network, device and payment insights for MVP.
POST {{baseUrl}}/transactions
Provides merchants transaction or device or identity scores to help with pre-authorization and pre-authentication decisioning. Using this API enables merchants or acquirer to be able to catch fraud early on & reduce fraudulent transactions while improving their risk models.
Request Body
{"purchaseDate"=>"20220721173228", "purchaseAmount"=>"12345", "purchaseCurrencyExponent"=>"2", "purchaseCurrency"=>"998", "cardHolderName"=>"Waidong L Syrws", "merchantName"=>"Acme Inc", "merchantCountryCode"=>"840", "mcc"=>"0742", "ipAddress"=>"198.51.100.42", "userAgent"=>"Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 7.0; InfoPath.3; .NET CLR 3.1.40767; Trident/6.0; en-IN)", "canvas"=>"e1af96a2e8af1115", "webGl"=>"wg1-ce04533340ea94cf", "timeZone"=>"600", "screenResolution"=>"1024x820", "localStorage"=>true, "language"=>"zh-TW", "colorDepth"=>24, "hashedAccountId"=>"d1e8a70b5ccab1dc2f56bbf7e99f064a660c08e361a3", "cookiesEnabled"=>true, "plugins"=>["aute dolore commodo", "in"], "acquirerMerchantId"=>"ACME", "acquirerBin"=>"444444", "secondaryCardholderName"=>"Waidong L Syrws", "primaryEmail"=>"john@mastercard.com", "secondaryEmail"=>"ted@mastercard.com", "mobilePhone"=>{"cc"=>"1", "subscriber"=>"3143978691"}, "billingAddress"=>{"addressLine1"=>"912 Uclan Dr", "addressCity"=>"Houston", "addressState"=>"TX", "addressPostCode"=>"63124", "addressCountry"=>"do ", "addressLine2"=>"Apt 34"}, "shippingAddress"=>{"addressLine1"=>"912 Uclan Dr", "addressCity"=>"Houston", "addressState"=>"TX", "addressPostCode"=>"63124", "addressCountry"=>"iru", "addressLine2"=>"Apt 34"}, "homePhone"=>{"cc"=>"1", "subscriber"=>"3143978691"}, "workPhone"=>{"cc"=>"1", "subscriber"=>"3143978691"}, "accountDetails"=>{"cardExpiryDate"=>"2311", "accountNumber"=>"246357846585454", "cardLast4"=>"4242", "cardBin"=>"12345"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"be3ad617-04ad-43e1-a438-79425b6511b6","deviceInsights":{"uDeviceId":"UDID-9284e12b85b0d2763c13d734c70b1d62","accountDeviceId":"b01e4f5e5e984a79ad5ff38e65ddf198","riskHistories":[{"riskEvent":"AD","riskLevel":-97610949,"riskEventCount":33012610,"lastEventDate":"2022-09-01","riskSignals":["velit ullamco sit ut","sit consequat occaecat"]},{"riskEvent":"AD","riskLevel":-73427515,"riskEventCount":7372445,"lastEventDate":"2022-09-01","riskSignals":["Lorem sunt nostrud sit","labore ullamco"]}],"insights":[{"insightEvent":"AD","insightLevel":-91008317,"insightSignals":["esse commodo incididunt ex","incididunt ullamco id"]},{"insightEvent":"AD","insightLevel":-83836999,"insightSignals":["proident","aliqua anim quis elit"]}],"deviceInfo":{"browser":"Safari","platform":"iOS","deviceType":"iPhone","country":"USA","ipCarrier":"AT\u0026T","city":"Los Angeles","state":"CA"},"insightFactor":0,"riskFactor":2,"trustFactor":4,"alerts":["Unable to generate Insights"]},"paymentInsights":{"dsTransID":"8a880dc0-d2d2-4067-bcb1-b08d1690b26f","authenticationValue":"kXP0E72AStw+dwmFhAEOqYihWc0k","eci":"amet m","transStatus":"U","transStatusReason":"Ut sit adipisicing dolore nu","score":999,"decision":"Low Risk","reasonCode1":"A1","reasonCode2":"GG","alerts":["Unable to generate Insights"]},"individualInsights":{"primaryEmail":{"firstSeenDays":234,"lastSeenDays":234,"valid":true,"domainCreationDate":"2017-07-26","matchToName":"no-match"},"ip":{"billingAddressDistance":240,"lastSeenDays":234,"connectionType":"cable-dsl","shippingAddressDistance":240},"homePhone":{"matchToName":"no-match","lineType":"other","valid":true,"phoneNumberCarrier":"Ekata Telco"},"mobilePhone":{"matchToName":"no-match","lineType":"other","valid":true,"phoneNumberCarrier":"Ekata Telco"},"billingAddress":{"validityLevel":"valid_to_street","firstSeenDays":234,"lastSeenDays":234,"matchToName":"no-match","shippingAddressRelationship":"no_relationship"},"shippingAddress":{"validityLevel":"valid_to_street","firstSeenDays":234,"lastSeenDays":234,"matchToName":"no-match"},"scores":{"ipRisk":{"score":0.562},"identityNetwork":{"score":0.562},"identityRisk":{"score":375,"reasonCode":"RA"}},"workPhone":{"matchToName":"no-match","lineType":"other","valid":true,"phoneNumberCarrier":"Ekata Telco"},"alerts":["firstSeenDays","valid"],"warnings":["Primary Email: Invalid username syntax","Shipping Address: Missing country_code"]}}