Enabling raw card acceptance with processors behind Hyperswitch

Raw card acceptance lets Hyperswitch send card numbers to a processor directly, but processors block it by default. This page covers the evidence, vault model and processor approval needed to unlock it.

On this page

How raw card acceptance works in a self-hosted Hyperswitch stack

A self-hosted Hyperswitch merchant that wants a processor to accept raw card data from Hyperswitch is blocked by default, and the unlock depends on two things: the merchant's own PCI DSS evidence and the processor's approval. A connector setting alone does not open the path. Hyperswitch itself does not decide whether raw card traffic is allowed. The processor does, and it will ask for proof that the cardholder data environment is controlled.

Hyperswitch stores card data in its card vault, a separate Rust service in the juspay/hyperswitch-card-vault repository, and its docs describe three vault models: self-hosted with the native Hyperswitch Vault, self-hosted orchestration with an external PCI vault provider such as VGS or Tokenex, and self-hosted orchestration with the SaaS Hyperswitch Vault. The model you choose determines who carries PCI DSS scope. In the self-hosted, in-house PCI model, the Hyperswitch docs state that the merchant is fully responsible for PCI DSS certification and data handling, so the merchant must produce the assessment evidence itself. In the outsourced models, part of that scope sits with the third-party vault. Confirm the exact responsibility split for each model with Hyperswitch and your vault provider before you choose.

Before you request raw card acceptance, ask the processor which evidence it requires, typically an Attestation of Compliance from a PCI DSS assessment covering the systems that handle card data. Confirm with the processor whether it accepts an Attestation of Compliance from a Self-Assessment Questionnaire or requires a Report on Compliance from a Qualified Security Assessor, and whether the assessment must cover the Hyperswitch deployment, the vault and the hosting environment. Stripe, for example, restricts raw card data through its dashboard settings, so the restriction may sit outside the Hyperswitch configuration entirely. Plan the assessment and the processor approval as separate workstreams with their own lead times.

What a raw card acceptance project needs before it starts

Raw card acceptance moves cardholder data through your own systems, so the project begins with compliance evidence, infrastructure and processor agreement. The four items below connect: each one decides whether the processor will review your request and what the scope of that review covers.

A PCI DSS v4.0.1 assessment path

Choose between a Report on Compliance completed by a Qualified Security Assessor and a Self-Assessment Questionnaire with an Attestation of Compliance. Either way, the assessment must reference PCI DSS v4.0.1, because v4.0 was retired on 31 December 2024. A certificate alone is not accepted as validation, so ask the processor which AOC form and version it requires before you start the assessment.

v4.0 retirement
31 Dec 2024
PCI SSC standard page

A deployed Hyperswitch stack

Raw card requests only work once a self-hosted Hyperswitch stack is running in your infrastructure, with the router, scheduler, PostgreSQL and Redis in place. Confirm the release you run, since the compliance evidence describes that exact deployment. Record the version of the Control Center and router so the assessor can match the documented configuration to what is live.

Hyperswitch self-hosting docs

A chosen vault model

Decide where cards are stored before anything else. The in-house Hyperswitch Vault keeps the card data environment inside your scope, which makes you fully responsible for PCI DSS certification and data handling. An external PCI vault provider or the SaaS vault can reduce the cardholder data you store, but the assessment must still cover every system that touches card data. Document the choice in the assessment scope.

In-house PCI vault model

A processor team that reviews raw card requests

Raw card acceptance is a processor decision, not a Hyperswitch setting. Identify the account contact who handles PCI and onboarding reviews, and ask what evidence they need: the AOC form, the date of the assessment, the scope statement and any network diagram. Ask whether the restriction applies to the whole merchant account or to specific connector configurations, and how long their review takes.

A cardholder data environment diagram

Draw every system that stores, processes or transmits cardholder data, including the Hyperswitch router, scheduler, card vault, databases, Redis, logging pipelines, backups and the hosts or clusters that run them. Mark the network boundaries and the paths to the processor. Assessors and processors both use this diagram to confirm scope, so keep it current with each release and infrastructure change.

Stripe and other processor restrictions

