Fraud Integration
Overview
The Risk Assessment API receives environmental data about an order from the client. The API evaluates the data for fraudulent activity (either systematically or manually by the Radial fraud team) and sends the results to the client via a Webhooks HTTP(S) endpoint or an Advanced Message Queuing Protocol (AMQP) queue. A response code in the response message represents the action the client order management system (OMS) should take on the order (for example, cancel the order or approve the order and ship the products).
For processing asynchronous messages, Radial supports two flavors of integration: an AMQPS-based integration that uses the pull strategy and an HTTPS-based integration that uses the push strategy. Depending on the needs of your integration, you can choose to use either the push or the pull strategy. The push integration is an event callback (Webhooks) framework that notifies clients when event messages are produced in Radial's internal systems.
Each store implementation can use only one of these integration strategies, push or pull, but not both.
Life Cycle Flow
The following diagram summarizes the integration points for the Risk Assessment API:
- The customer submits the final order on the webstore.
- The Radial Device Fingerprint Javascript function collects environmental details about the customer's session.
- The Device Fingerprint data is sent from the customer's browser to the webstore server.
- The webstore server sends the order details and the Device Fingerprint data to the OMS.
- The OMS sends a RiskAssessmentRequest to the Risk Assessment API endpoint. The request message includes the Device Fingerprint data and other order details.
-
The OMS receives a AckReply and the synchronous flow ends here.
-
The Risk Assessment API evaluates the order for fraud and pushes a RiskAssessmentReply message to the Webhooks endpoint that the client/partner has setup earlier during launch configuration.
-
Alternately, OMS can choose to pull the message from AMQP. In that scenario, Risk Assessment API evaluates the order for fraud and places a RiskAssessmentReply message on an AMQP queue.
-
The OMS retrieves the message, processes/persists the message, and sends an acknowledgment to either AMQP Broker or Webhooks endpoint with HTTP status of 200.
More Information
- Risk Assessment API
- Risk Order Confirmation API
- Risk Order Status API
- Risk Order Response Resend API
- Batch Processing for Radial Fraud Zero
- Fraud API Schemas
- Radial Device Fingerprint
- For more information about AMQP, see Asynchronous API Operations through AMQP
- For more information about Webhooks, see Asynchronous API Operations through Webhooks