Guide
PCI DSS Compliance for SaaS: What You Need to Know
PCI DSS (Payment Card Industry Data Security Standard) is a set of security requirements for any business that handles credit card data. For SaaS companies, compliance depends on how you process payments. If you use a third-party processor like Stripe that takes card data on their own page, you have a much smaller scope. If you capture or store card data yourself, you face the full requirements. Most SaaS companies can achieve compliance by using a PCI-validated processor and completing a self-assessment questionnaire (SAQ) annually.
What Is PCI DSS and Why Does It Apply to SaaS?
PCI DSS is a security standard created by the major credit card brands (Visa, Mastercard, Amex, etc.). It applies to any company that stores, processes, or transmits cardholder data. If your SaaS accepts credit card payments, you fall under its scope.
The standard has 12 core requirements, grouped into six goals: build and maintain a secure network, protect cardholder data, maintain a vulnerability management program, implement strong access control measures, regularly monitor and test networks, and maintain an information security policy.
For SaaS founders, the key is understanding where your payment data flows and how much of it you touch. The less you handle, the easier compliance becomes.
Three Ways SaaS Companies Handle Payments and Their Compliance Scope
Your compliance scope is determined by how you integrate payments. Here are the common models:
- Redirect to a third-party payment page (e.g., Stripe Checkout, PayPal). Card data never touches your servers. Your scope is minimal. You typically fill out SAQ A or SAQ A-EP.
- Embed iframe or JavaScript from a PCI-validated processor (e.g., Stripe Elements). Card data goes directly from the browser to the processor. Your servers see only a token. Scope is still low, SAQ A-EP applies.
- Direct post to your server (capturing raw card numbers). This puts you in the highest scope. You must comply with all PCI DSS requirements and likely need an on-site assessment (ROC) by a Qualified Security Assessor (QSA). Most SaaS companies avoid this.
PCI DSS Validation Levels for Merchants and Service Providers
Compliance validation depends on your transaction volume and role. As a SaaS, you may be both a merchant (collecting payments for your service) and a service provider (if you store or process card data on behalf of others).
| Level | Merchant Criteria (Visa) | Validation Requirement |
|---|---|---|
| 1 | Over 6 million transactions/year | Annual ROC by QSA, quarterly ASV scan |
| 2 | 1 to 6 million transactions/year | Annual SAQ or ROC, quarterly ASV scan |
| 3 | 20,000 to 1 million e-commerce transactions/year | Annual SAQ, quarterly ASV scan |
| 4 | Less than 20,000 e-commerce transactions/year | Annual SAQ, quarterly ASV scan (as required by acquirer) |
Most SaaS startups are Level 3 or 4. Service providers (e.g., if your SaaS stores cards for other businesses) must complete a SAQ annually and may need a ROC if they are Level 1.
Step-by-Step: How to Achieve PCI DSS Compliance for Your SaaS
- Determine your scope by mapping your payment data flow. Identify all systems that interact with card data.
- Choose a PCI-validated payment processor (like Stripe, Braintree, Adyen) that offers tokenization or hosted payment pages.
- Select the correct SAQ based on your integration method. Common SAQs for SaaS: SAQ A (redirect), SAQ A-EP (iframe or JS), SAQ D (if you handle raw card data).
- Implement required security controls: use HTTPS everywhere, encrypt data at rest, restrict access to card data, maintain firewalls, run vulnerability scans quarterly via an Approved Scanning Vendor (ASV).
- Complete the SAQ honestly. It includes questions about your security policies, network architecture, and data retention.
- Pass an ASV scan quarterly. The scan checks your public-facing IPs for known vulnerabilities.
- Submit your SAQ and scan report to your acquiring bank (the bank that processes your payments). They will validate your compliance.
Common Pitfalls for SaaS Companies
- Assuming tokenization eliminates all scope. If your server ever receives card data (even temporarily), that system is in scope. Use a hosted payment page to keep card data off your infrastructure entirely.
- Using the wrong SAQ. Many SaaS companies fill out SAQ A when they should use SAQ A-EP. SAQ A applies only if card data never passes through your systems. If you embed a payment form on your site, you likely need SAQ A-EP.
- Neglecting network segmentation. If your card processing systems are on the same network as your main application, the entire network is in scope. Segment your payment systems to limit scope.
- Forgetting about quarterly scans. Even if you complete your SAQ, you must run and pass an ASV scan every 90 days. Missing a scan can lead to fines or loss of ability to process cards.
How to Stay Compliant After Initial Validation
PCI DSS is not a one-time checkbox. You must maintain compliance continuously. Key ongoing activities:
- Run quarterly ASV scans and after any significant network change.
- Review and update security policies annually.
- Monitor access logs for cardholder data environments.
- Apply security patches promptly (within 30 days for critical vulnerabilities).
- Train employees on security awareness and data handling.
- If you change payment processors or integration methods, re-evaluate your SAQ.
Automated security testing can help catch misconfigurations and vulnerabilities early. A tool like Kyro can continuously scan your application for issues like broken access control or injection that might compromise payment data. Start a free scan to see what an attacker might find.
Find these bugs in your own app
Kyro runs an AI security hunter against your SaaS and emails you the moment it confirms a real, reproducible vulnerability.
Start a free scanFrequently asked questions
Do I need to be PCI DSS compliant if I use Stripe?
Yes, if you accept credit card payments. Using Stripe reduces your scope but does not eliminate compliance. You still need to complete a SAQ (usually SAQ A or A-EP) and pass quarterly ASV scans.
What happens if I am not PCI compliant?
You risk fines from your acquiring bank, increased transaction fees, or losing the ability to process credit cards. In case of a data breach, you could face liability and reputational damage.
Can I use a self-assessment questionnaire (SAQ) instead of an on-site assessment?
Yes, most SaaS companies can use a SAQ. Only Level 1 merchants (over 6 million transactions per year) or service providers with high volume require an on-site Report on Compliance (ROC) by a QSA.
How often do I need to renew PCI DSS compliance?
Annually. You must submit a new SAQ and pass a quarterly ASV scan each year. Some acquirers may require more frequent validation.