How the integration works
Every transaction follows the same three-step pattern: score → decide → act. Before you authorize a payment with your processor, you send the transaction data to FraudEG. FraudEG evaluates device signals, behavioral data, velocity patterns, and identity intelligence, then returns adecision of allow, challenge, or block. Your application branches on that decision before touching your payment processor — this keeps fraudulent charges from ever reaching authorization.
Supported payment rails
FraudEG supports risk scoring across all major payment surfaces:- Credit and debit cards — card-present and card-not-present
- Digital wallets — Apple Pay, Google Pay, Samsung Pay
- ACH and wire transfers — bank-to-bank payment flows
- QR payments — merchant-presented and customer-presented codes
- Cryptocurrency — on-chain and custodial crypto payments
Integration guide
1
Initialize a device session on your checkout page
Add the FraudEG JavaScript snippet to your checkout page as early as possible. This captures device fingerprint, browser signals, and behavioral data before the user submits the form.Store the returned
session_id — you will include it in the scoring request.2
Collect transaction data at form submission
When the user submits the checkout form, gather the fields required for scoring: payment method details, the authenticated user’s profile, and the merchant context. Avoid passing full card numbers — use the BIN (first six digits) and last four digits only.
3
Call POST /v1/transactions/score before processing payment
Send the transaction payload to FraudEG before calling your payment processor. FraudEG evaluates the request synchronously and returns a decision, typically in under 100 ms.Request body fields:
Example response:
4
Branch on the decision field
Read
result.decision and route the transaction accordingly:allow— the transaction appears legitimate. Proceed directly to your payment processor to authorize the charge.challenge— the transaction shows moderate risk signals. Trigger a step-up authentication flow such as 3D Secure (3DS) or a one-time passcode (OTP) before proceeding. Passing 3DS shifts liability to the card issuer if a chargeback occurs.block— the transaction is high risk. Decline immediately and return an appropriate error to the user. Do not send the charge to your payment processor.
5
Log the transaction_id for dispute reference
Store the
transaction_id returned in the scoring response alongside your internal order record. If a chargeback or dispute arises, this ID links directly to the immutable fraud evidence record FraudEG retained at the time of the transaction.Detecting card testing attacks
Card testing attacks involve an attacker submitting large volumes of small-value or zero-value charges to identify live card numbers before monetizing them elsewhere. FraudEG surfaces these patterns through thevelocity_burst signal in the signals array.
When you see velocity_burst in a scoring response, treat it as a strong indicator that the card or device is involved in automated abuse. Consider automatically escalating challenge decisions to block for any transaction carrying this signal, and applying temporary rate limits at the IP or device level.