Checkout4 min readUpdated October 15, 2026

What Is a Headless Checkout?

Headless checkout definition: how it works in 4 steps, headless vs hosted vs embedded checkout with the PCI SAQ for each, and what Shopify allows.

Article summary

TL;DR

Headless checkout is a checkout whose logic and payment run through APIs, separate from the storefront's front end. Your site draws the cart, address and payment screens. The commerce backend keeps totals, tax and order creation, the payment provider collects card details in its own fields, and a webhook confirms the order.

  • Headless checkout splits the screens (your front end) from the rules (the commerce backend and the payment provider). The two talk through APIs.
  • The backend stays the source of truth for totals, discounts and tax. The browser only displays them.
  • Confirm the order from a webhook, not from the success page: Stripe says customers are not guaranteed to reach that page.
  • Your PCI questionnaire depends on who serves the card fields: provider fields can keep you in SAQ A, your own card form means SAQ A-EP.
  • A headless Shopify store still sends buyers to Shopify's web checkout through the cart's checkoutUrl.
Want to go further? AskChatGPTClaudePerplexityGrok
On this page

People use "headless checkout" in two ways. The technical meaning is a checkout built on APIs, drawn by your own front end. Shopify also uses it in a wider sense: buying from any touchpoint, such as an email, a social post or an event QR code.8Shopify Enterprise blog, Headless Checkout: Benefits, Risks, and Shopify Options (updated June 1, 2026) Both rest on the same split, explained below. For the full headless build (platforms, 3D Secure, wallets), see headless commerce.

What is a headless checkout?

A headless checkout is a checkout where the logic and the payment run through APIs, apart from the storefront's front end. Your site draws the cart, the address form, shipping and the payment step. The backend still decides the numbers: cart totals, discounts, tax and order creation. The browser displays them but is never trusted to compute the final price.

Stripe's docs show where the line can sit. Its Checkout Sessions API keeps tax, discounts, shipping and addresses on Stripe's side, behind a hosted page, an embedded form or your own UI built with Elements. Its lower-level Payment Intents API leaves "all checkout logic" to you. Stripe says to choose it "only if you want to own every part of your checkout".3Stripe Docs, Online payments (read October 14, 2026)

How a headless checkout works

  1. Cart. The storefront calls the commerce API to create and update the cart. The backend returns the totals, discounts and tax.
  2. Checkout session. Your server asks the payment provider to create a session or payment for that exact amount, with a secret key the browser never sees.
  3. Payment. The shopper types the card into the provider's fields, such as Stripe's Payment Element, inside your page. Card data goes straight to the provider. 3D Secure runs if the bank asks for it.
  4. Confirmation. The provider sends a webhook to your server, which creates or confirms the order. The success page only shows the result.

Simplified flow. Names change by platform and provider.

Step 4 matters most. Stripe says you "can't rely on triggering fulfillment only from your checkout landing page", because a customer "can pay successfully and then lose their internet connection before your landing page loads".4Stripe Docs, Fulfill orders (read October 14, 2026) More on events in webhooks; the calls behind steps 2 and 3 are in payment API.

Inside Tagada

Build the funnel once, route every customer to the right offer

Checkout, upsells and subscriptions on one flow, with conditions per country, order or customer.

Start free

Headless vs hosted vs embedded checkout

Checkout typeWho draws the payment screenExampleUsual PCI questionnaire
Hosted or platform checkoutThe provider or platform, on its own pageStripe Checkout full page; Shopify web checkout via checkoutUrlSAQ A
Embedded checkoutThe provider's prebuilt checkout, inside your pageStripe embedded form; commercetools Checkout loaded by its Browser SDKSAQ A, if your page is protected against script attacks
Headless, provider card fieldsYou draw every screen; card fields come from the providerYour checkout with Stripe ElementsSAQ A, under the same script condition
Headless, your own card formYou draw every screen, card form includedYour form posting card data to the gateway by scriptSAQ A-EP

