Summary
Running an online store means handling payment card data — and that comes with serious responsibility. The Payment Card Industry Data Security Standard (PCI DSS) requires ecommerce businesses to maintain specific documentation that proves your security controls are in place and working. Without proper records, you risk failed audits, costly fines, and the kind of data breach that can permanently damage customer trust. - Level 1: Over 6 million transactions per year — requires an annual Report on Compliance (ROC) by a Qualified Security Assessor (QSA) - Level 2: 1–6 million transactions — requires an annual Self-Assessment Questionnaire (SAQ)
PCI DSS Documentation for Ecommerce: A Complete Guide
Running an online store means handling payment card data — and that comes with serious responsibility. The Payment Card Industry Data Security Standard (PCI DSS) requires ecommerce businesses to maintain specific documentation that proves your security controls are in place and working. Without proper records, you risk failed audits, costly fines, and the kind of data breach that can permanently damage customer trust.
This guide walks you through exactly what PCI DSS documentation your ecommerce business needs, why each document matters, and how to build a documentation program that keeps you audit-ready year-round.
What Is PCI DSS and Why Does It Apply to Ecommerce?
PCI DSS is a global security standard developed by the major card brands — Visa, Mastercard, American Express, Discover, and JCB — to protect cardholder data. Any business that stores, processes, or transmits payment card information must comply, including ecommerce merchants of every size.
Even if you use a third-party payment processor like Stripe or PayPal, you are still in scope. Your website, hosting environment, plugins, and internal processes all fall under PCI DSS requirements. Version 4.0, the current standard, places even greater emphasis on documentation, risk analysis, and demonstrable evidence of ongoing compliance.
The Four Merchant Levels and How They Affect Documentation
Your documentation requirements depend on your merchant level, which is determined by annual transaction volume:
- Level 1: Over 6 million transactions per year — requires an annual Report on Compliance (ROC) by a Qualified Security Assessor (QSA)
- Level 2: 1–6 million transactions — requires an annual Self-Assessment Questionnaire (SAQ)
- Level 3: 20,000–1 million ecommerce transactions — requires an annual SAQ
- Level 4: Fewer than 20,000 ecommerce transactions — requires an annual SAQ and may require quarterly network scans
Most small and mid-sized ecommerce businesses fall into Levels 3 or 4, which means the SAQ is your primary compliance document. However, the supporting documentation behind that SAQ is where most merchants fall short.
Core PCI DSS Documents Every Ecommerce Business Needs
1. Self-Assessment Questionnaire (SAQ)
The SAQ is your primary compliance attestation document. Ecommerce merchants typically complete SAQ A (if all payment processing is fully outsourced) or SAQ A-EP (if your website directly affects the payment transaction). Choosing the wrong SAQ type is a common and costly mistake.
Your completed SAQ must be signed by an executive officer and submitted to your acquiring bank annually.
2. Cardholder Data Flow Diagram
This document maps exactly how payment card data moves through your environment — from the moment a customer enters their card number to final settlement. It should include:
- Every system that touches card data
- Third-party service providers in the flow
- Data storage locations (even temporary ones)
- Network segments and trust boundaries
A clear, accurate data flow diagram is foundational. It determines your scope, and scope determines everything else.
3. Network Diagram
Your network diagram documents the architecture of your ecommerce environment, including:
- Web servers, application servers, and databases
- Firewalls and network segmentation controls
- Connections to the internet and to third-party providers
- Any wireless access points
PCI DSS Requirement 1 specifically mandates maintaining accurate network diagrams. Auditors will compare your diagram against your actual environment.
4. Information Security Policy
A formal, written information security policy is required under PCI DSS Requirement 12. For ecommerce businesses, this policy should cover:
- Acceptable use of systems that process card data
- Data classification and handling procedures
- Incident response responsibilities
- Roles and responsibilities for security oversight
- Annual review and approval process
This policy sets the tone for your entire compliance program. It should be reviewed and re-approved at least once per year.
5. Risk Assessment Documentation
PCI DSS 4.0 elevated the importance of targeted risk analysis. You must document:
- An annual formal risk assessment covering all in-scope systems
- Targeted risk analyses for specific controls where you’ve chosen a customized approach
- How identified risks are prioritized and remediated
Your risk assessment ties directly to how you justify your security controls, so it needs to be thorough and revisited regularly.
6. Vendor and Third-Party Management Documentation
Ecommerce businesses rely heavily on third parties — payment gateways, hosting providers, CDNs, fraud detection tools, and more. PCI DSS requires you to:
- Maintain a list of all third-party service providers (TPSPs) in scope
- Obtain annual written acknowledgments from each TPSP confirming their PCI DSS responsibilities
- Document which PCI DSS requirements each party manages on your behalf
This is often called a Responsibility Matrix or Shared Responsibility Document, and it’s critical for scoping your own compliance obligations accurately.
7. Vulnerability Management Records
Requirement 6 and Requirement 11 both demand documented evidence of your vulnerability management activities:
- Results from quarterly internal and external vulnerability scans
- Penetration testing reports (required at least annually)
- Records of how identified vulnerabilities were remediated
- Change management logs showing security review of system changes
For ecommerce sites, this includes scanning your web application for OWASP Top 10 vulnerabilities, not just your network infrastructure.
8. Access Control Documentation
You must document who has access to cardholder data environments and why. Required records include:
- User access lists with roles and permissions
- Records of access provisioning and de-provisioning
- Multi-factor authentication configuration documentation
- Privileged access management procedures
Least-privilege access is a core PCI DSS principle. Your documentation should demonstrate that access is granted only when necessary and reviewed regularly.
9. Incident Response Plan
Every ecommerce business must have a written incident response plan that covers payment card data breaches specifically. The plan should include:
- Roles and responsibilities during an incident
- Contact information for card brands, your acquiring bank, and forensic investigators
- Containment, eradication, and recovery procedures
- Post-incident review process
The plan must be tested at least annually — and that test must be documented.
10. Security Awareness Training Records
Requirement 12.6 mandates security awareness training for all personnel with access to the cardholder data environment. You must maintain:
- Training completion records for each employee
- Training content and materials
- Acknowledgment forms confirming employees have read and understood security policies
Keeping Your Documentation Current
PCI DSS compliance is not a one-time project. Documentation must be maintained continuously and updated whenever your environment changes. Best practices include:
- Schedule annual reviews for all core policy documents
- Update diagrams immediately when infrastructure changes
- Log all changes to in-scope systems through a formal change management process
- Assign document ownership so someone is accountable for each record
- Store documents securely with version control and access restrictions
Common Documentation Mistakes Ecommerce Merchants Make
- Completing SAQ A when SAQ A-EP is actually required
- Forgetting to include third-party plugins and JavaScript libraries in scope
- Using outdated network diagrams that don’t reflect current architecture
- Missing vendor acknowledgment letters from payment processors and hosts
- Failing to document remediation of scan findings
- Letting policies sit unsigned and unreviewed for years
FAQ: PCI DSS Documentation for Ecommerce
How long do I need to keep PCI DSS documentation?
PCI DSS requires you to retain audit logs for at least 12 months, with the most recent three months immediately available. For policy documents, SAQs, and assessment records, best practice is to retain them for at least three years to support historical audits or dispute resolution.
Do I still need PCI DSS documentation if I use Shopify or a fully hosted platform?
Yes. Even on fully hosted platforms, you are still a merchant under PCI DSS. You’ll likely qualify for SAQ A, which has lighter requirements, but you still need to complete and sign the SAQ annually, manage your vendor list, train your staff, and maintain an incident response plan.
What happens if my documentation is incomplete during an audit?
Incomplete documentation typically results in non-compliance findings, even if your technical controls are sound. Your acquiring bank may impose fines, increase transaction fees, or require a more intensive assessment. In the event of a breach, poor documentation significantly worsens your liability exposure.
How often do I need to update my network and data flow diagrams?
PCI DSS requires these diagrams to be kept current. In practice, this means updating them whenever a significant change occurs — new payment integrations, server migrations, new third-party tools — and reviewing them formally at least once per year.
Is there a difference between PCI DSS documentation for B2C and B2B ecommerce?
The core requirements are the same. However, B2B ecommerce sites that store card-on-file for repeat billing face additional documentation requirements around secure storage, tokenization policies, and recurring billing procedures.
Build Your PCI DSS Documentation Program Faster
Creating all of this documentation from scratch is time-consuming and easy to get wrong. Missing a required document or using the wrong template can mean a failed assessment, delayed certification, or worse — a data breach that could have been prevented.
Our ready-to-use PCI DSS documentation templates give ecommerce businesses everything they need in one complete package. Each template is written by compliance professionals, aligned with PCI DSS 4.0, and designed to be customized for your specific environment in hours — not weeks.
The package includes all core policies, procedure documents, risk assessment frameworks, vendor management templates, incident response plans, and more — formatted and ready for your QSA or acquiring bank.
Stop starting from a blank page. Get your PCI DSS documentation templates today and walk into your next assessment with confidence.
Start with the framework or readiness kit that matches your current compliance track.