Exporting card data from Hyperswitch starts with the receiving processor's compliance
A team leaving Hyperswitch with saved cards has one documented exit path: card data can only be exported to a PCI DSS compliant payment processor. The receiving processor must share its PCI Attestation of Compliance (AoC), its PGP public key is used to encrypt the file, and the PGP-encrypted CSV is transferred over SFTP. If the receiving processor cannot supply the AoC and a PGP key, the export does not start, so that conversation comes first.
Effort depends less on the file transfer than on three things: how ready the receiving processor is to accept card data, how complete your card and token inventory is, and how much of the work is planning. Processors differ in their onboarding steps, their accepted file formats and their review timelines, and each of those changes the sequence. Your inventory has to account for every saved card, its network data and the tokens and customer references that link payments and subscriptions to those cards. Much of the effort sits in deciding what happens to each of those records on the new processor's side, and in agreeing a cutover window with the teams that depend on stored payments.
No duration or fee is given here. Ask for both in a written scope that lists the receiving processor's onboarding steps, the export and import tasks on your side, the testing you will run against a sample file, and the handover of the customer references your systems still depend on. The Hyperswitch docs on data migration from Hyperswitch are the reference to check against before you sign anything, and your own environment will decide which of the remaining steps need the most time.
What moves cleanly and what does not in a card export
This table compares each kind of data you hold in Hyperswitch with what the documented export path carries and what the receiving processor must accept. Read each row as a question to settle before the transfer: a documented yes still needs confirmation, and a dash or cross means you must plan an alternative. The main takeaway is that card numbers may move, but tokens and internal references generally do not.
| Source capability | Documented export path | What to confirm before transfer |
|---|---|---|
| Saved card numbers (PANs) and expiry dates | Covered: exported as a PGP-encrypted CSV to a PCI DSS compliant processor that shares its AoC | Confirm the receiving processor accepts the CSV field layout and the AoC is current |
| Network transaction IDs for merchant-initiated payments | Not confirmed as a required export field in the documented path | Ask the receiving processor whether it needs them and confirm with Hyperswitch docs how to include them |
| Customer references and customer IDs | Not confirmed as a documented export field | Decide whether your own customer mapping table is the system of record and plan how to re-link cards |
| Hyperswitch payment tokens | Not covered: tokens are issued by Hyperswitch and only resolve inside it | Plan to replace tokens with the new processor's references after import and confirm the mapping with both parties |
| Vault records and locker identifiers | Not covered as a portable record; vault models differ by deployment | Confirm with the Hyperswitch docs which vault model you run and what the export includes for that model |
| Processor-side mandates and recurring agreements | Not covered by the documented path | Confirm with the receiving processor how existing mandates are recognized and whether customers must re-consent |
| Card data from a self-hosted in-house PCI vault | Requires your own PCI DSS compliance and data handling, per the Hyperswitch docs | Confirm your scope, key custody and the receiving processor's AoC before any file leaves your environment |
How the documented export works: attestation, PGP key and SFTP
The documented export has three steps, and the first two must be finished before any card data leaves Hyperswitch. First, the receiving processor's PCI Attestation of Compliance (AoC) is shared so the sending side can confirm the destination is a PCI DSS compliant payment processor, which is the only kind of recipient the Hyperswitch docs allow. Second, the processor supplies a PGP public key, and that key encrypts the export file. Third, the encrypted CSV is transferred over SFTP. Confirm the exact sequence, file format and field list against the Hyperswitch export documentation before anyone runs an extract, because the docs are the reference your processor will expect you to follow.
The attestation check and key exchange come first because they are the gates that make an extract lawful to send. If the AoC is missing, expired or does not cover the service you are moving to, an extract creates card data in transit to a party you have not verified, and that is hard to undo. Agree the key exchange in writing: who generates the PGP key pair, where the private key is held, how the public key is verified out of band, and who can rotate it. Test the encryption and transfer with dummy data first, and confirm the processor can decrypt that test file before you plan a live extract.
Ownership splits along a clear line. You own the PGP private key that you hold, the SFTP transfer host or client you run, the access and transfer logs on your side, the retention of export files, and the decision to start a run. The receiving processor owns its AoC, its PGP public key and its decryption and intake systems. Ask your processor who holds the destination SFTP account, how host keys are verified, and what logs they keep, then record those answers in your PCI DSS scope documentation so the transfer is covered by your evidence and not left to assumption.
Card data leaves your scope at the SFTP handoff, after two approvals
The flow starts in your self-hosted Hyperswitch environment, where the Router reads records from PostgreSQL and the card vault prepares the export set. A named approver must sign off before anything moves to the export controls. PGP encryption uses the receiving processor's public key, and the SFTP handoff is the point where card data leaves your controlled scope. Confirm the processor's PCI Attestation of Compliance is reviewed before its key is trusted, and confirm with your assessor which PCI DSS obligations shift at that handoff.
Card data leaves merchant scope at the SFTP handoff, after human approval.
Documented export path and the tools around it
The export is a short documented exchange, but it depends on several parties and artifacts outside Hyperswitch. Each component below has a defined role, and each needs confirmation with the receiving processor or your own records before you start.
Hyperswitch export documentation
The Hyperswitch data export guide sets the rule that card data can only go to a PCI DSS compliant payment processor. It describes the sequence: share the new provider's Attestation of Compliance, encrypt the file with the provider's PGP public key, then transfer the CSV over SFTP. Treat this guide as the procedure of record and confirm with your Hyperswitch team that the guide matches the version you run, since the export steps and field expectations may change between releases.
Export guideReceiving processor's AoC and PGP keys
The receiving processor must be PCI DSS compliant before any card data moves. Ask for its current Attestation of Compliance, the PGP public key used for encryption, the key fingerprint, and the key's expiry and rotation policy. Confirm which AoC covers the exact service you are using, the validity period and whether the processor will accept a file encrypted under a key that you have verified out of band.
Processor SFTP endpoint
The SFTP endpoint is where the encrypted CSV lands. Confirm the host, port, directory layout, authentication method (password or key), allowed source IP ranges, file naming rules and whether the processor issues a receipt or validation file. Agree on who owns the SFTP credentials on your side, where they are stored and how they are rotated. Test with a non-cardholder dummy file before any real export runs.
PGP tooling for encryption and checks
The PGP tooling encrypts the CSV with the receiving processor's public key and lets you verify the result before transfer. Your team needs a documented procedure covering key import, fingerprint checks, encryption, decryption tests with a test key pair, and checksums for the file. Confirm which PGP implementation and key length the processor accepts, and make sure the private keys that protect your own test files never sit next to production data.
Control Center records review
The Hyperswitch Control Center shows connector configuration and payment records, so operators can check which processors are connected, which payments and saved references exist, and what status each record has. Use it to reconcile counts before and after the export, but confirm which records the Control Center displays and whether a full export of card references is available from it, rather than assuming the dashboard is the source of truth for the file.
Your token and customer reference inventory
Before exporting, build a complete list of stored payment method identifiers, customer IDs, network transaction IDs and the processors each one belongs to. Tokens issued by Hyperswitch may not work at a new processor, so plan which saved cards move, which customers must re-enter details and how merchant-initiated payments will continue. Ask the receiving processor which fields it requires in the import file, and reconcile the inventory against the file before it leaves your environment.
How the export differs by vault model
In this model, the Hyperswitch card vault (locker) runs inside your own infrastructure and holds the encrypted card data. The Hyperswitch docs state that the merchant is fully responsible for PCI DSS certification and data handling, so the export is a transfer out of your own cardholder data environment.
- Card data holder: Your team holds the vault database, the encryption keys and every copy of the export file.
- Attestation: Your own PCI DSS assessment covers the vault, the export job and the SFTP path. The new processor's AoC is still required before any file moves.
- Key exchange: Your security team coordinates the PGP public key from the new processor and controls where the encrypted CSV is staged.
- Scope impact: The export host, staging storage and transfer logs fall inside your scope and need the same controls as the vault itself.
- Operational ownership: Your platform team schedules the export, monitors the transfer and handles any failed or partial file.
Confirm with your qualified security assessor and the new processor which intake format, key requirements and transfer windows apply before you schedule the export.
In this model, Hyperswitch orchestrates payments while an external PCI vault provider, such as VGS or Tokenex, holds the card numbers. Your Hyperswitch deployment stores tokens and references, so the export depends on what the external vault will release, under which contract and through which process. The Hyperswitch docs describe this deployment model.
- Card data holder: The external vault provider stores the card numbers. Your Hyperswitch services hold tokens and merchant references.
- Attestation: Both the vault provider's AoC and yours may matter. Ask which document covers the stored card numbers and whether the provider will share it with the new processor.
- Key exchange: Confirm whether the vault provider or your team controls the PGP exchange for the raw data.
- Token mapping: Plan how the vault's token IDs map to the new processor's tokens and to network transaction IDs for merchant-initiated payments.
- Contract terms: Export rights, delivery formats and any timelines or fees sit in the vault agreement. Confirm them before you plan the migration window.
Ask the vault provider in writing for its export procedure and its own attestation before you set a cutover date.
In this model, you run the Hyperswitch services in your infrastructure while card storage sits in the hosted Hyperswitch Vault. Your deployment keeps orchestration and references, so the export mechanics depend on what the hosted vault can produce and who initiates it. Treat this model as one to verify with the provider before you commit to a plan.
- Card data holder: The hosted vault stores the card data. Your deployment holds tokens, customer references and routing records.
- Attestation: Confirm which party's AoC covers the hosted vault and whether it can be shared with the new processor for the export.
- Key exchange: Confirm who generates the PGP key pair, where the public key is applied and who approves the transfer.
- Data location: Ask where the hosted vault stores data, which regions are involved and who can trigger a bulk extract.
- Operational dependency: Plan for the hosted vault's availability during the migration window, since the export can depend on it.
Get the export procedure, attestation scope and key ownership in writing from the provider before you describe this model to your auditors.
Sequence from inventory to decommission
This sequence moves card data out of Hyperswitch to a PCI DSS compliant receiving processor in controlled stages, with evidence kept at each gate. It ends with traffic cut over and Hyperswitch data stores decommissioned only after reconciliation and retained records are in place.
Inventory cards, tokens and customer references
Your payments and security owners list every stored card, the tokens and vault references that point to it, and the customer, subscription and network transaction records that depend on those references. Record which items are needed for recurring or merchant-initiated payments, and which can be retired. The inventory is done when every record class has an owner, a count taken from the system of record, and a documented decision on what moves and what stays behind. Confirm with the receiving processor which identifiers it will accept on import.
Confirm attestation and PGP key exchange
Obtain the receiving processor's current PCI Attestation of Compliance and its PGP public key, then have your compliance lead review the attestation's scope and validity dates. Share your own attestation and key details as the Hyperswitch documentation requires for the exchange. The step is complete when both parties have written confirmation of the other's documents and the key fingerprint has been verified through a channel separate from the email that delivered it. Confirm the processor's onboarding requirements, since they set the lead time you cannot shorten.
Run a test export on a sample set
Run the export against a small sample or non-production dataset that uses the same field layout as production. The engineer encrypts the CSV with the receiving processor's PGP public key, transfers it over SFTP, and checks that the file decrypts and parses on the receiving side. Compare record counts and field values against the source, and document every mismatch with its root cause. The test is complete when the receiving processor confirms successful ingestion of the sample and no field has been dropped or reformatted.
Approve and execute the production export
Freeze writes to affected records where your change process requires it, then run the production export under a written change ticket with named approvers from payments, security and compliance. Store the encrypted file, its hash, the export logs and the approval record in a restricted location. The export is done when the record count matches the inventory, the file hash is logged, and the approvers sign off. Keep decryption keys and plaintext copies out of the transfer workspace.
Transfer over SFTP and verify ingestion
Transfer the encrypted file over SFTP to the endpoint the receiving processor specifies, using the credentials and host keys confirmed in advance. Confirm checksum agreement on both ends, and ask the processor to return an import report listing accepted, rejected and pending records. Investigate every rejection before proceeding. This step closes when the processor's import report reconciles to the inventory with rejections resolved or formally accepted by the business owner.
Run a parallel period and reconcile both providers
Keep Hyperswitch and the receiving processor both live for a defined parallel period, routing new payments through one path while the other holds migrated cards and references. Reconcile authorizations, captures, refunds and recurring charges between the two providers each day or on the schedule your finance team sets. A parallel run is necessary wherever recurring billing or merchant-initiated transactions depend on migrated references, because a failed reference shows up only when the next charge runs. Confirm the length of the period with your processor's onboarding timeline and your data volume.
Cut over traffic and decommission Hyperswitch data stores
After reconciliation is clean, move live traffic to the receiving processor and stop Hyperswitch from creating new card records. Retain the records your auditors and legal team require, including export approvals, hashes, import reports and reconciliation results, in a controlled archive. Then purge card vault contents, database replicas, Redis caches, backups and logs according to the retention and destruction rules you documented, and capture destruction evidence for each store. Decommissioning is complete when each data store has a dated destruction record and the archived evidence has been checked for completeness.
What drives cost and duration of the export
This table lists the factors that change the cost and timeline of moving card data out of Hyperswitch, who pays for each one, and whether it is one-time or recurring. Read it as a checklist for requesting a quote, since no price or duration is implied for any row.
| Driver | Why it changes cost or effort | Who pays and one-time or recurring | What to request in a quote |
|---|---|---|---|
| Number of saved cards and customer references | Larger exports take longer to extract, encrypt, transfer and reconcile, and each token or reference needs a mapping check on arrival. | Merchant pays the receiving processor. Scoped work is one-time, but any repeat export adds effort again. | Record counts per dataset, the expected file handling window, and how failed rows are reported and retried. |
| Number of connectors and processors involved | Each source connector and each destination processor adds its own field mapping, credential handling and acceptance checks. | Scoped work under a written DeployOpen engagement is one-time. Processor fees are set by each provider. | A list of source connectors, the destination processor, and which connectors hold cards that must move. |
| Network transaction IDs for merchant-initiated payments | If these IDs are missing or incomplete, subscription and recurring charges may need extra handling or re-authorization at the new processor. | Merchant bears the business impact. Data cleanup work is one-time, usually billed within the DeployOpen scope. | Confirmation of which records carry network transaction IDs, and the receiving processor's rules for accepting them. |
| Receiving processor onboarding and attestation timeline | The processor must share its PCI Attestation of Compliance and PGP public key before any data moves, and that exchange sets the start date. | Processor controls its own onboarding. Merchant pays any onboarding fees the processor charges. | The processor's onboarding steps, the dates it will supply its current AoC and PGP key, and its SFTP access requirements. |
| Vault model in use | A self-hosted in-house PCI vault puts the merchant fully on the hook for PCI DSS scope during the transfer. An external or outsourced vault may already hold the cards and change the export path. | Merchant carries PCI DSS responsibility. Scoping and assessment support is one-time or recurring depending on the assessor and contract. | Which vault model is deployed, where card data is stored today, and whether the export runs from the vault or from Hyperswitch. |
| Parallel runs and approvals | Running old and new processors side by side, and sign-off from security, compliance and finance, lengthen the schedule and add review cycles. | Merchant staff time is recurring during the run. Coordination effort under DeployOpen is one-time within the written scope. | The number of test transfers, the approvers named by role, and the rollback plan if the receiving processor rejects a file. |
What usually goes wrong with tokens and customer references
Most failed exports trace back to a few points: tokens that do not carry over, customer references that were never mapped, and files or records that move before the checks are complete. The cards below pair each risk with the prevention step and the check that shows it worked. Items marked to confirm depend on your processor's onboarding requirements and should be verified in writing before the transfer.
Tokens unusable at the new processor
Hyperswitch tokens and vault references are internal to your stack, so a token alone does not let the new processor charge a card. The documented export path moves card data as a PGP-encrypted CSV only to a PCI DSS compliant processor, so the new provider must be able to accept that file format and its field layout. Prevention: confirm with the new processor, before any data moves, that it will ingest the exported CSV and which fields it requires. Check: run a small test file with known test cards and confirm each record imports and can be charged in its sandbox.
Export docsMissing customer references
Recurring billing depends on the customer reference and the stored credential linkage, not only on the card number. If the export omits or renames the customer identifier, subscriptions may fail on their next renewal, often weeks after cutover. Prevention: map every customer identifier in your Hyperswitch data to the field the new processor expects, and document the mapping. Check: for a sample of active subscribers, confirm that a merchant-initiated charge at the new processor succeeds against the mapped reference, and that the count of mapped customers matches the source.
Wrong PGP key used for encryption
The export is encrypted with the new processor's PGP public key, and only that processor's private key can decrypt it. Encrypting with a key from an older onboarding email, a test environment or a colleague's copy produces a file the recipient cannot open, and the data must then be re-exported. Prevention: obtain the public key over a channel you verify, such as a fingerprint confirmed by phone, and record the fingerprint in your change ticket. Check: before the real export, decrypt a test file with the processor's confirmation that it opens, and compare the key fingerprint against the one on record.
Data sent before attestation is confirmed
Per the Hyperswitch docs, the new provider's PCI Attestation of Compliance is shared as part of the export path, and data should only move to a provider that meets that requirement. Sending the CSV before the AoC has been received and reviewed means you have transferred card data without the evidence your assessor will ask for. Prevention: make receipt and review of the current AoC a gate in the runbook, with the date it was reviewed recorded. Check: confirm the AoC's validity period covers the transfer date and that the provider's service scope matches the service you are using.
Export docsIncomplete reconciliation between providers
During cutover, some payments are authorized at the old provider, some settle later, and some are refunded or disputed after the move. If the counts and amounts are not reconciled across both providers and Hyperswitch, saved cards may be exported while open transactions are lost in the gap. Prevention: freeze a reconciliation snapshot before the export and agree on which provider owns each open item. Check: the record count in the export file matches the active vault count, and open payments and refunds reconcile to zero unexplained differences at both ends.
Copies left in logs and backups
After the export, card data can persist in application logs, exported files on shared drives, SFTP staging folders, database backups and the workstations used to decrypt files. Retaining these copies after decommissioning extends your PCI DSS scope beyond the planned move. Prevention: write a retention and deletion plan covering every location, including backup rotation, and assign an owner for each. Check: confirm deletion in each location with evidence, such as a listing or log entry, and record the date. Confirm with your assessor how the retained backup window is handled.
What buyers ask before a card data export
How much does a card data export from Hyperswitch cost?
No single price applies, because the cost depends on the work around the transfer rather than the file itself. Cost components include the internal time to inventory saved cards and token references, the effort to confirm the receiving processor's acceptance terms and key exchange, engineering time to build and test the export job, and any fees the new processor charges to ingest or validate the data. Some costs are one-time, such as the migration build and test cycle, while others recur if you keep a self-hosted Hyperswitch stack running after the move. Ask any partner for a quote built from a written scope that lists each of these components separately, and confirm the receiving processor's fees in writing with that processor.
How long does a card data export take to complete?
The timeline is set mostly by approvals and coordination, not by the transfer itself. The main drivers are how quickly the receiving processor confirms its PCI Attestation of Compliance and supplies its PGP public key, how many saved card records and customer references need reconciliation, how many internal teams must sign off, and how many test runs your data owners require before a production export. Build a plan that treats the processor onboarding steps as the critical path, and ask for a dated milestone list in the written scope before any work starts.
What must our team provide before an export can start?
Your team must supply four things before the export can run. First, an inventory of the card records, network transaction IDs and customer references held in the vault. Second, named approvals from payments, security and legal owners for the transfer. Third, the receiving processor's PCI Attestation of Compliance, reviewed by your own compliance team. Fourth, clear key custody: your team needs to know who holds the private key paired with the PGP public key used in the exchange, where it is stored, and who can rotate it. Confirm the exact field list and SFTP details with the Hyperswitch documentation and the receiving processor before scheduling any work.
Can our own engineers run a card data export without a partner?
Yes, if your team has the skills and time to own the work, but the job carries more than a script. Engineers need to understand Hyperswitch's data model, the vault configuration you run, and the encryption workflow for the PGP-encrypted CSV, and they must be able to test the output without exposing card data in logs or tickets. A partner can take on scope such as inventory, export build, test runs and evidence preparation, under a fixed-scope written agreement. Decide early which steps your staff will own, and document the handover so the work can be reviewed by your compliance team.
Will saved cards and customer references still work after we move?
Saved cards only keep working if the receiving processor accepts the exported data and the mapping from your Hyperswitch records to its tokens or references is correct. Plan for the fact that exported card data is not the same as a token that works everywhere: the receiving processor must import the card details, and your customer references must be re-linked to the new processor's records. Some payment methods or network transaction IDs may need re-validation, and merchant-initiated payments may behave differently until that work is done. Test a sample set end to end with the receiving processor and confirm the outcome in writing before you decommission the source.
What evidence will an auditor expect from a card data export?
Auditors typically expect a documented record of the export's scope, the approvals, the receiving processor's compliance evidence, and the controls that protected the data in transit and at rest. Prepare the inventory, the change record, the PCI Attestation of Compliance reviewed by your team, the key custody records, SFTP access logs, and proof of deletion from your environment after the transfer is confirmed. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies issue the audit reports and attestations. Ask your assessor early which evidence formats they accept and what control areas they will test.
Does the export need to be tested before production?
Yes, a test run is the best way to confirm the CSV format, the PGP encryption and the SFTP path work with the receiving processor before any live card data moves. Use a controlled test dataset, not production cards, and check that field names, character encodings and network transaction IDs arrive as expected. Log test results and remediate issues before the production run. Confirm with the receiving processor how it validates imports and what error reporting it provides, since those details determine how many test cycles your team should plan for.
How DeployOpen scopes and delivers a card data export
DeployOpen plans and runs the exit path for a self-hosted Hyperswitch stack as a written, fixed-scope engagement inside your own infrastructure. The work covers the export pipeline, the receiving processor's compliance evidence, the encrypted transfer and the follow-up on tokens and customer references.
How we scope
- We confirm which vault model your Hyperswitch deployment uses, since that decides where card data sits before export.
- We agree the receiving processor, its documented requirements and who on your side owns the attestation and key exchange.
- We record the written scope, deliverables and timeline before any export work begins, so the quote follows from defined work.
How we build
- We set up the PGP key exchange and the SFTP transfer path inside your environment, with access limited to named people.
- We prepare the export run, check the CSV fields against the receiving processor's requirements and test on non-production data first.
- We map saved card references and customer identifiers so tokens that do not transfer are identified and handled before cutover.
How we hand over
- We deliver a runbook covering each export step, key custody, file handling, verification and rollback.
- We document the evidence trail, including the attestation received, key fingerprints used and transfer logs, for your compliance team.
- We walk your engineers and compliance leads through the handover and record open items with owners.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after the export is complete.
- We can rerun reconciliation checks against the receiving processor if transfer results need review.
- Support scope for any later Hyperswitch upgrades is agreed in writing, so the exit path stays documented as the stack changes.