Sources: Stripe, commercetools, Shopify docs; PCI SSC FAQ and February 2025 SAQ A update.3Stripe Docs, Online payments (read October 14, 2026)5commercetools Docs, Checkout overview (read October 14, 2026)2Shopify Dev Docs, Manage a cart with the Storefront API (read October 14, 2026)6PCI Security Standards Council, FAQ: SAQ A or SAQ A-EP when all elements of payment pages originate from a compliant provider (read October 14, 2026)7PCI Security Standards Council blog, FAQ clarifies new SAQ A eligibility criteria for e-commerce merchants, February 28, 2025

commercetools offers both ends: "Complete Checkout" runs the whole flow, while "Payment Only" keeps your existing checkout and adds its payment component.5commercetools Docs, Checkout overview (read October 14, 2026) The questionnaires themselves are explained in PCI compliance.

What headless checkout changes for a merchant

You gain control of every field, step and offer, and you can test layouts without waiting for a platform release. You also take on the work a hosted page did for you: error and decline screens, the 3D Secure step, wallet setup on your domain, and order confirmation by webhook.

Check your platform first. Shopify's Storefront API "serves products, collections, search, and the cart, and hands customers off to checkout".1Shopify Dev Docs, Headless (read October 14, 2026) The cart's checkoutUrl is "a URL that redirects customers through Shopify's web checkout", requested when the buyer is ready to pay.2Shopify Dev Docs, Manage a cart with the Storefront API (read October 14, 2026) So a headless Shopify store keeps Shopify's checkout. A fully custom checkout needs a backend that exposes checkout through APIs.

How Tagada helps

A checkout that runs headless

Tagada runs standalone, with Shopify, with WooCommerce or headless. Its checkout includes one-click upsells, order bumps, A/B tests, Apple Pay and Google Pay, with native 3DS2. Payments route across TagadaPay and processors such as Stripe, NMI and Airwallex with one logic, with a cascade to another processor when one is down or times out.

Nick Bonnassies

CMO at Tagada

CMO at Tagada. Before Tagada, Nick built direct-to-consumer brands that generated over $115M in sales, raised over $25M in crowdfunding and sold two of them. He also works as a fractional CMO on marketing operations and AI systems.

Frequently asked questions

What is a headless checkout solution?

It's a product that gives you the checkout backend and payment APIs, so your own front end can draw the screens. Examples are Stripe's Checkout Sessions API used with Elements, or commercetools Checkout embedded with its Browser SDK. You keep the design. The provider keeps card data and payment logic.

Can you build a headless checkout on Shopify?

You can build a headless Shopify storefront with Hydrogen or any other stack, using the Storefront API for products and the cart. Checkout stays Shopify's: the cart's checkoutUrl redirects buyers through Shopify's web checkout. To change that checkout, Shopify points merchants to Checkout Extensibility.

Is a headless checkout PCI compliant?

It can be. PCI DSS applies to every merchant that takes cards. If the card fields come from a PCI DSS compliant provider and your page is protected against script attacks, you may qualify for SAQ A. If your own page builds the card form, it's SAQ A-EP. Your acquirer confirms which one you file.

What is the difference between headless checkout and headless commerce?

Headless commerce splits the whole store: catalog, search, cart and checkout all run behind APIs. Headless checkout is the checkout part only. A headless store can still hand buyers to a hosted checkout, and a classic store can add a headless checkout.

Sources

Checked October 15, 2026
  1. Shopify Dev Docs, Headless (read October 14, 2026)
  2. Shopify Dev Docs, Manage a cart with the Storefront API (read October 14, 2026)
  3. Stripe Docs, Online payments (read October 14, 2026)
  4. Stripe Docs, Fulfill orders (read October 14, 2026)
  5. commercetools Docs, Checkout overview (read October 14, 2026)
  6. PCI Security Standards Council, FAQ: SAQ A or SAQ A-EP when all elements of payment pages originate from a compliant provider (read October 14, 2026)
  7. PCI Security Standards Council blog, FAQ clarifies new SAQ A eligibility criteria for e-commerce merchants, February 28, 2025
  8. Shopify Enterprise blog, Headless Checkout: Benefits, Risks, and Shopify Options (updated June 1, 2026)

Tagada

A headless checkout with upsells, wallets and payment routing

Funnels, one-click upsells, subscription billing and payment routing, on one customer record.

  1. 01Create your free account
  2. 02Connect your store or build a checkout
  3. 03Launch funnels, upsells and subscriptions