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
- Example
Bodyrequired
- 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 objectrequired
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
{
"merchantAccno": "000000005",
"accnoType": "00",
"merchantProgramCode": "COMPANY123",
"customerId": "100001073541",
"companyName": "Meier FS AG",
"addressLine1": "Anystreet",
"number": "321",
"postCode": "12345",
"city": "Anycity",
"countryCode": "DE",
"emailAddress": "user@example.com",
"orderData": {
"orderItems": [
{
"articleNumber": "4M0.054.816A 05A",
"name": "Connected Infotainment services 3 Months",
"group": "Infotainment",
"price": 50,
"amount": 1,
"totalPrice": 50,
"itemType": "SUBSCRIPTION"
}
],
"orderValue": 50,
"channel": "In-Car App"
},
"VIN": "123456",
"paymentOptionCode": "VISA",
"requestDateTime": "2021-02-08T17:43:19.027Z"
}
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Successful response with compliance data.
- application/json
- Schema
- Example (auto)
- 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
Risk assessment result:
Possible values: [GREEN, YELLOW, RED]
A recommendation based on the risk check result and the reason for denial.
Limit associated with the risk check
Reason for denial if applicable:
Possible values: [BASKET_LIMIT, CUSTOMER_LIMIT, BLACKLIST, VELOCITY]
{
"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 (auto)
- Example
Schema
- string
- string[]
errorDetails object
message object
{
"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 (auto)
- Example
Schema
- string
- string[]
errorDetails object
message object
{
"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 (auto)
- Example
Schema
- string
- string[]
errorDetails object
message object
{
"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 (auto)
- Example
Schema
- string
- string[]
errorDetails object
message object
{
"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 (auto)
- Example
Schema
- string
- string[]
errorDetails object
message object
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "Internal server error."
}
]
}