How you integrate card payments decides how much of the PCI DSS applies to you. The lightest self-assessment questionnaire covers a few dozen requirements; the heaviest covers the full standard of more than 250. That choice is usually made by a developer picking an SDK in the first week of a project, long before anyone thinks about compliance.
This guide explains the questionnaires that matter for online businesses, which integration leads to which, and the eligibility changes PCI SSC made to SAQ A in 2025.
Last reviewed: 21 November 2026. Your acquirer or payment provider confirms which SAQ you must use.
The questionnaires for online card payments
| SAQ | For whom | Roughly how much of PCI DSS |
|---|---|---|
| SAQ A | E-commerce merchants that fully outsource card handling. The card form is entirely provided by a PCI-compliant third party | Smallest: a few dozen requirements |
| SAQ A-EP | E-commerce merchants that outsource processing, but whose website can affect the security of the payment transaction | Medium: well over a hundred requirements |
| SAQ D (merchant) | Merchants that store, process or transmit card data on their own systems | Full standard |
| SAQ D (service provider) | Service providers eligible to self-assess | Full standard, plus service provider requirements |
Other SAQs (B, B-IP, C, C-VT, P2PE, SPoC) cover card-present terminals, virtual terminals and point-to-point encryption.
Large merchants (by transaction volume) and many service providers need a Report on Compliance from a Qualified Security Assessor instead of an SAQ. Payment platforms, PSPs and many SaaS products that touch card data are service providers.
Which integration leads to which SAQ
| Integration pattern | How it works | Usual SAQ |
|---|---|---|
| Full redirect to a hosted payment page | Customer leaves your site for the provider's checkout page | SAQ A |
| Iframe with the provider's payment form | Provider's page shown inside your page | SAQ A, if eligibility criteria are met |
| Hosted fields (each card field in its own provider iframe) | Your page layout, provider's fields | SAQ A in many cases, if eligibility criteria are met; confirm with your provider |
| JavaScript form where your page creates the fields and the provider's JS sends data | Card data typed into fields your page controls | SAQ A-EP |
| Direct post from your page to the provider | Your HTML form posts card data to the provider | SAQ A-EP |
| Server-to-server API with card numbers | Your backend receives card data | SAQ D |
| Storing card numbers | Your systems store card numbers | SAQ D, and in India this isn't allowed for merchants under RBI tokenisation rules |
The deciding question is: could a change to your website or servers change what happens to the card data? If the card form comes entirely from the provider, in a separate page or a frame from their domain, your site can't read what's typed. That's SAQ A. If your page creates the fields or loads the script that collects the data, an attacker who modifies your page could capture card numbers. That's at least SAQ A-EP.
The 2025 changes to SAQ A
In PCI DSS 4.0, two new requirements target attacks on payment pages: 6.4.3 (manage every script on the payment page) and 11.6.1 (detect tampering with payment page scripts and headers). Both became mandatory on 31 March 2025.
At first, SAQ A included them, which worried merchants using iframes: the requirements applied to the parent page hosting the iframe. In January 2025, PCI SSC revised SAQ A:
- 6.4.3 and 11.6.1 were removed from SAQ A.
- Instead, merchants must confirm new eligibility criteria, including that all elements of the payment page come only from a PCI DSS-compliant third-party provider, and that their site is not susceptible to attacks from scripts that could affect the merchant's e-commerce system.
- PCI SSC's FAQ (1588) explains how merchants can show this: either by meeting 6.4.3 and 11.6.1 for the page that hosts the iframe, or by having techniques that protect against script attacks, such as those their payment provider recommends.
In August 2026, PCI SSC also revised FAQ 1331, narrowing when merchants assessed with a full Report on Compliance can use SAQ eligibility criteria to mark these requirements "not applicable".
In practice: even on SAQ A, if you embed a payment iframe, you need a credible answer about the scripts on the page around it. The simplest answers are:
- keep the checkout page minimal: no marketing tags, chat widgets or heatmaps
- use a strict Content Security Policy that only allows your own scripts and the payment provider
- run script inventory and change detection on the checkout page (see the requirements developers miss); it's not much work once automated
- or use a full redirect, where the provider's page has no scripts of yours at all
Choosing an integration: trade-offs
| Full redirect | Iframe / hosted fields | JS form / direct post | Direct API | |
|---|---|---|---|---|
| PCI scope | Smallest | Small (with eligibility) | Medium | Full |
| Checkout design control | Low to medium | Medium to high | High | Full |
| Conversion | Good with well-designed hosted pages | Good | Good | Good |
| Engineering effort | Lowest | Low | Medium | Highest |
| Security risk to you | Lowest | Low | Medium | Highest |
For almost every merchant, hosted fields or an iframe give enough design control with a small scope. In India, the major payment aggregators (Razorpay, Cashfree, PayU, Juspay-powered checkouts and others) all offer hosted checkouts and SDKs designed for this. A direct card API only makes sense for payment companies themselves, or very large merchants with their own PCI programme.
Mobile apps
Native mobile SDKs from payment providers usually collect card data inside the provider's SDK and send it directly to the provider. That keeps card data off your servers, but the SDK runs in your app. Check your provider's guidance on which SAQ applies, keep the SDK updated, and don't log card fields in crash or analytics tools.
SaaS platforms and marketplaces
If you're a platform that takes payments on behalf of merchants:
- use your provider's platform or marketplace product (such as split payments or route accounts) with hosted card collection
- you may be a service provider under PCI DSS if your systems could affect the security of your merchants' card data, even if you never see card numbers. Clarify this early, because it changes your assessment
- give merchants clear documentation of what's covered by your compliance and what remains theirs
Checklist
- Card data never reaches your servers: redirect, iframe or hosted fields
- Confirm your SAQ type with your payment provider or acquirer in writing
- If on SAQ A with an embedded form: minimal checkout page, strict CSP, and script inventory and change detection, or the provider's recommended protections
- No third-party marketing or analytics scripts on the checkout page
- Saved cards through network tokenisation, never stored card numbers
- Mobile payment SDKs kept current; card fields excluded from logs
- Platform or marketplace role checked against the service provider definition
- Integration decision recorded with the reasoning, and revisited when checkout changes
We design checkouts and payment integrations for e-commerce, travel and SaaS businesses that keep PCI scope as small as possible, as part of our product engineering work. If you're planning a checkout redesign, talk to us before you pick the SDK.