Activating FRM in Hyperswitch
You can enable the FRM solution of your choice with few clicks and very minimal code changes. Below are the two scenarios for activating FRM within Hyperswitch.
Prerequisites
Before activation, ensure the following:
Payment Method Information: Required for configuration.
FRM Solution Signup: Obtain API keys from your selected FRM provider.
Pre-Authorization Flow
The Pre-Auth flow is executed before payment authorization. When a customer initiates a payment, transaction details are analyzed by the FRM solution to assess risk using parameters like historical behavior, location, transaction patterns, and device data.
Goal: Prevent fraudulent transactions before authorization.
Steps:
Transaction details are sent to the FRM solution for analysis.
Based on the risk score or recommendation, actions are taken:
Continue on Accept: Proceed with the transaction.
Halt on Decline: Mark the transaction as cancelled.
Post-Authorization Flow
The Post-Auth flow occurs after payment authorization by the processor. It serves as a second validation layer, analyzing the transaction using updated and historical data to detect potential fraud.
Goal: Act as a safety net for suspicious transactions.
Steps:
Post-authorization details are sent to the FRM solution.
Transactions flagged as fraudulent are queued for manual review.
Merchants review and decide whether to:
Continue on Accept: Continue with the transaction.
Halt on Decline: Mark the transaction as cancelled.
Approve/Decline on Review:
Hold the transaction in manual review state. Merchants can list and review such transactions.
If approved: Capture the payment.
If declined: Void the payment.
If the connector doesn’t support manual capture, Post-Authorization manual review should be avoided during configuration setup for the respective connector.
FRM status and decisions
FRM connectors generally provide a decision based on rules or data models along with a risk score associated with the transaction. Some integrations require providing the model to be used explicitly. For example, Signifyd can be configured to respond with only scores or decision + scores, etc.
Fraud detection can be done via the below methods:
Rules: Uses a static set of rules for deciding on the outcome.
Scores: Uses a range of numbers for associating risk with the transaction.
Decisions/Recommendations: Uses ML data models for predicting and recommending the outcome.
Chargeback Guarantee: Uses ML data models for responding with a binary outcome (Accept vs Decline).
Currently, Hyperswitch offers only a single way of integrating with the underlying FRM connector:
Signifyd: Decision/Recommendation.
Riskified: Chargeback guarantee.
How to Get Started with Hyperswitch FRM Integration
Navigate to the 'Fraud & Risk' Tab
Select the Fraud and Risk Management (FRM) processor you want to integrate.
Configure Payment Methods and Actions
Set up the payment methods and define preferred actions for each enabled payment method.
Provide API Credentials
Enter the API credentials for the selected FRM processor.
Integrate and Test
Access the API Documentation to integrate the FRM API.
Start testing payments with fraud checks to ensure the setup works as expected.
Last updated