Some processors block raw card data by default, and Stripe restricts it through its dashboard. Before you commit to a design, check the restriction for each processor in your routing plan. Confirm whether the setting is available to your account type, what documents it requires, and whether it changes after a platform or region move. Keep the answers in writing with the date you received them.

Hyperswitch docs

Why processors block raw card data by default

Processors block raw card data by default because a processor that receives full card numbers takes on the risk of that data moving through its own environment. Raw card acceptance is a request to bring the processor's cardholder data environment into a review it would otherwise avoid. When a Hyperswitch deployment sends primary account numbers to a processor, the merchant must show that the card data is protected under PCI DSS before the processor will agree to accept it. Hyperswitch does not change that equation. Its card vault stores cards in a separate service, but the processor still needs evidence that the sending side of the flow is controlled. Confirm early which processors on your shortlist accept raw card data at all, and ask each one what evidence it wants before you design the vault model.

The PCI Security Standards Council (PCI SSC) defines and maintains PCI DSS, but it does not enforce the standard or impose penalties. Enforcement sits with the individual payment brands, which decide which entities must validate compliance and run their own enforcement programs. Validation itself is documented on PCI SSC templates, either a Report on Compliance completed by a Qualified Security Assessor or a Self-Assessment Questionnaire, each with an Attestation of Compliance. The PCI SSC's own FAQ states that certificates are not recognized as validation. For a self-hosted Hyperswitch merchant, the practical question is which brand rules apply to your volumes and channels, and which validation document your processor and acquirer will accept. Ask your acquirer and card brands to confirm those requirements in writing.

Processors also apply their own acceptance policy on top of the PCI SSC framework and the brand rules. Two processors can read the same evidence differently, so the same Hyperswitch setup may be approved by one processor and refused by another. Differences often appear in the scope of the assessment they require, the vault model they accept, and whether they will receive raw data from a third-party orchestration layer at all. Treat each processor as a separate approval: request its written raw card requirements, map them against your planned vault model and assessment, and record the answer before you add the connector to routing. A processor that refuses raw data is still usable through a tokenized flow, which is covered in the sections that follow.

Which vault model changes the AOC you must provide

In this model, you run the native Hyperswitch Vault, the card vault service, inside your own infrastructure. The Hyperswitch docs on the self-hosted and in-house PCI model state that the merchant is fully responsible for PCI DSS certification and data handling. No part of the cardholder data environment is inherited from Hyperswitch or Juspay, so your AOC has to cover the whole environment.

  • Full scope: The AOC must cover the vault, the Router and Scheduler services, PostgreSQL, Redis, the encryption service and key management, and every network path that carries card data.
  • No inherited controls: Each applicable requirement needs evidence from your own controls, policies and logs.
  • Validation path: Confirm with your assessor whether a Report on Compliance or a Self-Assessment Questionnaire applies, since the answer depends on your volume and setup.
  • Likely processor requests: Expect a request for your current AOC, a cardholder data flow diagram, and proof that the vault and its keys are in scope and tested.

Confirm with your assessor and your processor which systems they count in scope before you commit to this model.

The sequence for unlocking raw card acceptance

