Stripe and PCI

Stripe is PCI compliant. Your checkout page still has to be

"We use Stripe, so we're PCI compliant" is half right, and the missing half is the part with your name on the attestation. Stripe carries the heavy requirements for card data it holds. You still attest every year, and the integration you picked decides whether that's a short questionnaire or every requirement in the standard. Here's the split by integration, the 2025 change to SAQ A, and the v4.0.1 material from chapter 17.

This is engineering guidance, not legal advice. Your acquirer decides your validation requirements, and they are the ones to confirm your SAQ type with.

Stripe is certified every year by an independent Qualified Security Assessor as a PCI Level 1 Service Provider. That covers Stripe's systems: the vault that stores card numbers, the network that moves them, the hosted pages and iframes that collect them. It doesn't cover yours. Stripe's security guide calls PCI compliance "a shared responsibility": as a business accepting payments, "you must do so in a PCI-compliant manner, and annually attest to this compliance" (Stripe).

So the question isn't whether Stripe is compliant. It's how much of PCI DSS your integration leaves on your side, and that's decided almost entirely by where the card number is typed.

Which SAQ each Stripe integration lands you on

From Stripe's PCI guide, its raw card data article and the PCI Council's FAQ 1588, checked November 2026. The last column is ours.

IntegrationWhere the card number goesTypical SAQWhat's still yours
Payment Links, hosted Checkout (redirect)A Stripe page on Stripe's domainSAQ AYour site, your keys, the annual attestation
Embedded Checkout, Payment Element, ElementsA Stripe iframe inside your pageSAQ A, if you meet the script criterion belowThe page hosting the iframe and every script on it
Mobile SDKs with Stripe's UI componentsStripe's own UI in your appSAQ ACustom card-handling code can add requirements 6.3 to 6.5 and cost you SAQ A
Your own form tokenizing with Stripe.js v2Your page's fields, then StripeSAQ A-EPSecure development and testing of that page
Card numbers sent from your server to the APIYour serverSAQ DEverything. Stripe says "more than 300 security controls"

The bottom row is gated. Stripe's raw card data APIs are off by default, and to switch them on in live mode you send support a written description of your card data systems plus a current SAQ D, or an Attestation of Compliance if you're a Level 1 merchant or service provider. Test mode needs no documentation (Stripe). If you're not sure which integration you have, Stripe's PCI FAQ has a blunt tell: if you're being asked for SAQ D, it's "most likely because your integration passes raw card numbers through your own code before they reach Stripe."

Picking between Checkout and Elements on other grounds? Stripe Checkout vs Elements has the trade-offs.

The 2025 change to SAQ A

The SAQ A that goes with PCI DSS v4.0.1 dropped requirements 6.4.3 (an inventory and authorization of every script on the payment page) and 11.6.1 (detecting tampering with that page) from the questionnaire. In their place is an eligibility criterion you tick before you're allowed to use SAQ A at all: "The merchant has confirmed that their site is not susceptible to attacks from scripts that could affect the merchant's e-commerce system(s)" (PCI SSC).

PCI FAQ 1588, published in February 2025, says who that applies to and how to meet it (PCI SSC blog):

  • It applies to pages that embed a provider's payment form, such as an iframe. That's embedded Checkout, the Payment Element and Elements.
  • It doesn't apply if you redirect the customer to the provider's page (an HTTP 30x, a meta refresh or a JavaScript redirect) or fully outsource payments. Hosted Checkout and Payment Links are redirects.
  • You meet it one of two ways: deploy protections like those in 6.4.3 and 11.6.1 yourself, directly or through a third party, or get confirmation from your PCI-compliant provider that its embedded form, implemented as instructed, protects your payment page from script attacks.

What Stripe says about this, as of November 2026: its PCI guide places Checkout and Elements in SAQ A because they "host all card data collection inputs within an iframe served from Stripe's domain (not yours)", and its security guide publishes the Content Security Policy directives each Stripe product needs. Neither page addresses the script criterion or says Stripe provides the FAQ 1588 confirmation. Report URI reported in July 2026 that the PCI questionnaire in the Stripe Dashboard now asks you to confirm you've "deployed a Content Security Policy on our website in accordance with Stripe's CSP guidance" (Report URI). Read that as Stripe putting the first route on you. So for an embedded integration, plan on meeting the criterion with your own controls (a CSP on the payment page, a short list of scripts you can justify, and a way to notice when one changes), and ask Stripe in writing if you want to rely on the second route.

