Pre-auth vs post-auth fraud checks in Hyperswitch: where should the fraud engine run?
Run fraud screening before authorization when a payment should never reach a processor if the engine already considers it risky, and run it after authorization when you need the processor's response, network data or 3DS result before deciding to capture. In a self-hosted Hyperswitch stack, the choice is less about one global setting and more about where each fraud engine sits relative to the connector call for each payment method. Pre-auth screening gives you the cleanest cost profile for obvious abuse, because blocked payments create no authorization attempt. The trade-off is that the engine sees less information, so it may decline legitimate customers who would have passed with the issuer's own signals.
Post-auth checks reverse that balance. The processor authorizes first, so the engine can use the authorization outcome, and your team can void or hold the capture if the score is high. You accept the cost of authorizations you later cancel, plus a window in which funds are held on the cardholder's account. Post-auth placement matters most for high-value or cross-border orders, for physical goods where capture can wait, and for businesses whose processor contracts price authorizations and reversals differently. Confirm how your processor and fraud engine handle these steps, including whether a voided authorization still counts against your authorization metrics.
Exact placement rules, including which fraud engine connectors can run pre-auth or post-auth and how each one interacts with 3DS and retries, must be confirmed against the current Hyperswitch documentation and your own connector configuration. Set placement per payment method and per connector in a test environment first, then trace a declined and an approved payment through the logs to confirm the engine ran where you expected. Ask your fraud vendor and processor to confirm the same behavior in writing, because a mismatch between the three systems is the most common source of unexpected declines or uncaptured orders.
Where pre-auth and post-auth checks sit in the payment flow
The flow starts at the checkout front end, which sends the payment request to the Hyperswitch Router. The router can call an external fraud engine before authorization (pre-auth), then selects a processor through its routing rules and receives the authorization result. A post-auth check runs after that result and can lead to capture, void or manual review. Check where the fraud connector is configured for each payment method and connector, and confirm which of these hand-offs your chosen engine supports.
Pre-auth and post-auth fraud calls around the Router, processor authorization and capture or void.
Configuration options and when each placement fits
This table compares pre-auth, post-auth and split fraud check placement on approval rate, processor cost on blocked attempts, latency, chargeback exposure and configuration scope. Read each row as a trade-off: no placement wins on every measure, so choose by which cost your business carries most heavily. The main takeaway is that the split option only pays off if you can configure it separately for each payment method and connector.
| Factor | Pre-auth check | Post-auth check | Split by segment |
|---|---|---|---|
| Approval rate effect | Declines suspect payments before a processor authorization, so good customers flagged in error never reach the issuer | Authorization happens first, so the issuer sees every attempt and approval rate is not reduced by the fraud engine | Depends on which segments are checked early; low-risk segments keep the approval rate of post-auth and high-risk ones gain the protection of pre-auth |
| Processor cost on blocked attempts | Low, since blocked payments never generate an authorization request | Higher, since each blocked attempt has already been sent to the processor and may carry an authorization fee | Lower than post-auth for the segments screened early, higher than pre-auth for the rest |
| Latency at checkout | Adds the fraud engine call to the time before the authorization response, so slow engine responses are felt by the shopper | Adds little before authorization, but a decision may come after the customer has seen a success page, which can require a reversal flow | Varies by segment; the screen that runs early carries the added latency for that segment only |
| Chargeback exposure | Lower exposure on the blocked payments, but approved payments depend on engine quality and may still be disputed | Higher exposure if the engine decides after capture, since fraud that was approved reaches settlement before review | Exposure falls for segments screened before authorization and stays close to post-auth for the rest |
| Configuration scope per payment method | Confirm in the docs whether the pre-auth or post-auth setting can be set per payment method | Confirm whether post-auth can be applied per payment method and whether it changes how captures are handled | Requires rules that route by payment method, amount or country, so the rule set grows with each segment |
| Configuration scope per connector | Confirm whether the fraud engine connector can be bound to individual processors or only to the whole profile | Confirm which processors accept a post-auth decision and how a later decline is communicated back | Requires consistent behavior across connectors that a split placement sends traffic through |
| Best fit | Card-not-present payments with high fraud rates and a low tolerance for fraudulent authorizations | Merchants with low fraud rates who want fewer declines and can review approved orders before shipment | Mixed portfolios where some methods or markets need early screening and others need a higher approval rate |
Approval and cost trade-offs that drive the decision
Running the fraud engine before authorization or after it changes who pays for blocked attempts, how many good customers get declined, and how much checkout waits. The cards below are the trade-offs to price and test before you choose an order for each payment method and connector.
False declines on good customers
A pre-auth check decides before the issuer sees the payment, so a strict score can stop a genuine customer with no chance to recover. Post-auth checks let the issuer weigh in first, which can lower false declines but gives you less control over what is approved. Ask your fraud vendor for false-positive rates on your own traffic, and measure decline reasons by payment method and connector after go-live.
Authorization fees on blocked attempts
In a post-auth design, a payment that the fraud engine later rejects has already been sent for authorization, and the processor may still charge for that request. Pre-auth checks avoid those requests but add a fee per fraud check. Confirm with each processor and fraud vendor how both kinds of charge are billed, and whether a voided authorization is billed.
Liability and chargeback exposure
Who carries a fraud loss depends on the order of checks and on whether 3DS ran. A post-auth approval that turns out fraudulent can still reach a chargeback, so the decision must be traced to the liability rules of each processor. Document which checks ran before each approval so disputes can be answered with evidence.
Latency added at checkout
A synchronous pre-auth call to a fraud engine adds time before the customer sees a result, and every extra hop in your own stack adds more. Post-auth checks can run asynchronously for some flows but may delay order release. Measure the added p95 latency in your staging environment under expected peak load before choosing.
Dependency on fraud engine availability
A pre-auth check that cannot reach its engine has to either block payments or pass them without screening. Decide the fail-open or fail-closed behavior per payment method and write it into the routing configuration. Ask the vendor for its availability commitments and incident history, and test the timeout path in your environment.
Effect on 3DS and routing decisions
The fraud verdict feeds into whether 3DS is requested and which processor receives the payment. A verdict that arrives after authorization may force a second attempt, which affects retries and auth rates. Map each fraud outcome to a 3DS request or routing rule before you tune thresholds, so changes to one do not silently shift the other.
How to configure fraud checks per payment method and connector
This sequence turns a pre-auth or post-auth fraud decision into configuration that is tested, documented and checked against real decision logs before live traffic depends on it. Each step names who does the work and the evidence that the step is complete.
Confirm fraud engine support in your version
Before any rule is written, confirm with your Hyperswitch version and your fraud engine vendor that the fraud connector and the checkout flow you want are supported together. Check the release notes for the version you run or plan to run, and check the compatibility matrix for the Control Center and client SDK versions, since these change between minor releases. Record the exact versions in your change ticket. The step is done when the platform owner can name the engine, its connector type, the Hyperswitch version and any required companion services, and the vendor has confirmed the flow in writing.
Map decision points for each payment method
Working with your fraud and payments leads, list every payment method and connector pair you accept, and decide for each one whether the fraud check runs before authorization, after authorization, or in both places. Pre-auth checks can stop a payment before the processor charges a fee, while post-auth checks see the authorization result and can support a capture or void decision. Note which methods, such as wallets or alternative methods, may not return the data your engine needs before authorization. The step is done when you have a signed decision table that lists method, connector, check point, action on a high-risk result and the team that owns exceptions.
Configure pre-auth and post-auth rules
In the Control Center, create the fraud connector entry, attach it to the relevant routing or payment flow, and write the conditions that map to your decision table. Keep the first rule set narrow, with a small number of actions such as approve, decline or hold for review, so that the effect of each rule can be traced. Set the post-auth action explicitly, including what happens to a capture when a rule fires. Use the platform's configuration history or export to record each change. The step is done when every rule in the decision table exists in the dashboard, has an owner and has a recorded version.
Test with sandbox and known-bad data
Run test payments in a sandbox or staging environment that uses the same connector configuration as production, including the fraud engine's test mode. Send transactions designed to trigger each rule, such as high-risk test cards, mismatched billing details, and amounts above your thresholds, and confirm that the expected branch fires for each payment method. Use only test data supplied by your fraud vendor or your own synthetic cases, and label them clearly in the test log. The step is done when each rule has at least one passing test case, every failing case has a recorded fix or an accepted exception, and the test log is stored with the change ticket.
Verify decision logs and captures
Confirm that each test payment produces a decision record that shows the check point, the engine's result, the action taken and the final payment status. Check that a post-auth hold or decline results in the expected capture, void or refund behavior at the connector, and that no payment is captured after a decline. Reconcile test outcomes against the connector's dashboard, since the authorization and capture states there are the source your finance team will use. The step is done when a sample of decision logs matches the decision table and the connector shows the expected state for every test case.
Approve go-live and set monitoring
Before production traffic is enabled, hold a go-live review with payments, fraud, security and compliance owners. Walk through the decision table, the test evidence and the decision logs, and confirm who receives alerts on rule changes, unusual decline rates and failed fraud engine calls. Agree how rules will be changed later and who approves those changes. Enable the flow for a limited set of payment methods first if your operating model allows it. The step is done when the review record is signed, monitoring alerts are tested, and a named owner can disable a rule quickly if it causes unexpected declines.
Configuring checks per payment method and connector
Fraud check placement rarely works the same way for every payment method, so configure it per method and per connector instead of setting one policy for the whole checkout. A pre-authorization check that suits card payments may add friction to a wallet flow that already carries the wallet provider's own authentication, and an alternative payment method may not return an authorization result to score at all. Start by listing each payment method you accept, the connectors that process it, and whether the fraud engine you use supports that method and that point in the flow. Confirm those answers with your fraud engine vendor and each processor, because support for pre- and post-authorization calls varies by integration and is not something this page can state for every combination.
Routing adds a second dimension. If Hyperswitch sends the same customer through different processors based on rules, auth rate or cost, the same check can run on one path and be skipped on another, which changes both your fraud exposure and the liability you carry. A customer who is scored before authorization on one connector may reach a second connector that never received the score. Review your routing configuration alongside your fraud rules so that each route the router can select has a defined check, and treat the default fallback route as a path that must be covered too, since it applies when no other rule matches.
Test every combination of payment method, connector and check placement that the business intends to accept, using sandbox credentials and a representative set of approved, declined and flagged transactions. Record the decision, the processor response and the routing path for each case, then compare approval rates and chargeback exposure against your baseline before going live. Repeat the tests after each Hyperswitch upgrade or connector change, because routing and check behavior can shift with configuration changes that look minor. Where a combination cannot be tested, document it as an accepted risk with a named owner.
Security and operational considerations for fraud check placement
Where the fraud engine sits in the flow decides which card data it sees, which credentials it needs, and what happens when it is slow or down. The cards below cover the controls to settle before choosing pre-auth or post-auth checks, and the checks to run once the setup is live.
Card and customer data sent to the engine
A pre-auth check usually sends the full payer profile, device data and often the card number or a token to an external fraud service before authorization. Post-auth checks send less, but may still pass billing details and transaction history. Confirm with each fraud vendor whether it receives raw PAN, a token or only hashed identifiers, and whether that flow brings the vendor into your PCI DSS scope. Map the data fields against your data minimization rules before go-live.
Credential storage for connectors
Each fraud engine connector needs API keys or signing secrets stored by Hyperswitch. Keep these out of configuration files and source control, and confirm how the Hyperswitch deployment encrypts connector credentials at rest and who can read them. Rotate keys on a fixed schedule and after staff changes, and check that a rotated key is picked up by both the router and any scheduler services without a restart gap.
Audit logging of fraud decisions
Record every fraud score, the rule or threshold that produced the decision, and whether the payment was declined, held or approved. Post-auth checks create a second decision point after authorization, so logs must tie the fraud result to the original payment and any capture or void. Confirm that these records are retained long enough for chargeback disputes and that they can be exported for your internal audit team.
Failover when the engine is unavailable
Decide in advance whether a payment proceeds, is declined or is queued when the fraud engine times out. Pre-auth checks add the engine's latency and failure modes directly to checkout, so a fail-open policy protects conversion but accepts more risk, while fail-closed protects against fraud but blocks good customers. Test both paths with the engine disabled, and confirm the timeout values in your routing configuration.
Access control in the Control Center
Fraud rules and thresholds change how money moves, so limit who can edit them. Control Center roles are managed in Hyperswitch rather than mapped from your identity provider, and users must be invited before they can sign in. Separate the people who write fraud rules from those who review decisions, and review the membership list on a regular schedule. Confirm that every rule change is attributable to a named user.
SSO setup docsQuestions teams ask before configuring fraud checks in Hyperswitch
What drives the cost of setting up pre-auth or post-auth fraud checks?
The cost depends mostly on how many fraud touchpoints you wire in, how many processors and payment methods each check must cover, and how much custom policy logic sits between the fraud engine and the authorization call. Pre-auth checks add a decision step before every authorization, so the work includes routing logic, fallback behavior when the engine is unavailable, and testing across each payment method. Post-auth checks add work around capture, void and refund decisions and the handling of held orders. Ask any quote to separate one-time build work from recurring costs such as engine subscriptions, processor fees for extra calls, and ongoing rule tuning.
How long does configuring and testing fraud checks usually take?
Duration follows the work involved rather than a fixed number, so it is better to ask for a timeline tied to a written scope. The main factors are the number of processors and payment methods in scope, whether the fraud engine is already integrated, how many decision rules must be written and approved, and how much test traffic you can replay in a sandbox. Pre-auth flows usually need more end-to-end testing because declines and friction are visible to customers. Confirm the test plan, including declined, approved and review outcomes for each connector, before accepting any schedule.
What must our team provide before fraud check work starts?
Three inputs gate most of the work. First, historical fraud and chargeback data, labeled by payment method, connector and outcome, so rules can be tested against real patterns. Second, processor and fraud engine credentials, with sandbox access for each connector in scope. Third, named policy owners who can approve what gets declined, sent to review or allowed without challenge. Without the third item, rules stall because engineers end up deciding risk tolerance. Also confirm who owns the decision manager settings in the Control Center and who approves changes after go-live.
Can our internal engineers configure pre-auth and post-auth checks on their own?
Yes, if your team already runs Hyperswitch in production and has someone who understands payment flows, connector behavior and fraud operations. Internal teams usually manage configuration through the Control Center and their own deployment pipeline. The harder part is judgment: deciding thresholds, explaining decline reasons to customers and proving to auditors that controls work as designed. Check whether your team has capacity for the test cycles and whether it can keep rules current as attack patterns change. A small pilot on one payment method is a practical way to find gaps before scaling.
When does bringing in a partner make sense for fraud check configuration?
A partner is most useful when the work spans several connectors, an external fraud engine, and a requirement for documented evidence that controls were tested. It is also useful when your internal team lacks recent Hyperswitch upgrade experience, since configuration can change between releases. DeployOpen plans, implements, integrates, hardens and documents self-hosted platforms in your own infrastructure, and runs security testing that can check fraud control logic. It does not issue audit reports or certifications, so independent assessors still review compliance. Most engagements are fixed-scope, with scope and deliverables agreed in writing before work starts.
How do fraud engine fees and processor fees differ?
Fraud engine fees are charged by the fraud vendor, typically for screening calls or decisions, and may be billed per transaction, per tier or as a subscription. Processor fees are charged by the acquirer or payment processor for authorization, and some processors add charges for 3DS, token or additional API calls. A pre-auth check often adds a fraud call before every authorization, so both fee types can rise with volume. A post-auth check may reduce fraud-engine calls on clean orders but can increase captured-then-refunded volume and related processor costs. Ask each vendor for a fee schedule and model both on your own volumes.
What breaks most often in fraud check flows, and what should we verify?
The most common failures are timeouts from the fraud engine that either block good payments or let risky ones through, rules that conflict across payment methods, and missing decision reasons that make support teams unable to answer customers. Verify the fallback behavior when the engine does not respond, the ordering of checks against 3DS and routing decisions, and the webhook handling for held or reviewed payments. Test with known bad and known good cards for each connector, and log every decision with its reason so you can tune rules later. Confirm these behaviors in your own environment and sandbox before go-live.
How DeployOpen scopes and delivers fraud check configuration
DeployOpen scopes fraud check configuration as a fixed-scope engagement, with the scope, deliverables and timeline agreed in writing before work starts. The written requirements should name each payment method and connector that will run through Hyperswitch, the fraud engine (or the decision to use none), the people who own the policy, and the test plan that will prove the rules behave as intended. The policy owners matter most. Someone in risk or payments must sign off on where the check sits for each payment method, because pre-auth and post-auth placement changes approval rates, chargeback exposure and customer friction. Before quoting, DeployOpen works through the connector list with you, confirms which processors support the fraud engine you intend to use, and records any dependency on the Control Center or external services that the configuration needs.
Delivery follows the written scope. DeployOpen configures the decision logic in the environment you control, sets up the per-payment-method and per-connector settings, and checks that the fraud engine receives the fields it needs for each flow. Verification uses the test plan from the scoping stage: sandbox transactions for approve, decline and review outcomes, checks that the connector receives or skips the fraud call as designed, and a review of how declines and holds appear in reporting. Deliverables typically include the written policy mapping, the configuration record and the test evidence. Your team should confirm the environment it wants for testing and who can approve a change to a live rule before the first production transaction.
Ongoing support is available as a retainer. Fraud rules drift as fraud patterns, processors and payment methods change, so a retainer can cover rule reviews, configuration changes after Hyperswitch releases, and retesting after connector changes. Ask any provider to state in the quote what the retainer covers, how change requests are handled and who on your side approves them. DeployOpen does not issue audit reports or certifications for this work, so if your fraud controls must be evidenced to an assessor, confirm with that assessor which records they will accept.

