How a Hyperswitch fraud blocklist stops known bad cards before authorization
A blocklist in the orchestration layer refuses a payment attempt before Hyperswitch sends it to a processor, so a known bad card, BIN range or card category never produces an authorization request. A self-hosted team needs one when fraud repeats in recognizable patterns: the same card numbers returning, a run of cards sharing a BIN range, or a category such as prepaid cards that keeps producing chargebacks. The benefit is mostly economic and operational, since every blocked attempt avoids a processor fee, a decline record and a possible dispute, and it keeps the stopped traffic out of your processor relationships.
The Hyperswitch documentation supplied for this page does not confirm a dedicated BIN or card-type blocklist feature. Do not assume one exists in your version. Before you plan around it, confirm with Juspay or in the current docs and the release notes for your target version whether Hyperswitch can match on card number, BIN or card type at the point of payment, which entities it can block (card, customer, IP or payment method), and where the block decision is logged. If the native capability is missing or narrower than you need, the workable alternatives are a pre-authorization check in your own service in front of the Hyperswitch API, or an external fraud engine connected as a connector. Each alternative needs its own review of how card data is handled, since a check that reads card numbers adds to your PCI DSS scope unless it works only on tokens or BINs.
Where a blocklist check sits in the Hyperswitch payment request flow
The flow starts at the checkout SDK or merchant backend, which sends the payment request to the Hyperswitch Router. Card data passes to the card vault inside the trust boundary, which returns a token. The blocklist decision is the step your team must confirm for its environment: whether it reads the BIN before or after vaulting, and whether it runs before any fraud or 3DS step. A listed card or card type is declined at that point and never reaches a processor. Clear requests continue to the optional fraud or 3DS step, then routing and the processor.
Request path showing where the blocklist decision sits relative to the vault and processor.
Blocklist types and when each one fits
This table compares four ways to build a blocklist: exact card tokens or fingerprints, BIN ranges, card types or categories, and lists sourced from a fraud engine or processor. Read each row for precision, false-decline risk and upkeep, then match the type to the fraud pattern you are seeing. Confirm the exact entry formats and matching behavior for your Hyperswitch version before relying on any of them.
| Blocklist type | Precision and false-decline risk | Maintenance effort | Typical use case |
|---|---|---|---|
| Exact card token or fingerprint | Highest precision. Blocks one specific card, so false declines are rare, but a stolen card used once with a new number is missed. | Low volume to maintain, but entries grow fast during an attack and need expiry rules. | Repeat use of the same stolen card or a card already linked to chargebacks. |
| BIN range | Broad. Blocks every card whose first digits fall in the range, so legitimate cardholders from that issuer can be declined. | Moderate. Ranges must be reviewed against issuer changes and kept as narrow as the evidence allows. | Attacks that cycle through many numbers from one issuer or prefix block. |
| Card type or category | Coarsest. Blocks whole classes such as prepaid or a card brand, which can decline many good customers. | Low upkeep, but the category must be confirmed in the data Hyperswitch receives for each card. | Policies that exclude a product class, such as prepaid cards for a specific offer. |
| External fraud engine or processor list | Depends on the source's scoring and its matching logic, so precision varies and must be tested on your traffic. | Lower internal effort, but you depend on the vendor's update cadence and must reconcile conflicts. | Teams that already run a fraud engine or processor-side lists and want one source of decisions. |
What to confirm about native blocklist support before you design around it
Before you design a card, BIN or card-type blocklist on Hyperswitch, confirm whether the platform offers one natively and how it behaves. The researched facts describe the Rust core app server (routing, retries, vaulting and observability), the card vault, the six routing strategies and the Control Center dashboard. They do not establish how a blocklist is configured, where its entries are stored, whether matching happens before a request reaches a processor, or whether card types and BIN ranges can be expressed at all. Treat those questions as open until a vendor source answers them.
Start with the current Hyperswitch docs and the Control Center for any feature described as blocking, blocklisting or detection. Note the exact name of each feature, the object it acts on (full PAN, BIN prefix, card network, country or card type), the scope (merchant, profile or connector), and whether a match returns a decline before the processor call or only flags the payment. Ask the Hyperswitch maintainers, or your own engineers if they have already tested the platform, to confirm the entry format, how BIN ranges are matched, how the list is updated through the API or dashboard, and whether changes take effect immediately or after a cache refresh.
Do not build a process on the feature until a sandbox test confirms its behavior. Create test entries for a full card number, a six-digit BIN, a card type and a non-matching card, then check the request logs, the decline reason and the stored state for each case. Record the Hyperswitch release you tested against, because the platform ships minor releases regularly and matching behavior can change between them. If the native feature does not cover your rules, the fallback is an external decision point such as a fraud engine or a service you operate, and that choice needs its own scope, owner and data-handling review.
Where false declines come from and how to limit them
A blocklist that matches on BIN or card type can refuse customers who did nothing wrong. The causes below are different failure modes, and each one needs its own control, so review them together before you publish the first entry.
Shared BINs across issuers
A BIN identifies the issuing bank and product family, but a single range can span cards from many issuers and programs. Blocking a BIN because one card from it was abused can refuse legitimate cardholders who share that range. Limit the damage by keeping entries as narrow as the evidence allows, and check whether a block is applied to the full BIN or to a longer prefix before you save it. Confirm with your processor how it reports the BIN fields it returns.
Prepaid and corporate card categories
Prepaid, corporate and commercial cards are common in legitimate purchasing, gift and travel use, so a card-type rule can hit high volumes of good customers at once. Before you block a category, measure how many of your approved payments use it and in which regions. A safer pattern is to route these cards to a 3DS step or a review queue instead of declining them outright. Confirm which card-type fields your processors return.
Stale entries from old fraud waves
Entries added during one attack can outlive the card batches they were meant to stop. Cards are reissued, ranges are reassigned and fraud rings move on, so an old entry can keep declining customers long after the threat has gone. Set an expiry date on every entry, record who added it and why, and schedule a review before it lapses. Entries without an owner or expiry should not reach production.
Over-broad BIN ranges
Ranges entered as wide intervals, or typed with a missing digit, can match far more cards than intended. Validate each entry against a known-good test set and count how many live payments it would have matched during a dry run before enabling it. Keep a change log for range edits, since a single mistyped range can decline a whole issuer's cards. Confirm whether your blocklist supports exact prefixes and how it handles overlapping entries.
Shared cards used by several people
Family members, employees on a company card and cardholders who share a card with a partner can trigger a block tied to one account or device pattern, even though the card itself is valid. Blocking by card number is the most direct control, but it can still hit the same person on a new device. Where a match is borderline, send the payment to a 3DS challenge so the real cardholder can confirm it, and route unclear cases to a review queue instead of a hard decline.
How to set up and test a blocklist in your environment
This sequence takes a blocklist from a confirmed capability in your Hyperswitch version to a tested, monitored control that blocks entries before any request reaches a processor. Each step ends with a check you can record, so the blocklist can be reviewed later with evidence.
Confirm the blocklist capability in your version
Before designing anything, the platform or security lead checks the Hyperswitch release you run against the Hyperswitch docs and the release notes on the GitHub releases page, and confirms which blocklist entry types (card, BIN range, card type or other) your version supports and where they are configured in the Control Center. Ask the vendor or DeployOpen to confirm any type you plan to rely on, because the supported list can change between releases. The step is done when the team has a written list of supported entry types for the exact version in production, with the release tag and the documentation page it came from.
Define entry types and named owners
The fraud operations lead and the payments engineering lead agree which entry types the blocklist will hold, such as individual card references, BIN ranges and card categories, and who may add, change or remove each type. Each entry needs a reason code, a source (for example, a chargeback or confirmed fraud case), an owner and a review date. The output is a short written policy that names these roles and states what evidence is required before an entry is added. Without this, the list grows with no way to explain a later block to a customer or an auditor.
Load a seed list from confirmed cases
The fraud team exports confirmed fraud cases from its case system and selects only entries that meet the evidence rule from the previous step. Entries are loaded into the staging stack first, using the method your version supports, and each load is recorded in a change log with the date, the person who approved it and the count loaded. The check is a reconciliation: the number of entries in the staging blocklist matches the approved export, with no duplicates and no card data copied into tickets or chat.
Test with known test cards in staging
The QA or platform engineer builds a test matrix in a sandbox or staging stack. It covers each blocked entry type, each unblocked card type, and a card whose BIN is near a blocked range to confirm the match logic is exact. Test cards come from the processor or Hyperswitch test data, not live cards. The check is a recorded result for every row: the expected decline or pass, the actual response, and the reason code returned. Any mismatch goes back to the entry definition before go-live.
Verify blocked requests never reach a processor
The platform engineer confirms that a blocked request stops inside Hyperswitch. Use the router logs and the payment attempt records for test transactions: a blocked payment should show a block decision with no outbound request to the connector. If the processor sandbox also records a request for the same test card, the blocklist is running after routing and must be moved or reconfigured. Record the request IDs and the absence of connector calls as evidence. This is the step where most cost savings and processor-side fraud reduction depend on being real, so it should be repeated after every upgrade.
Monitor decline reasons in production
After go-live, the fraud operations team reviews payment outcomes by decline reason and by entry type each week or on the cadence the owner sets. The team looks for blocks on cards that later succeeded through other channels, spikes in blocks from one BIN range or country, and any block that a customer disputed. The check is a dashboard or export that shows block counts by reason code, with each unusual pattern tied to an investigation ticket. Customer support should have a documented path to review a false block without exposing card data.
Set a review cadence and retire entries
The fraud and payments leads set a recurring review of the full list. Each entry is confirmed, updated or removed based on its evidence, its last block date and any false positive found in monitoring. Removed entries are logged with the reason. The output is a signed review record for each cycle, and the review is repeated after each Hyperswitch upgrade to confirm that the blocklist still behaves as tested. Confirm the cadence with your risk policy before setting it, since no review interval is specified by the platform.
Who maintains the list under each vault model
In the self-hosted, in-house PCI model, card data is stored in the Hyperswitch card vault (locker), which your team runs inside infrastructure you control. Because the vault sits in your environment, the blocklist can be built against card data or against values derived from it, but only if your architecture exposes those values to the blocklist check. The Hyperswitch docs state that the merchant is fully responsible for PCI DSS certification and data handling in this model, so anyone who writes, reads or exports blocklist entries that contain PAN is working inside your cardholder data scope.
- Who maintains the list: your team owns the list, its storage, its review process and its access controls, and the same team owns the vault that holds the PAN.
- What it can match: full PAN, BIN ranges and card type attributes, provided your check runs after the card is captured and the values are available to the rule engine.
- PCI DSS scope: the blocklist store, its admin users, backups and exports all become in-scope systems, so keep entries as hashes or tokens where the design allows.
- Change control: entries added by analysts should go through the same approval and audit logging you apply to vault key and access changes.
- Confirm before writing entries: whether your Hyperswitch version can apply blocklist checks to a stored card reference, whether the check happens before or after vault storage, and whether a fingerprint is generated per merchant.
Before writing any entry, confirm with your assessor which systems count as in scope once blocklist data is added to the vault boundary.
In the self-hosted orchestration model with an external PCI vault provider such as VGS or Tokenex, PAN is captured and stored by the vault provider, and Hyperswitch orchestrates payments using tokens. Your orchestration layer normally sees only the token and whatever metadata the provider releases to it. That shapes the blocklist directly: a list built on full PAN cannot be matched in your stack unless you deliberately receive card data, which would bring you back into PCI DSS scope. The PCI responsibility for storing and protecting PAN sits with the external provider under its own attestation, while your team remains responsible for how it handles tokens, metadata and the blocklist itself.
- Who maintains the list: your team maintains the list and the matching logic, and the provider maintains the PAN store and the token service.
- What it can match: tokens are generally one-way per vault, so the list usually needs to be keyed on values the provider will release, such as BIN or card type, if those are passed through.
- Token stability: confirm whether the provider issues the same token for the same card across merchants or environments. If tokens differ by merchant, a card-level blocklist will not catch the same card across merchants.
- Data you may not receive: confirm exactly which card attributes the provider passes to Hyperswitch, since BIN and card type are not always released.
- Contract boundary: write down which party is responsible for blocklist entries containing BIN data and whether that data counts as cardholder data under your agreement.
Before writing entries, get the provider's written statement on token determinism and released attributes, and confirm the blocklist does not pull PAN back into your environment.
In the self-hosted orchestration model with the SaaS Hyperswitch Vault, your team runs the orchestration layer while card storage is handled by the hosted vault service. The vault boundary sits with the service provider, so your PCI DSS scope depends on how the hosted vault is attested and how your orchestration layer handles tokens and payment data. Whether the blocklist can see card data at all is set by the service design, not by your deployment, so confirm this with the vendor before drafting any list logic. Do not assume full PAN is available for matching, and do not assume tokens will be stable across your environments.
- Who maintains the list: your team maintains blocklist entries and the decision logic in your self-hosted layer, while the hosted vault handles PAN storage.
- What it can match: confirm whether matching happens on tokens, fingerprints, BIN values or only on data your orchestration layer receives.
- Fingerprint behavior: ask whether the service generates a card fingerprint, whether that fingerprint is stable across merchants and environments, and whether it is salted per merchant.
- Responsibility split: request the service provider's responsibility matrix for PCI DSS, including who handles key management and access logging for vault data.
- Operational dependency: if the hosted service is unavailable, confirm how blocklist checks behave, whether requests fail closed or open, and who decides.
Before writing entries, confirm in writing which identifiers the SaaS vault exposes to your layer and whether those identifiers stay stable for the life of the blocklist.
Security and operational controls for the blocklist
A blocklist is a sensitive control in its own right: it holds card-related data, it can stop revenue if misused, and it changes how fraud analysts and payment operators work. The cards below cover the access, logging, data handling, duty separation and rollback controls to design before the list goes live.
Access control over list changes
Decide who can add or remove blocklist entries before anyone can. Limit write access to a named group, require a second person to approve bulk additions, and keep read access separate from write access. In a Hyperswitch deployment, confirm how the Control Center roles and any API keys used for list management are scoped, since the SSO documentation says roles are managed in Hyperswitch rather than mapped from your identity provider. Check this against your own environment before go-live.
Audit logging of list changes
Every addition, removal and edit should record who made it, when, what changed, and the reason given. Logs should live outside the system that makes the change so an operator cannot quietly alter their own trail. Ask how Hyperswitch and your fraud or blocklist tooling record these events, where those logs are stored, and how long they are retained, then compare that answer with your audit requirements.
Raw card data in list files and tickets
Blocklists often leak card data through side channels. Spreadsheets exported for review, CSV files attached to tickets, chat threads and analyst notes can all hold full primary account numbers. Store only the values the control needs, such as tokens, hashes or BIN ranges where the design allows, and restrict where raw numbers may be pasted. Treat any file that contains card numbers as cardholder data in your PCI DSS scope analysis.
Separation of analyst and operator duties
Fraud analysts decide what should be blocked, and payment operators keep authorization flowing. When one person does both, a mistaken or abusive entry can go unchallenged. Assign analysts the authority to propose and review entries, give operators the authority to apply approved changes and monitor decline rates, and record the handoff. Confirm that your role model enforces this split rather than relying on team habit.
Rollback when an entry blocks volume
A single overly broad BIN range or card type rule can decline a large share of good customers within minutes. Plan a tested way to disable or revert an entry quickly, and agree who has authority to do it at night or on weekends. Keep a versioned copy of the previous list so the team can restore it, and set decline-rate alerts so the rollback starts from a signal rather than from customer complaints.
Questions teams ask before they outsource blocklist work
What drives the cost of a fraud blocklist project?
The main cost driver is how many decisions the blocklist has to make and how many systems it must touch. A list that only blocks a short set of known bad card numbers is a small piece of work. A design that covers BIN ranges, card categories, per-merchant lists, and the logic that keeps good customers from being blocked takes longer. Other drivers include the number of processors and connectors the block must run across, whether the lists are imported from an existing fraud or chargeback feed, and how much testing against historical traffic is needed. Ask any provider for a written quote that lists each block type, each system it touches, who maintains the lists afterward, and whether the testing data comes from your own transaction history. Most of the cost is one-time build work, while list maintenance and review recur.
How long does a blocklist project take?
Duration depends on scope, not on the list itself. A narrow project that adds a short list of card numbers and one BIN rule to a single Hyperswitch deployment is far quicker than a project that adds card-type rules, per-merchant lists, a review workflow and reporting across several processors. Timing also depends on how quickly your fraud and payments teams can confirm which decisions they want, how much historical data they can share, and how long change approval takes in your environment. No duration is given here. Ask for a schedule tied to named milestones in the written scope, and confirm which parts depend on your internal reviews or change windows.
What does the work need from our fraud and payments teams?
The work needs decisions and data that only your teams can provide. Fraud operations should define which signals justify a block, who approves additions and removals, and how long a block should last. Payments engineers should confirm which processors, routes and payment methods the block must apply to, and where in the flow the check runs. Both teams should agree on what a customer sees when a payment is declined and how support handles a false positive. Expect to share anonymized or access-controlled transaction and chargeback history, since that is the basis for testing. Ask the provider to list these inputs in the scope so gaps surface before build starts.
Can an internal team build and run a blocklist alone?
Yes, a capable internal team can build and run a blocklist, especially if it already operates Hyperswitch and has someone who understands card data handling. The questions to settle are whether the team has capacity for the initial build, how it will test rules against live-like traffic, and who owns list maintenance after go-live. Many organizations find the ongoing review queue and false-positive handling are the parts that stall. An outside partner can take the build and documentation, and you can keep list operations in-house. Whichever route you choose, confirm who holds the keys to change blocks in production and how changes are recorded.
Can a blocklist replace a fraud engine?
No. A blocklist matches known bad inputs, such as specific card numbers, BIN ranges or card categories. It cannot score a new transaction for risk based on device, velocity, behavior or account history, which is the job of a fraud engine or a 3DS decision flow. Blocklists are effective for stopping known repeat abuse quickly and cheaply, but they lag behind new attack patterns. Most setups use a blocklist as one layer alongside detection rules and an external fraud engine. Ask any provider to explain how the blocklist sits next to your existing fraud controls and which fraud decisions remain with your engine.
How do we avoid blocking good customers?
Avoiding false positives takes deliberate design. Broad BIN ranges can cover many legitimate issuers, so block rules should start narrow and widen only with evidence. Card-type blocks, such as a category of prepaid cards, can hit large groups of genuine customers, so they need a measured review period. Each block should have an owner, a reason code, an expiry or review date, and a way to release it. Test every proposed rule against historical approved transactions to measure how many good payments it would stop. Confirm with your fraud team how false positives are reported and reversed, and set a review cadence for the list.
What should a written quote for blocklist work include?
A useful quote lists the block types in scope, such as individual cards, BIN ranges and card categories, and the Hyperswitch components and processors they touch. It should state which deliverables you receive, including configuration, test evidence, runbooks and handover, and which parts are one-time versus recurring, such as list reviews or retesting after upgrades. Ask for the assumptions behind the effort, the data you must supply, the acceptance tests, and the change process for adding a block in production. Confirm how the work handles Hyperswitch upgrades, since release changes can affect where checks run. Any figure in the quote should trace back to a written scope item.
Does a blocklist affect PCI DSS scope?
A blocklist that checks card numbers or BINs handles cardholder data, so its design has to fit your PCI DSS scope. Blocklist entries that store full primary account numbers need the same protection as other stored card data, and access to the list should be restricted and logged. Storing hashed or tokenized references can reduce exposure, but you should confirm the approach with your assessor before build. Ask the provider how the list is stored, who can read or change it, and how that matches your current scoping decisions.
Limits and what to confirm in your environment
A blocklist feature is only as reliable as the version, data handling and matching behavior behind it. The cards below list the points to confirm with your Hyperswitch version and your own testing before you rely on blocks in production.
Blocklist capability and entry formats
Confirm which blocklist types your Hyperswitch version supports for cards, BIN ranges and card categories, and the exact entry format each one accepts. Ask whether entries are managed through the Control Center, the API or configuration, and whether bulk import and export exist. Do not assume a feature listed in a blog post exists in your release until you test it against your own deployment.
Hyperswitch docsMatching behavior for BINs and card types
Ask how a BIN entry is matched: whether it compares the leading digits of the card number, how it handles overlapping ranges, and whether card type or category filters depend on data the processor returns. Test with cards from both sides of a range boundary and with co-badged cards, since a block on one network can catch unintended customers.
Upgrade impact on stored entries
Check whether blocklist entries survive a minor release upgrade, a schema change or a dependency change, and whether the Control Center and the router must match versions for entries to display and apply correctly. Release notes for each version, including any required services, should be reviewed before you upgrade, and a post-upgrade test should confirm that known entries still block.
Decline handling for blocked requests
Confirm what the connector returns when Hyperswitch blocks a request before it reaches a processor, including the error code, the decline reason shown to the customer and whether a blocked attempt appears in your payment logs and reports. Your checkout and retry logic must treat these responses differently from processor declines, or customers may see misleading messages.
PCI DSS scope of matched card data
Ask whether the blocklist stores full card numbers, truncated values, hashes or BINs only, and where that data lives. Storing full PANs for matching brings the store into your cardholder data environment, while BIN-only or hashed approaches may reduce scope. Confirm the answer with your QSA or assessor before you choose a design.
How DeployOpen scopes, delivers and supports a Hyperswitch blocklist
DeployOpen plans, implements and hands over a card, BIN and card-type blocklist inside a Hyperswitch stack you run in your own infrastructure. The work is agreed as a fixed scope, built and tested against your traffic patterns, and documented so your payments and fraud teams can operate and change the list themselves.
How we scope
- Written scope names which blocklist types, data sources and Hyperswitch decision points are covered before work starts.
- Scope states how blocked events are logged, reviewed and handed to your fraud or risk team.
- Scope sets which connectors and processors the blocklist applies to, and which stay out of it.
- Engagements are fixed-scope, and a quote follows from the agreed written scope.
How we build
- We configure the blocklist rules in your self-hosted Hyperswitch deployment and confirm the order they run relative to routing and 3DS.
- We test block and allow outcomes with sample card, BIN and card-type cases, including cards that should pass.
- We check that card data handling stays inside the design your PCI DSS scope decision already set, without storing new card data.
- We confirm the exact Hyperswitch configuration and API behavior in your release, since features vary by version.
How we hand over
- Documentation covers the list format, ownership, change steps and the reasons each rule exists.
- Your team receives a runbook for adding, removing and reviewing entries, including false-positive handling.
- Handover includes a test set your engineers can rerun after each Hyperswitch upgrade or rule change.
- Deliverables are written against the agreed scope so acceptance is checked against named items.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Support can cover reviewing blocked-transaction samples and tuning entries that catch good customers.
- Retested changes follow the same test set, so upgrades do not silently widen or narrow blocks.
- Ask for the support scope, response expectations and upgrade handling in the written quote.

