Company Risk Check
POST/compliance/company-risk-check
Performs a risk check for a company based on company-related and order-related information.
Risk management and fraud prevention checks include:
- Blacklist checks
- Velocity checks
- Transaction limit checks
- Customer limit checks
Request
Header Parameters
Must be application/json
Must be be en-US
The origin of the request
The client making the request
- application/json
Body
required
Array [
]
Merchant account number
Account number type
Merchant program code
Customer ID
Name of the company
First line of the address
Address number
Postal code
City of the company's address
Country code (ISO 3166-1 alpha-2 format)
Company's email address
orderData
object
required
Order data including items and value
orderItems
object[]
List of items in the order
Article number of the item
Name of the item
Group of the item
Price of the item
Amount of the item
Total price of the item
Type of the item
Total value of the order
Channel through which the order was made
Vehicle Identification Number
Payment option code
Date and time of the request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Successful response with compliance data.
- application/json
- Schema
- Example (from schema)
- Example
Schema
GREEN
: AcceptedYELLOW
: Over credit limitRED
: High riskBASKET_LIMIT
: The order value exceeds the allowed basket limitCUSTOMER_LIMIT
: The order value exceeds the allowed customer limitBLACKLIST
: An entry in a black list was found for the provided customer information (see Compliance Checks.VELOCITY
: Unusual high number of transactions in a short period of time
complianceData
object
ID of the compliance archive
Possible values: [GREEN
, YELLOW
, RED
]
Risk assessment result:
A recommendation based on the risk check result and the reason for denial.
Limit associated with the risk check
Possible values: [BASKET_LIMIT
, CUSTOMER_LIMIT
, BLACKLIST
, VELOCITY
]
Reason for denial if applicable:
{
"complianceData": {
"archiveId": "string",
"trafficLight": "GREEN",
"recommendation": "string",
"limit": 0,
"denialReason": "BASKET_LIMIT"
}
}
{
"complianceData": {
"archiveId": "4858000025016093",
"trafficLight": "GREEN",
"recommendation": "All checks successful",
"limit": 100,
"denialReason": ""
},
"requestDateTime": "2021-02-08T17:43:19.027Z",
"responseCode": "0000",
"responseDescription": "Successful execution.",
"additionalInformation": {
"requestId": "aff2728481a181dc36daedc14055b516"
}
}
Bad Request
For error handling, please refer to this section.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- MOD1
- MOD2
Array [
]
errorDetails
object
message
object
oneOf
string
string
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "Value out of bounds. Value must be between 1 and 100",
"code": "value_out_of_bounds",
"property": "someField",
"context": {
"minimum": 1,
"maximum": 100
}
}
]
}
Unauthenticated
For error handling, please refer to this section.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- MOD1
- MOD2
Array [
]
errorDetails
object
message
object
oneOf
string
string
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "You are not authenticated to perform this request.",
"code": "unauthorized"
}
]
}
Forbidden
For error handling, please refer to this section.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- MOD1
- MOD2
Array [
]
errorDetails
object
message
object
oneOf
string
string
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "You do not have permissions to perform this request.",
"code": "forbidden"
}
]
}
Not Found
For error handling, please refer to this section.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- MOD1
- MOD2
Array [
]
errorDetails
object
message
object
oneOf
string
string
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "Resource not found.",
"code": "not_found"
}
]
}
Internal Server Error
For error handling, please refer to this section.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- MOD1
- MOD2
Array [
]
errorDetails
object
message
object
oneOf
string
string
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "Internal server error."
}
]
}