How GDPR erasure requests reach a self-hosted Hyperswitch
If you self-host Hyperswitch, an erasure request from a customer arrives at you, not at the software vendor, and you must act on it without undue delay under Article 17 of the GDPR. Hyperswitch's GDPR documentation says the platform supports the right to erasure through permanent deletion of personal data on request and publishes a Deletion API that merchants can call to delete customer personal data. That API is a tool you use, not a finished erasure process. As the controller, you remain responsible for every component that holds the data: the Router and Scheduler services, PostgreSQL primaries and replicas, Redis, the card vault if you run one, logs, the Control Center, analytics exports, support tickets and your backups. Hyperswitch does not reach into those copies for you, and none of them disappear because the API returned success.
Decide early which steps the platform covers and which your team owns. The Deletion API covers the records it is designed to remove, so your first task is to map which customer identifiers and personal data sit in each store, including data that enters through connectors, webhooks, disputes and your own systems. Check the Deletion API's exact scope and response behaviour in the version you run, and confirm with the vendor how it handles data in replicas, caches, the scheduler queue and log pipelines. Where an exception under Article 17(3) may apply, for example data you must keep to meet a legal obligation, record the basis and the retention period rather than deleting by default.
DeployOpen plans and implements the request workflow in your infrastructure, including intake, identity checks, the call sequence to the Deletion API, verification queries, backup handling and the record you keep for each request. We prepare the systems, controls and evidence your compliance team needs for review. We do not certify compliance, and no DeployOpen deliverable replaces an assessment by your data protection officer, your supervisory authority or an independent auditor. Before go-live, ask us and your team to confirm the Deletion API behaviour for your release, and agree in writing who signs off each erasure decision.
Mapping GDPR erasure and retention duties to Hyperswitch capabilities
This table maps each GDPR provision that shapes erasure and retention to what Hyperswitch documents, and to the settings an operator of a self-hosted stack must own. Read each row as a question to answer for your own deployment: what the law asks, what the platform provides, and what you must configure and confirm. The main takeaway is that the published Deletion API addresses the primary store only, so backups, logs and downstream recipients need explicit controls.
| Requirement | Hyperswitch capability | Operator configuration |
|---|---|---|
| Article 17(1) erasure grounds: data no longer necessary, consent withdrawn, successful objection, unlawful processing, legal erasure duty, child data | Deletion API for merchants to delete customer PII; permanent deletion of personal data on request, per Hyperswitch's GDPR page | Define a trigger process per ground, log each request and its outcome, and confirm with Hyperswitch which data sets the Deletion API removes |
| Article 17(3) exceptions: legal obligations, public task, legal claims, archiving and research, freedom of expression, public health | No exception handling is documented; the Deletion API is a deletion mechanism, not a retention decision engine | Record a retention basis per data category and hold back deletion only where an exception applies and is documented |
| Article 19 notification of recipients | Not documented as a Hyperswitch feature; confirm whether the Deletion API or webhooks notify connected processors | Maintain a list of processors and connectors that received the data, and notify them through your own process |
| Article 32 security of processing | Hyperswitch Control Center offers SSO through OpenID Connect only; roles are managed in Hyperswitch, not mapped from the identity provider | Restrict Control Center access and deletion rights to named roles, enable audit logging and protect the deletion workflow's credentials |
| Article 32 deletion in backups and logs | No backup or log deletion is documented in the supplied material; confirm with Hyperswitch before relying on the Deletion API for these stores | Set backup and log retention periods, and document how erased records age out or are purged from snapshots and log stores |
| Article 44 transfers where erasure touches stored data | Hyperswitch's GDPR page lists an EU data residency server for Hyperswitch Cloud; in self-hosted deployments location follows your infrastructure | Confirm where primary data, replicas, backups and remote support sessions sit, and assess any third-country access before erasing or copying data |
Evidence to keep for each erasure request
A supervisory authority or auditor will ask you to show what was requested, what was deleted, and why anything was kept. In a self-hosted Hyperswitch, every one of these records comes from your own logging and your own retention rules, so the evidence has to be designed before the first request arrives.
Request log entry
Record the date received, the identity verification outcome, the request type, the Hyperswitch merchant and customer identifiers involved, and the deadline you set for response. Store the log under a pseudonymous reference rather than the data subject's name, so the log itself does not become a new copy of personal data. Confirm who in your organization owns each entry and who can read it.
Hyperswitch GDPR docsDeletion call and response
Keep the timestamp, the calling service account, the endpoint version, the request identifier and the HTTP response from each call to the Deletion API. A response that shows success is the core proof that the deletion ran. Capture failures and retries too, since they show how long personal data stayed in place.
Scope of data deleted
Record which data categories were removed from the router database, the Redis cache, the scheduler queue, logs and any connected systems you operate. Note anything the API did not reach, such as data in analytics copies or exports. Ask Juspay or your own engineers to confirm in writing which stores the Deletion API covers in your release, because the answer determines what your record can claim.
Retention basis for exceptions
Where you kept data after a request, record the specific legal obligation or Article 17(3) ground that justified it, the data kept, and the date it should be reviewed or deleted. An unexplained exception is the most common gap an authority will test. Link each exception to a named retention schedule, such as tax or payment dispute periods set by your own legal counsel.
GDPR textBackup and replica handling
Record how the request was reflected in PostgreSQL replicas, backups and snapshots, and the date when older backups containing the data will expire or be overwritten. The EDPB's 2026 coordinated enforcement findings named deletion of personal data in backups as a recurring problem, so state the backup expiry rule in the record instead of assuming it.
EDPB erasure challengesRecipient notifications
Under Article 19, record which recipients received personal data and whether you notified them of the erasure, or the reason notice was not required or not possible. Keep the notification copies and the list of processors and processor-operated systems you contacted. Because Hyperswitch runs in your own infrastructure, your own vendors, connector providers and external vaults are the recipients you must check.
Why hosting location changes erasure scope
When you self-host Hyperswitch, the roles Hyperswitch describes for its cloud service move to your own infrastructure. Hyperswitch's GDPR page describes Hyperswitch Cloud as a data processor, with AWS hosting in US regions and an EU data residency server. In a self-hosted deployment, you run the router, Scheduler, PostgreSQL, Redis, card vault and encryption service yourselves, so you decide where each copy of customer personal data lives and who can reach it. Your organization is the controller for that data, and any erasure request has to be carried out across every component and every location you operate, including replicas, caches, queues, logs and backups of the card vault and PostgreSQL databases. Confirm with your Hyperswitch contacts exactly which tables, Redis keys and vault records the Deletion API touches, so you know what your own runbook must still cover.
Hosting location also determines whether your setup creates Chapter V transfers. Under EDPB Guidelines 05/2021, remote access from a third country counts as a transfer even when a support engineer only views data on a screen, and so does storage in a cloud outside the EEA. A vendor in another country who logs into your cluster to troubleshoot a Helm release, or a backup bucket placed in a non-EEA region, can therefore put copies of the data you are supposed to erase beyond your EU controls. Map every administrative access path and storage location, then check each one against your erasure procedure. Confirm with counsel whether any third-country location needs a transfer tool, and whether the Data Privacy Framework applies to your provider. That adequacy decision rests on the Commission Implementing Decision (EU) 2023/1795, and its legal challenge, Case C-703/25 P, is pending.
Questions about government access sit alongside the transfer question and should go to counsel too. Following the Schrems II judgment, the Court of Justice held that standard contractual clauses remained valid, but the EDPB has said that where a provider needs data in the clear and the destination's public authority powers exceed what is necessary and proportionate, no effective technical supplementary measure may exist. Ask counsel to assess the legal exposure of any cloud or support provider you use, including the reach of the US CLOUD Act to providers in their possession, custody or control, before you decide where erasable data will sit. The answers shape whether your erasure evidence can cover all copies, and they should be recorded in your records of processing before go-live.
Configure erasure handling before the first request arrives
This sequence builds the inventory, retention rules, access model, request workflow and tests that let your team answer an erasure request correctly on the first attempt. Done in this order, each step feeds the next, so the workflow reflects where personal data actually sits in your stack.
Inventory where personal data sits
Your platform or privacy engineering team maps every location where customer personal data lands in the self-hosted stack: the Router and Scheduler services, the card vault, PostgreSQL primary and replicas, Redis caches and scheduler queue, application and infrastructure logs, analytics exports, and backups. For each location, record the data category, the owning team, and whether the Deletion API reaches it. The step closes when the inventory is signed off and every gap, especially data the API does not reach, has a named owner.
Define retention periods and Article 17(3) exceptions
Your legal or privacy lead, with finance and payments operations, sets a retention period for each data category and records the legal basis for keeping it, such as a legal obligation to retain transaction records or the need to establish or defend legal claims. Article 17(1) lists the grounds that trigger erasure, and Article 17(3) lists the exceptions that can override it. Confirm these periods with counsel and your acquirer or processors, since the GDPR does not set them. The step closes with a written retention schedule that maps each exception to a specific data category.
Restrict access to the Deletion API
Your identity and platform team limits who can call the published Deletion API to a small named group, typically the privacy operations role and one backup. Credentials and API keys are scoped to that role, stored in your secrets manager, and excluded from general Control Center roles. Because Control Center SSO uses OpenID Connect only and roles are managed inside Hyperswitch rather than mapped from your identity provider, confirm how each Control Center user is provisioned and assigned a role before relying on those roles. The step closes when a test account outside the group is refused access and the access list is reviewed.
Build the request workflow with identity checks
Your privacy operations team creates a documented intake process: how requests arrive, how the requester's identity is verified before any data is touched, how the request is matched to customer records, and how the decision to erase or to rely on an Article 17(3) exception is recorded. Each action, including the API call, the requester, the timestamp and the outcome, is written to an audit log kept separately from the personal data it refers to. The step closes when a tabletop walkthrough shows every request type can be traced from intake to recorded outcome.
Test deletion on a non-production copy
Your engineering team runs the Deletion API against a restored, non-production copy of the stack that holds realistic but non-live test records, not production customer data. After each test, they query every location from the inventory to confirm the record is gone, that dependent records are handled, and that the card vault entries are removed or handled as your vault model requires. Note any location the API did not reach and feed it back into the retention schedule. The step closes when the test results are saved and each gap has a documented decision.
Document backup and restore handling
Your infrastructure and privacy teams write down how backups are treated. The EDPB's 2025 enforcement action identified deletion of personal data in backups as a recurring challenge, so the document should state whether deleted records are removed from backups, how restores are checked so erased data is not reintroduced, and how long backups are kept. Confirm these choices with your DPO or counsel. The step closes when the procedure is approved and a restore test confirms that erased records do not return.
Set a review cadence tied to releases
Your platform owner schedules a review of the inventory, retention schedule, Deletion API behavior and runbook each time you plan to upgrade Hyperswitch, since new releases can add data stores or change how data is kept. Hyperswitch ships regular minor releases, so the review should run before each upgrade you adopt, and it should also cover legal changes you track. The step closes with a dated review record, an owner for each section, and a rule that no upgrade proceeds until the erasure checks are repeated.
How an erasure request flows through the self-hosted stack
The request starts with the data subject and passes an identity check and a legal basis decision, where the operator either erases or records an Article 17(3) exception. Erasure then goes through the Hyperswitch Deletion API to the router and its PostgreSQL and Redis stores, with the card vault handled as a separate component. Check that backups, logs and recipients are covered and that each step leaves an evidence record.
Erasure flow across the operator's own Hyperswitch components, with the card vault as a separate store.
Questions teams ask before erasure work starts
Can we handle GDPR erasure with the Hyperswitch Deletion API alone?
No. The published Deletion API covers the customer personal data held in Hyperswitch itself, and Hyperswitch's GDPR page says it supports permanent deletion of personal data on request. In a self-hosted deployment you are the controller for every component, so the API is one step in a wider process. Your team still needs to find copies in the PostgreSQL primary and replica, Redis caches, the scheduler queue, application and access logs, analytics exports, support tickets, your CRM and any connected processor or fraud service. Confirm with the vendor exactly which tables and records the API removes before you write the runbook, and record what it does not touch.
What makes erasure work larger or smaller in our environment?
The main drivers are the number of stores that hold personal data, how backups are designed, how long logs are kept and how many connectors and external services receive customer data. Each store needs a deletion or anonymisation method, a test and an owner. Backups are often the hardest part, because the EDPB's 2025 coordinated enforcement action on erasure, announced on 18 February 2026, named deletion of personal data in backups as a recurring challenge. Connectors matter because a deletion in Hyperswitch does not remove data already held by a processor, so each one needs its own erasure route. Smaller estates with few integrations and short backup retention need less work.
How long does an erasure implementation take?
No duration is supplied for this work, so do not plan against a figure from this page. The timeline depends on the same drivers as effort: the number of stores, the backup model, log retention settings, connector count and how many approvals your legal and privacy teams need. Ask any partner for a written scope that lists each store, each deletion method, the test plan and the acceptance evidence, and set the schedule from that document. Fixed-scope engagements are agreed in writing before work starts, so the timeline should appear in that scope.
What does our team need to provide before the work starts?
Plan for three inputs. First, access: administrative rights to the Hyperswitch deployment, database replicas, backup systems, log platforms and connected services, plus a test environment where deletions can be run safely. Second, a data map showing where customer personal data enters, is stored, is copied and leaves the platform, including every connector and its region. Third, legal input: your data protection officer or counsel needs to define the retention periods, confirm which Article 17(3) exceptions apply, such as legal obligations to keep payment records, and approve how erasure requests are answered. Without these, the engineering team will guess at retention rules, which is the most common source of rework.
Does GDPR erasure require an audit, certificate or attestation?
No. The GDPR requires no audit, attestation or certificate. Certification under Article 42 is voluntary, is issued for at most three years by accredited certification bodies or supervisory authorities, and does not reduce the controller's or processor's responsibility for compliance. What you do need is evidence that you can show a supervisory authority: documented procedures, records of each erasure request and its outcome, test results for each store, and retention decisions with their legal basis. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications.
How do we handle erasure requests that touch backups and logs?
Decide the rule before a request arrives. Common approaches are to delete from live stores immediately, to let backups expire on their normal schedule while blocking restores of deleted records, or to purge backup copies on a fixed cycle. Whichever you choose, document it, because Article 17 requires erasure without undue delay and the EDPB has challenged organisations that rely on weak anonymisation in place of deletion. For logs, set retention periods that limit how long personal data is kept, and check that log pipelines do not capture card or customer fields in plain text. Test a restore from backup to confirm that deleted records do not return.
Will the Deletion API keep working as Hyperswitch releases ship?
Confirm this in each upgrade cycle rather than assuming it. Hyperswitch ships roughly monthly minor releases and publishes a compatibility matrix for Control Center and web client versions with each release on its GitHub releases page. Add a regression test for the deletion path to your upgrade checklist, run it in staging against the target version, and keep the result as evidence. Also check that any new release does not add a store of personal data that the deletion routine misses.
How DeployOpen scopes and delivers erasure handling
DeployOpen plans and implements self-hosted Hyperswitch inside your own infrastructure, so erasure handling is designed around the components you operate. The work starts with a written map of where customer personal data sits, then builds and tests the deletion path, and hands over a runbook your compliance and engineering teams can operate.
How we scope
- Map every store holding customer personal data across the router, scheduler, PostgreSQL, Redis, logs and backups
- Agree in writing which erasure requests the deletion API covers and which records need a documented retention exception
- Confirm with your legal and privacy team which Article 17(3) grounds you may rely on, and record the reasoning
How we build
- Wire the published Hyperswitch Deletion API into your request intake, with identity checks and an audit trail for every request
- Test deletion end to end in a non-production environment, including downstream copies, replicas and cached values
- Design backup handling so erased data is removed from backups on a documented schedule, not left to chance
How we hand over
- Deliver a written runbook covering request intake, deletion steps, exceptions, verification and escalation
- Provide test evidence showing which records were deleted, retained or anonymised, and why
- Train the operators who will process requests, and document who owns each step after go-live
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts
- Ongoing support, upgrades and continuous testing are available as a retainer
- Review the erasure path again when Hyperswitch releases change the data model or dependencies, and confirm the compatibility matrix first
Sources and further reading
- Hyperswitch docs: GDPR compliance ↗
- Regulation (EU) 2016/679 (GDPR), EUR-Lex ↗
- EDPB news: challenges hindering the full implementation of the right to erasure ↗
- EDPB Guidelines 05/2021 on the interplay between Article 3 and Chapter V of the GDPR (version 2.0) ↗
- EDPB Recommendations 01/2020 on measures that supplement transfer tools (version 2.0) ↗
- juspay/hyperswitch GitHub repository ↗

