Protecting payment data across borders. 6 chapters and a final quiz.
Managing payment data for a company that operates across continents. Define the PCI DSS scope and shrink it, choose between vault tokens and network tokens, and apply the Indian, Chinese, and Indonesian localization regimes without mixing them up. Pick the GDPR Chapter V transfer instrument, build a country-by-country retention matrix, then produce the evidence a Qualified Security Assessor asks for.
Define a multi-country PCI DSS scope and distinguish CDE systems, connected systems, and out-of-scope systems
Choose among hosted fields, vault tokens, network tokens, and P2PE based on the reversibility you need and local obligations
Apply the Indian, Chinese, and Indonesian localization regimes, treating storage, processing, backup, and remote access separately
Choose the GDPR Chapter V transfer instrument and document the impact assessment that goes with it
Chapter 1. Defining the scope before protecting it.
A security standard is demonstrated against a written scope: without one, no requirement applies to anything. PCI DSS calls this scope the CDE, the cardholder data environment, and defines it as the people, processes, and systems that store, process, or transmit account data. It also includes any connected system that could compromise them. That second half of the definition tends to get lost.
Three categories, not two
Inside the CDE: the system sees, stores, or carries account data. Application servers, message buses, call recorders.
Connected or security-impacting: the system does not see the data but can put it at risk. Identity directories, jump servers, hypervisor consoles, deployment pipelines.
Out of scope: no access, no influence, and isolation demonstrated by testing. Isolation must be proven; it cannot simply be declared.
Scenario
Category
What the assessor asks for
Back office shows a masked PAN from a tokenized database
Inside the CDE if the detokenization service is reachable from that server
Firewall rules to the vault and the access rights matrix
The identity provider authenticates CDE administrators
The deployment pipeline pushes code to CDE servers
Security-impacting
Pipeline controls, code review, separation of secrets
The call center records calls in which customers read out their card details
Inside the CDE
Pause-and-resume recording, CVV purge, access logs for recordings
The marketing website, on a separate network with no route to the CDE
Out of scope
Dated penetration test of the segmentation controls
What brings a system into scope
A multi-country business does not have one CDE. It has one per regional stack. A localization obligation creates a local stack, with its own servers, administrators, and backups, and that stack comes into scope like the others. The classic mistake is to describe the target architecture at headquarters and ignore the local deployments that local law requires.
Searching for stray PAN where the data should not be
# PAN candidates: Visa, Mastercard, Amex, Discover.
# A regex is not enough: filter the hits with a Luhn check.
PAN='\b(4[0-9]{12}([0-9]{3})?|5[1-5][0-9]{14}|3[47][0-9]{13}|6(011|5[0-9]{2})[0-9]{12})\b'
# Application logs, exports, backups mounted read-only.
grep -rInE "$PAN" /var/log /srv/exports /mnt/backup \
--exclude-dir=.git -l > /tmp/locations.txt
# NEVER log the matched value: only the path and the line count.
# The list of locations is itself sensitive data: it lives in the CDE.
⚠️
Scope drifts between audits
PAN resurfaces where nobody expects it: in an emergency export, a debug table, a message queue that was never purged. Since March 31, 2025, PCI DSS v4.0.1 has required a response procedure for PAN found outside its expected locations (requirement 12.10.7). Finding PAN is not the incident. Having no procedure is.
March 31, 2025
date the future-dated requirements of PCI DSS v4.x became mandatory
PCI Security Standards Council
12 months
how often scope must be confirmed in writing; every 6 months for a service provider
PCI DSS v4.0.1, requirements 12.5.2 and 12.5.2.1
3 months
how often to verify that account data past its retention period has been deleted
PCI DSS v4.0.1, requirement 3.2.1
🎯 Quick question
Your identity directory, hosted outside the CDE, authenticates the payment servers’ administrators. Which scope category does it fall into?
Chapter 2. Reducing scope: hosted fields, tokens, and P2PE.
Scope reduction is the only lever that changes the cost by an order of magnitude. Better encryption takes no system out of scope. No longer holding the data takes out dozens. Four techniques get there, but they do not reduce the same thing. Confuse them, and you pay for tokenization while still filling out the heaviest questionnaire.
Engineering
What leaves scope
What the merchant still owns
Drawback
Hosted fields or redirect
PAN entry and transport: the PAN never passes through the merchant’s server
Integrity of the page hosting the field, and an inventory of loaded scripts
Compliance evidence depends on the provider; its failure becomes yours
Provider vault token
PAN storage in merchant databases
Access control on the payment API and logging of calls
Proprietary token: without a portability clause, switching providers means customers re-enter their cards
Network token (Visa Token Service, Mastercard Digital Enablement Service)
PAN storage, plus updates for reissued or expired cards
Managing the token life cycle and handling the PAR
Service fees, and dependence on the network that issues the token
Validated P2PE solution (physical point of sale)
The terminal encrypts at card read: most of the store network drops out of scope
Only PCI SSC-validated solutions reduce scope; homegrown encryption reduces nothing
Four ways to stop holding the PAN, and what each one removes
The path of a PAN in a tokenized architecture
Customer’s browser
Enters the PAN in a hosted field
The field belongs to the provider’s domain; the merchant’s server never sees it
➜
Provider
Sends the PAN to the card network for authorization
The PAN exists in clear text in an audited environment, outside the merchant’s system
➜
Token vault
Returns a token, plus the PAR when the network provides one
The PAR links together the tokens issued for the same card
➜
Merchant database
Stores the token, card brand, and last four digits
No sensitive authentication data, and never the CVV
➜
Detokenization service
Stays with the provider, released only on a justified, logged request
A merchant system that can detokenize enters the CDE: this is the tipping point
The shortest self-assessment questionnaire changed in 2025. The PCI SSC removed requirements 6.4.3 and 11.6.1 from SAQ A, along with targeted risk analysis 12.3.1, which supported the latter. An eligibility criterion replaces them. The merchant confirms that every element of its payment page comes directly from a compliant provider and that its site is not exposed to scripts that could affect its e-commerce system. The January 2025 version replaced the October 2024 version on March 31, 2025.
⚠️
A requirement dropped from the questionnaire still applies
Dropping 6.4.3 and 11.6.1 from SAQ A changes how you report, not what the standard requires. PCI DSS still calls for an inventory of payment page scripts and for tamper detection. The acquirer and the card networks decide what must be validated. A merchant that stops monitoring its payment page because the questionnaire no longer mentions it is setting itself up for browser-side data theft that no one will detect.
🔑
A token is pseudonymization, not anonymization
A token takes data out of PCI DSS scope, but not out of the GDPR. As long as a third party can link it back to the cardholder, Regulation (EU) 2016/679 applies. Article 4(5) classes pseudonymization as a safeguard, not as a way out of scope. The PAR reinforces the point, since it links the same card’s tokens across merchants. A token vault is still personal data processing, with a legal basis and a retention period.
Decide first who holds the PAN. Everything else follows, including which questionnaire applies.
Check whether a market mandates tokenization. India has required it of merchants and aggregators since October 1, 2022.
Choose the token type based on the reversibility you need, not on the list price.
Negotiate token portability before signing: once the contract is signed, the exit cost is no longer up for discussion.
Record the vault as personal data processing, with a purpose, a retention period, and a revocation procedure.
🎯 Quick question
A merchant uses hosted fields and stores only tokens. Its back office can call the detokenization API to show customer service the full PAN. What is the consequence?
Chapter 3. Localizing data: India, China, Indonesia.
The word “localization” hides three questions: where the data is stored, where it is processed, and who may access it from abroad. A law sometimes answers all three but often only one, so reading an obligation means working out which one it addresses. A fourth question almost never gets documented: which country the backups live in.
Market
Obligation
Legal text
What the supervisor asks for
India
All payment system data is stored on systems located in India. For cross-border transactions, a copy of the domestic leg may be kept abroad
Reserve Bank of India, Storage of Payment System Data, circular DPSS.CO.OD No. 2785/06.08.005/2017-2018, April 6, 2018
A system audit report by a CERT-In-empaneled auditor: a document, not a self-declaration
China
Critical information infrastructure operators store the personal data and important data they collect in China within the country. Any export follows one of the three routes in Article 38 of the PIPL
Cybersecurity Law, Art. 37 (June 1, 2017); Personal Information Protection Law, Arts. 38 and 40 (November 1, 2021)
Whether the entity qualifies as a critical operator, then the security assessment or the filed standard contract
Indonesia
The electronic system that handles initiation, authorization, clearing, and settlement sits in a data center and a disaster recovery center in the country. Processing abroad requires central bank approval
Bank Indonesia, Regulation No. 23/6/PBI/2021 on payment service providers
Both centers actually in place, and approval for any processing outside the country
India, China, Indonesia: what each regime requires of a payment business
China looks at volume, not at the destination country. The Provisions on Facilitating and Regulating Cross-Border Data Flows issued by the Cyberspace Administration of China, in force since March 22, 2024, set cumulative annual thresholds. The count resets on January 1, and a payment business crosses the first threshold quickly.
Fewer than 100,000 people in the calendar year, excluding sensitive personal information: no transfer mechanism required.
100,000 to 1 million people, excluding sensitive personal information, or fewer than 10,000 people for sensitive personal information: a filed standard contract, or certification.
More than 1 million people, or more than 10,000 people for sensitive personal information, or any important data: a security assessment by the Cyberspace Administration of China.
Critical information infrastructure operator: a security assessment for any export of personal data, regardless of volume.
⚠️
In Indonesia, general law and sector law diverge
Government Regulation No. 71 of 2019 allows a private electronic system operator to manage, process, and store data outside Indonesia, provided the authorities can still supervise and enforce effectively. The payments rule is stricter. Bank Indonesia Regulation No. 23/6/PBI/2021 requires a data center and a disaster recovery center in Indonesia for transaction processing. Sector law adds to general law; it does not relax it.
June 1, 2017
China’s Cybersecurity Law takes effect
Article 37 requires critical information infrastructure operators to store the personal data and important data they collect in China within the country.
April 6, 2018
India’s Storage of Payment System Data circular
The Reserve Bank of India requires payment system data to be stored on systems located in India, backed by an audit report from a CERT-In-empaneled auditor.
2021
Indonesia’s Regulation No. 23/6/PBI/2021
Bank Indonesia requires payment service providers to operate a data center and a disaster recovery center in Indonesia.
November 1, 2021
China’s PIPL takes effect
Article 38 opens three routes for exporting personal data (security assessment, certification, and standard contract), while Article 40 tightens localization for critical operators.
October 1, 2022
India ends PAN storage by merchants
Merchants and payment aggregators may no longer store the card number, CVV, or expiration date. For guest checkout, storage is allowed for up to four days after the transaction, or until the settlement date if that comes first.
March 22, 2024
China eases cross-border data transfers
The Provisions on Facilitating and Regulating Cross-Border Data Flows introduce annual volume thresholds and exemptions.
October 17, 2024
Indonesia’s Law No. 27 of 2022 ends its transition period
The Personal Data Protection Law, enacted on October 17, 2022, becomes fully enforceable after a two-year transition.
November 2025
India notifies the Digital Personal Data Protection Rules, 2025
India’s Ministry of Electronics and Information Technology publishes the rules implementing the 2023 Act, with a phased entry into force.
🔑
Backup and support are the two blind spots
Two components almost always escape the data flow register. The first is backup, because it belongs to infrastructure rather than to the application. The second is support: an operator who logs in from another time zone reads the data without moving it. Add two columns to the register: country of the copies and country of the admin consoles. These blind spots are what sink an on-site inspection.
🎯 Quick question
Your payment platform serves Indonesia from Singapore. Legal counsel points to Government Regulation No. 71 of 2019, which lets private operators store data outside Indonesia. How do you respond?
Chapter 4. Transferring data: GDPR Chapter V in practice.
The GDPR imposes no general localization requirement; it governs data exports. Chapter V of Regulation (EU) 2016/679 sets a short rule: a transfer to a third country must rest on a named instrument, chosen and documented. The instrument is never presumed. The Article 28 data processing agreement is not one: it governs processing on the controller’s behalf, not the crossing of a border.
Instrument
Legal basis
Evidence for the file
Where it falls short
Adequacy decision
Article 45
The decision reference, and confirmation that it actually covers the recipient
Its reach can be limited: the EU-US Data Privacy Framework, adopted on July 10, 2023, covers only certified organizations
Standard contractual clauses
Article 46
The right module from Implementing Decision (EU) 2021/914 of June 4, 2021, and the transfer impact assessment
When the recipient’s local law strips the clauses of effect and no supplementary measure is in place
Binding corporate rules
Article 47
Approval by the lead supervisory authority
They cover the group, never a third-party provider
Derogations
Article 49
Proof that the transfer is occasional and non-repetitive
A regular production flow does not qualify
Chapter V instruments and what each requires you to produce
The Schrems II judgment, handed down by the Court of Justice of the EU on July 16, 2020, in Case C-311/18, upheld the standard clauses but changed how they are used. The exporter must now verify that the law of the destination country does not undermine the contractual safeguards. That check is called the transfer impact assessment. The European Data Protection Board set out the method in its Recommendations 01/2020, adopted in final form on June 18, 2021.
Map the transfer: which data, to whom, for what purpose, and through which sub-processors.
Identify the Chapter V instrument used and, for standard contractual clauses, the exact module.
Assess the law and practice of the destination country, including access by public authorities.
Add the supplementary measures the assessment calls for: technical, contractual, and organizational.
Complete the procedural formalities tied to the chosen instrument.
Reassess at set intervals and whenever local law changes.
⚠️
Remote support is a transfer
An operations team that logs in to a European server from a third country is accessing personal data. That access falls under Chapter V just as a database replication does. The record of processing activities required by Article 30 must include it. Article 28 contracts name the countries the service is delivered from; otherwise, the sub-processor list does not reflect operational reality.
The Indian case shows how two regimes stack without offsetting each other. The central bank requires storage in India. The European controller, for its part, must cover the transfer to India, which has no adequacy decision. Complying with the 2018 circular settles nothing on the European side. A provider that pitches its Indian deployment as a GDPR solution is confusing a localization obligation with a transfer instrument.
ℹ️
One transfer register serves two purposes
A register that lists, for each flow, the data, the storage country, the country of the copies, the access countries, and the legal instrument serves both GDPR Chapter V and the Asian localization regimes. Maintaining it once saves rebuilding it for every inspection. It also feeds the PCI DSS scope statement, which asks for the same flows from another angle.
🎯 Quick question
Your anti-fraud provider is based in a country without an adequacy decision. The flow runs daily and covers every transaction. Which instrument do you use?
Chapter 5. Retaining and erasing data: the country matrix.
Retention does not fit in a single policy. It takes the form of a matrix. Each data category runs on its own clock, and the clock changes from country to country. Two forces pull in opposite directions: data protection law caps retention, while commercial law and anti-money laundering rules mandate it. PCI DSS adds a constraint of its own, absolute for one specific category.
Nothing. Storage after authorization is prohibited
PCI DSS v4.0.1, requirement 3.3.1, even when encrypted
CVV kept “for the subscription” when the token would do
PAN or token kept for one-click payment
The contractual relationship and the cardholder’s consent
Storage limitation, GDPR Art. 5(1)(e)
The vault holds tokens for customers inactive for years
Transaction evidence for disputes
The network’s dispute window and applicable local law
Nothing requires keeping the evidence beyond the window and any open disputes
Erasure granted to the customer during the dispute window, leaving no defense
Customer identification data kept for AML purposes
The sector obligation in the licensing country
It overrides the right to erasure for its full duration
Headquarters’ retention period applied to every subsidiary
Audit logs
PCI DSS sets a floor; data minimization sets a ceiling
At least 12 months, with 3 months immediately available (requirement 10.5.1)
Logs kept for seven years “just in case,” personal data included
Which clock governs, category by category
The retention clock is national. A group policy that aligns every country on the longest period breaches storage limitation everywhere else. One that aligns on the shortest creates a retention gap in the stricter countries. The way out is a matrix by category and by country, built with local teams and reviewed every year.
Data category, defined at the field level, not the table level
Purpose, with the legal basis or sector obligation behind it
Retention in the active database, then retention in restricted-access archives
Country: the same category carries different periods depending on the license
Proof of purge: job name, frequency, location of the timestamped report
⚠️
Deletion has to be proven
PCI DSS requires verifying at least every three months that account data past the defined retention period has been deleted or rendered unrecoverable (requirement 3.2.1). The expected evidence is the dated result of that check, because an assessor cannot verify a purge job that leaves no trace. Produce a timestamped report, keep it, and document how you followed up on any anomalies found.
ℹ️
Erasure extends to the token vault
An erasure request does not stop at the merchant’s database. A token remains data about an identifiable person as long as a third party can link it back to the cardholder. Set up a token revocation procedure with the provider, with confirmation that it has been carried out. The Article 28 contract must require that step and set its deadline; otherwise, the chain of accountability breaks at the first processor.
🎯 Quick question
A customer asks for their data to be erased. A payment dispute involving them is open, and the card network’s dispute window is still running. What does the controller do?
Chapter 6. Preparing the audit and keeping the evidence.
You don’t prepare for an audit at audit time. The assessor looks at 12 months. A missed quarterly scan cannot be made up the day before. Preparation means producing dated evidence throughout the year and knowing where it is filed. The rest is formatting.
🧾
QSA
The Qualified Security Assessor, certified by the PCI SSC. The QSA prepares the report on compliance and signs the attestation, sampling from a population that you must provide in full.
🔎
ASV
The Approved Scanning Vendor. It runs the external vulnerability scans at least every three months (requirement 11.3.2). Each scan report is dated.
🚨
PFI
The PCI Forensic Investigator, brought in at a card network’s request after a confirmed compromise. The audited entity has no control over its report.
The scope statement: entities assessed, sites, countries, and regional stacks, with the date scope was last confirmed.
The network diagram and the account data flow diagram, kept up to date (requirements 1.2.3 and 1.2.4).
The inventory of in-scope components and their functions (requirement 12.5.1).
The list of service providers that handle account data, with their attestations of compliance (requirement 12.8).
The responsibility matrix, requirement by requirement, between the entity and each provider (requirement 12.8.5).
The targeted risk analyses supporting controls whose frequency the entity sets itself (requirement 12.3.1).
The dated reports: ASV scans, penetration tests, segmentation tests, and quarterly purge checks.
Enforcement
Entity
Service provider
Reference
Documented scope confirmation
At least every 12 months
At least every 6 months, and after any significant change
Requirements 12.5.2 and 12.5.2.1
Penetration test of segmentation controls
At least every 12 months
At least every 6 months
Requirement 11.4
External vulnerability scans by an ASV
At least every 3 months
At least every 3 months
Requirement 11.3.2
Verifying deletion of data past its retention period
At least every 3 months
At least every 3 months
Requirement 3.2.1
Monitoring service provider compliance
At least every 12 months
At least every 12 months
Requirement 12.8.4
Periodic controls, and how the cadence differs for service providers
⚠️
The responsibility matrix is the missing piece
A provider’s attestation of compliance does not spell out who does what. Yet requirement 12.8.5 asks you to maintain, requirement by requirement, the split of responsibilities between the entity and each of its providers. Without that matrix, each side assumes the other covers the control, and nobody does. Ask for it when you sign the contract, not when the report is due.
Compliance with the standard and local law are two separate regimes: a fully compliant provider can host data outside the territory a regulator mandates. Check the two separately, with different contacts. Add a “hosting country” column for each provider to the audit file, along with the reference of the local law that applies.
✅
Three documents do the heavy lifting
The data flow diagram sets the scope and feeds the scope statement. The register of transfers and access countries serves GDPR Chapter V and the Asian localization regimes alike. The retention matrix drives purges and their evidence. An organization that keeps these three documents current as it goes passes its audit by producing them; the others pass it by reconstructing them. That is when the gaps show up.
🎯 Quick question
Two weeks before the assessment, you discover that only one ASV scan has been run in the past 12 months. What is the most likely consequence?