What stays yours whichever integration you pick

  • The attestation. You complete it every year. The Dashboard's compliance documents page holds Stripe's responsibility matrix and Attestation of Compliance, and Stripe offers prefilled SAQs and a guided wizard to some users (Stripe).
  • TLS on the payment page. Stripe requires TLS 1.2 or above on pages that take payments, and every script, stylesheet and image on them served over HTTPS (Stripe).
  • Card numbers that arrive by other routes. Anything typed into the Dashboard's manual payment form, read out on a support call or pasted into a ticket is yours to protect. Stripe says so for Dashboard payments explicitly.
  • Your secret keys. A leaked key doesn't expose card numbers, but it lets an attacker refund, pay out and read customer data.
  • Webhooks. Stripe never puts sensitive card data in a webhook event, but the endpoint still needs TLS and signature verification.

And what you can keep: Stripe's API returns the card brand, the last four digits and the expiry date, and those aren't subject to PCI DSS, so store them freely (Stripe).

The wider question of what puts a system in scope at all, connected systems included, is in PCI scope and choosing your SAQ.

The other v4.x requirements that caught e-commerce teams out, and the SAQ A change in context. From chapter 17.

What Changed in PCI DSS v4.0.1 (The Stuff You Probably Missed)

A few v4.x requirements caught e-commerce teams off-guard when they became mandatory on 31 March 2025. Most apply to everyone outside SAQ-A; the first one reaches SAQ-A merchants by a side door:

  • Requirement 6.4.3 / 11.6.1 - payment page scripts. Maintain an inventory of every script loaded into the cardholder data page (including third-party tags), justify each one, and detect unauthorized changes to script content or HTTP headers. The January 2025 revision of SAQ-A removed these two requirements (and the 12.3.1 risk analysis behind 11.6.1) and replaced them with an eligibility criterion: you confirm your site isn't susceptible to script attacks that could affect your e-commerce systems (PCI SSC, "Important Updates Announced for Merchants Validating to SAQ A", 2025). PCI FAQ 1588 says you can meet it with 6.4.3/11.6.1-style controls of your own, such as Content Security Policy and tamper monitoring, or with confirmation from your PCI-compliant provider that its embedded payment form is protected against script attacks. Ask your processor for that confirmation in writing.
  • Stronger authentication (Req 8). Passwords used as an authentication factor must be at least 12 characters (8 if the system can't support 12) and contain both letters and numbers (Req 8.3.6), and MFA is required for all non-console access into the cardholder data environment, not just admin access (Req 8.4.2).
  • Targeted risk analyses (Req 12.3.1). Where the standard allows flexibility on frequency (e.g. log reviews, scans), you must document a written risk analysis justifying your cadence.
  • Service provider responsibility matrix (Req 12.8 / 12.9). Clear, written allocation of which PCI DSS controls are owned by you versus your processor or platform.

Treat these as a checklist before your next SAQ renewal: most are cheap to implement, and "we didn't know about v4.0.1" is not a defense your acquirer will accept.

The part of Stripe security PCI doesn't ask about but an attacker will. From chapter 9.

Complete Implementation: See src/examples/9-stripe/advanced_security.py

Store API keys in environment variables and rotate them quarterly. Verify every webhook signature and reject unverified requests outright. Pass idempotency keys on every mutating call so retries can't double-charge. Add client-side rate limiting before Stripe's limits hit you, and log every payment operation for compliance and debugging.

# Idempotent payment creation
intent = stripe.PaymentIntent.create(
    amount=1000,
    currency='usd',
    idempotency_key=f"order_{order_id}"
)

Questions

Is Stripe PCI compliant?

Yes. Stripe is certified annually by an independent Qualified Security Assessor as a PCI Level 1 Service Provider. That covers Stripe's own systems; businesses using Stripe still have to accept payments in a PCI-compliant way and attest to it every year.

Does using Stripe make me PCI compliant?

No, it makes your share smaller. Stripe calls PCI compliance a shared responsibility. With Checkout or Elements you can usually validate with SAQ A, the shortest questionnaire, but you still complete it every year.

Which SAQ do I need with Stripe Elements?

Usually SAQ A, because Elements collects card data in an iframe served from Stripe's domain. Under the PCI DSS v4.0.1 SAQ A you must also confirm your page isn't susceptible to script attacks, either with your own controls such as a Content Security Policy or with written confirmation from your provider.

When does a Stripe integration need SAQ D?

When card numbers pass through your own servers before reaching Stripe, for example by sending raw card data to the API. Stripe only enables raw card data APIs in live mode after you provide a current SAQ D or a Level 1 Attestation of Compliance.

Does the SAQ A script requirement apply to Stripe Checkout?

Not to hosted Checkout or Payment Links. PCI FAQ 1588 says the criterion applies to pages that embed a provider's payment form, such as an iframe, and not to merchants that redirect customers to the provider's page. Embedded Checkout does embed a form, so it applies there.

What the book adds

The rest of chapter 17

  • What counts as card data, and what never to log
  • Tokenization, vaults and network tokens
  • KYC and AML obligations
  • 3D Secure, SCA and GDPR for payment data
  • Encryption, access control and audit logging

30-day money-back · Instant PDF and EPUB

All 42 chapters