This sequence takes a self-hosted Hyperswitch merchant from an undefined card data scope to a processor's written approval for raw card requests, with each phase closed by a check the team can evidence. It separates the internal scoping work from the external assessment and the processor's enablement decision.

  1. Define the cardholder data environment and vault model

    The payments or security lead decides which vault model the deployment will use: the self-hosted Hyperswitch Vault with in-house PCI, an external PCI vault provider such as VGS or Tokenex, or the SaaS Hyperswitch Vault. This choice fixes who holds the PCI DSS obligations for storing card data and therefore which assessment applies. The step closes when a written scope statement names the vault model, the systems inside the cardholder data environment and the owner who signs it.

  2. Map every system that touches card data

    The platform team inventories each component that receives, stores, processes or transmits card data or could affect its security. The inventory covers the Router, the Scheduler producer and consumer, PostgreSQL primary and replicas, Redis, application and gateway logs, backups, monitoring pipelines, and the Control Center and SDK paths. The step closes when the inventory has a data flow diagram that shows where card data enters, where tokens replace it, and where any residual copy persists.

  3. Obtain the assessment and AOC for the chosen model

    The compliance lead works with a Qualified Security Assessor or uses the SAQ type that matches the scope set in the earlier phases, then completes the official PCI SSC template. Entities that qualify for the customized approach for a requirement document the objective and evidence separately. The step closes when the signed Attestation of Compliance exists, and the team confirms it is an AOC, not a certificate, because PCI SSC does not recognize certificates as validation.

  4. Request written raw card approval from the processor

    The merchant sends the processor the AOC, the scope statement, the data flow diagram and a description of how Hyperswitch stores and tokenizes card data. The merchant asks for written approval to send raw card data to that processor for the specific account and flows in scope. Processor enablement steps differ, so the team should confirm the required request form and review timeline directly with the processor. The step closes when the processor's written approval is on file.

  5. Configure the connector and test in sandbox

    The integration engineer adds the processor connector in Hyperswitch using the sandbox credentials the processor issues, then enables raw card handling only for the flows the approval covers. Test cases should include successful authorizations, declines, refunds, and requests that the processor should reject without approval. The step closes when sandbox tests pass and the team has recorded the connector configuration and test results. Configuration keys should come from the Hyperswitch connector documentation for the version in use.

  6. Confirm the approval covers the production account

    Before any live traffic, the payments lead checks that the written approval names the production merchant account, the processor's entity and the card flows in use. Sandbox approval does not carry over automatically, so this check prevents a live request from failing or being treated as unauthorized. The step closes when the production account ID and the approved flows match the approval letter, and a second reviewer has signed off.

  7. Go live with monitoring for declined raw card requests

    The operations team enables the connector for a limited production route and sets alerts for processor declines that reference raw card handling, authentication failures and unexpected card data in logs. Monitoring also covers the data flow itself, so logs and backups are checked for stray card numbers after go-live. The step closes when alerts are tested, the on-call runbook names an owner for raw card declines, and the first production transactions are reviewed against the approved scope.

Where the trust boundary sits when raw card data reaches a processor

Card data enters through the client or checkout and reaches the Router, which hands it to the card vault. In the self-hosted, in-house PCI model the vault sits inside the cardholder data environment, so the merchant's AOC must cover the Router, the vault, and the hosts and databases that touch card data. The Scheduler, Redis, and the PostgreSQL primary and replica are shown outside the boundary only as a check: confirm that no card data is written to them. The dashed boundary is the item to verify with your QSA, and the processor link is where raw card approval is required.

Card data flow from checkout to processor, with the in-house vault inside the assessed boundary.

Which evidence each processor and assessor will ask for

This table lists the evidence a processor or assessor usually asks for when raw card acceptance comes up, who owns each item, the PCI DSS requirement it supports and where it lives in a self-hosted Hyperswitch stack. Rows marked to confirm depend on the processor's own rules, so ask before you collect anything. The main takeaway is that the Attestation of Compliance is only one piece, and the operational records behind it must be produced and kept current.

Evidence itemOwnerPCI DSS area (requirement)Where to find it in the stack
Attestation of Compliance (AOC)Merchant, reviewed by the processorReq. 12: Support information security with organizational policies and programsCompliance file outside the cluster. Confirm with processor which AOC form, scope and date it accepts.
Scope and network diagramsMerchant, drafted with the Hyperswitch deployment teamReq. 1: Install and maintain network security controlsNetwork policies, namespaces and cluster boundaries in Helm and Terraform repositories, plus a signed diagram.
Data flow from checkout to processorHyperswitch deployment team, reviewed by merchantReq. 4: Protect cardholder data with strong cryptography during transmission over open, public networksCheckout SDK to Router, vault call and connector request, traced in a diagram kept with the scope documents.
Key and vault access recordsHyperswitch deployment team for keys; vault provider for its own access logsReq. 3: Protect stored account data. Req. 7: Restrict access by business need to knowKey management backend audit trail and admin access reviews. Confirm with vault provider what it retains.
Logging of card data accessMerchant runs the log store; deployment team configures collectionReq. 10: Log and monitor all accessRouter and vault logs shipped to the central log store. Confirm that no card data appears in any log stream.
Vendor responsibility matrix for an external vaultVault provider, with merchant sign-offReq. 12: Support information security with organizational policies and programs (third-party service providers)Written matrix from the vault provider. Confirm which requirements its own AOC covers and which remain with you.
Administrative access to Control CenterMerchant and Hyperswitch deployment teamReq. 8: Identify users and authenticate accessControl Center user list and SSO settings. SSO uses OpenID Connect only, so confirm your identity provider supports it.
Processor raw card acceptance conditionsProcessorReq. 12: Support information security with organizational policies and programsConfirm with processor in writing: required evidence, reviewer, and whether a self-hosted vault is accepted.

Controls that keep raw card scope small and provable

These six controls decide how much of your Hyperswitch stack falls inside the cardholder data environment and how well you can prove it. They depend on one another: segmentation holds only if access and logging controls match it, and any customized approach needs assessor agreement before it is built.

Segment the cardholder data environment

Hyperswitch runs several services: the Router and Scheduler app services, PostgreSQL, Redis, the Control Center and the card vault, which is a separate Rust service. Only the parts that store, process or transmit card data belong in your cardholder data environment, so map every network path that carries card data before you define scope. Check that dashboard users, analytics jobs and backups cannot reach the vault by default. Ask your assessor to review the architecture diagram you used to set scope.

Hyperswitch architecture

Limit access to the vault and keys

The vault holds the card data, and the encryption service manages the keys that protect it, so these two systems need the tightest access. Give administrative access to named roles, keep key custody separate from daily operations, and log every access. Confirm your deployment model early, because in the self-hosted, in-house PCI model the merchant is fully responsible for PCI DSS certification and data handling.

In-house PCI model

Choose the defined or customized approach

Each PCI DSS requirement can be met through the defined approach, which follows the standard's stated method, or through the customized approach, which meets the stated objective another way. The customized approach is for entities with mature security and risk management, and it needs documented evidence that the alternative meets the objective. Choose per requirement and confirm acceptance with your assessor before you build the alternative.

Customized approach guidance

Keep card data out of logs

Router and Scheduler logs, webhook payload archives, error traces, support bundles and dashboard exports can capture card numbers by accident. Search every log sink for card data by running test cards through the sandbox, then checking each destination for card-shaped strings, including PostgreSQL tables and Redis keys. Set masking rules before go-live, and document who can read each log store and how long it is kept.

Plan for future-dated v4.x requirements

PCI DSS v4.0 added 64 new requirements. Of those, 51 were future-dated and became effective on 31 March 2025, after a period when they could be marked not applicable. Current v4.0.1 is the only active version. Treat the 51 future-dated requirements as in force and assign each one an owner, an existing control and the evidence an assessor will request. Confirm that your Hyperswitch version and hosting configuration support the controls you rely on.

Future-dated requirements

Track the next PCI DSS revision

The PCI SSC ran a request for comments on v4.0.1 from 3 June to 20 July 2026 to begin the next iteration of the standard. As of October 2026 it had announced no release date for a new version. Keep your controls mapped to the current version, assign one person to follow PCI SSC announcements, and ask your assessor how a new version would affect the timing of your next assessment. Record which Hyperswitch settings each requirement depends on, so a future revision can be assessed against a known baseline.

RFC announcement

What Stripe's dashboard restriction means for a Hyperswitch merchant

If you keep Stripe as one processor behind Hyperswitch, enabling raw card handling on the Hyperswitch side is not enough. Stripe restricts raw card data through its own account settings and approval process, so a merchant that has configured the Hyperswitch vault and connector correctly can still find Stripe declining or refusing to accept raw card requests. Treat the Stripe account as a separate control point with its own evidence requirements, and plan for it before you change any routing configuration.

Start by confirming three things with Stripe directly: what evidence it requires before it will consider raw card handling for your account, whether the restriction is currently set in the dashboard for your specific account, and how a change is requested, including who at your organization must sign and who at Stripe reviews it. The Hyperswitch docs describe the Attestation of Compliance your organization would need for the self-hosted model, but how Stripe weighs that document, and whether it needs its own review, is something only Stripe can answer for your account. Get those answers in writing.

The restriction applies per processor account, not to your Hyperswitch deployment as a whole. That means other connectors you have configured may accept raw card data while Stripe does not, and a merchant may need a separate routing plan for Stripe traffic, for example sending Stripe only tokenized or network-token requests while other processors receive raw card data. Confirm with your Hyperswitch routing team which payment flows would still reach Stripe under that plan, and document the decision so that auditors and your security team can see why traffic is split the way it is.

Failures that stall raw card acceptance and how to fix them

This table maps the failures that most often block raw card acceptance with processors behind self-hosted Hyperswitch to their likely causes and fixes. Read each row as a symptom you may see, the cause to check first, and the party to contact before you change anything. The main takeaway is that most stalls come from a mismatch between the approved scope, the deployed system and the credentials the processor actually approved.

SymptomLikely causeFix and owner to contact
Processor declines raw card requests even though the Hyperswitch test flow worksTest environment and sandbox credentials are not covered by the processor's raw card approval, or the request path still sends card data through a non-approved vaultConfirm with the processor's account team which environment and credentials are approved for raw card data, then run the test against those credentials. Owner: processor account manager and your Hyperswitch platform lead
Processor accepts the AOC but still questions the scopeThe AOC covers only part of the cardholder data environment, for example the application servers but not the vault, key stores or the admin networkMap every component that stores, processes or transmits card data and compare it with the assessed scope. Ask the QSA to extend or clarify the scope. Owner: Qualified Security Assessor and your compliance lead
Assessment questionnaire type does not match the chosen vault modelThe SAQ or ROC type was selected for a different model, such as an outsourced vault, when the deployment runs the Hyperswitch Vault in-houseRe-check the vault deployment model against the PCI SSC template requirements and reissue the correct document. Owner: compliance lead, with the QSA if a ROC is required
Sandbox approval is in hand but production credentials are rejected or restrictedApproval was granted for a sandbox or test merchant ID, and production onboarding was not reviewed separatelyAsk the processor in writing which production merchant accounts carry the raw card permission, and request that approval is applied before go-live. Owner: processor onboarding team
Stripe still refuses to process raw card dataThe Stripe dashboard restriction on raw card data is still enabled for the accountSubmit the required evidence through Stripe's process for raw card data access and confirm the restriction is lifted in the dashboard before routing live traffic. Owner: Stripe account owner in your organization
Card numbers or CVV values appear in application logs, traces or Control Center viewsDebug logging, error payloads or a dashboard view captured raw card fields outside the vaultTurn off payload logging for payment routes, mask or drop card fields in observability pipelines, and purge stored copies. Owner: platform engineering, with the security team for the log review
Scope changes after a Hyperswitch upgradeA new release, added component or changed dependency routes card data through a system that the existing AOC does not coverCompare the data flow diagram before and after each upgrade and notify the QSA before running the new version in production. Owner: platform engineering lead and QSA
The vault provider's AOC has not been reviewed by the merchantThe merchant relies on the vault provider's attestation without checking its scope, dates or responsibility matrixObtain the provider's current AOC, confirm which requirements it covers, and document your own responsibilities for the rest. Owner: merchant compliance lead, with the vault provider's security contact

Questions merchants ask before unlocking raw card acceptance

What does it cost to get an Attestation of Compliance for a self-hosted Hyperswitch stack?

The cost depends on the assessment type, the size of the cardholder data environment and whether you need an external Qualified Security Assessor. Costs fall into two groups. One-time costs include scoping, building or hardening the stack, writing evidence and any assessor fees. Recurring costs include annual reassessment, quarterly scans if they apply to your setup, and staff time to keep evidence current after each Hyperswitch upgrade. Scope size is the largest driver: every system that stores, processes or transmits card data, or could affect it, adds work. Ask any quote to itemize scoping, evidence preparation, assessor fees and the number of processors and vault models covered. Your processors and acquirer will also tell you which assessment type they accept.

How long does it take to enable raw card acceptance?

Duration is set mainly by processor review cycles and the timing of your assessment, not by the configuration work itself. Each processor has its own onboarding and approval steps for raw card data, and those steps run on its schedule. An assessment also needs a defined period of evidence, so the AOC date depends on when the assessor can review your controls. Ask each processor for its written review steps and typical turnaround, and ask your assessor for the evidence window they require. Plan the Hyperswitch upgrade, vault decisions and network diagrams before you submit anything, because changes made during review can restart it.

What does the merchant need to provide for the assessment?

You need to provide accurate system information and named people who can answer for it. The core inputs are a current network diagram, a data flow diagram showing where card data enters, is stored, and leaves, a list of in-scope systems, and access to the Hyperswitch stack, its database, Redis, the card vault, logs and the Kubernetes cluster. You also need named owners for security policy, access management, key management, incident response and change control. On the processor side, collect the technical contact who handles raw card onboarding and the compliance contact who reviews your evidence. Missing ownership is a common reason assessments stall, so assign owners before the assessor begins.

Can our own team do this without an external QSA?

Your team can prepare most of the in-house evidence if it has working PCI DSS skills and the time to maintain them. That covers scoping, control mapping, configuration evidence, access reviews and policy documents. A Report on Compliance, however, must be completed by a Qualified Security Assessor, so a QSA is needed if your assessment type is a ROC. Some merchants use a Self-Assessment Questionnaire with an Attestation of Compliance instead, and whether that is allowed depends on your acquirer and processors. Confirm the required assessment type with each of them before deciding who does the work.

Can a processor stay on tokenized flows while we work toward raw card acceptance?

Yes, the usual approach is to keep processors on tokenized flows until raw card acceptance is approved for them. Tokenized flows send cards through a vault, so card numbers do not pass to the processor directly. Hyperswitch documents several vault models, including an external PCI vault provider and the SaaS Hyperswitch Vault, and the right choice affects which systems stay in scope. Keeping the existing flow lets you run and test routing while assessment work continues. Confirm with each processor that a tokenized setup meets its requirements, and confirm how a switch to raw card data would be tested and rolled back.

Does DeployOpen issue the Attestation of Compliance?

No. DeployOpen does not issue audit reports, attestations or certifications. DeployOpen plans and implements the self-hosted Hyperswitch stack, prepares the systems, controls and evidence that an assessment will review, and can support the work with security testing. The Attestation of Compliance is completed and signed through the official PCI SSC templates by the assessor or by you, depending on the assessment type. Independent assessors, including a Qualified Security Assessor for a Report on Compliance, decide the outcome. Your processors and acquirer decide whether the attestation meets their requirements.

How DeployOpen scopes raw card acceptance work

DeployOpen plans and delivers raw card acceptance work for self-hosted Hyperswitch as a written, fixed-scope engagement inside your own infrastructure. We start from the processor's requirements and your own PCI DSS scope, then build, test, document and hand over the configuration and evidence your compliance and security teams need to review.

How we scope

  • We confirm with your processor whether raw card acceptance is available and which documents it requires before any build work starts.
  • We map which systems would store, process or transmit cardholder data under your chosen vault model and Hyperswitch deployment.
  • We agree in writing which processors, environments and vault models the raw card acceptance work covers, and what it leaves out.

How we build

  • We configure the Hyperswitch connector credentials, card flows and webhooks for the processors named in the agreed scope.
  • We set up the card vault and key handling in the chosen model, with access controls and audit logging for the merchant side.
  • We test authorization, capture, refund and webhook behavior in a non-production environment before any live card traffic is routed.

How we hand over

  • We document the deployed architecture, data flows, configuration and the PCI DSS scope reasoning so your assessor can review them.
  • We deliver runbooks for credential rotation, webhook troubleshooting and processor-side changes, written for your own operations team.
  • We walk your engineers and compliance leads through the evidence set and record which items your QSA or assessor still needs to confirm.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, covering Hyperswitch release changes and processor updates.
  • We retest the raw card acceptance configuration after each agreed Hyperswitch upgrade or significant processor change.
  • Support scope, response expectations and fees are set in the written agreement, and a quote follows from the written scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.