Hosted checkout vs direct API integration (2026): which should you build?

A hosted checkout is a payment page or embedded form run by your provider or orchestrator, so card data never touches your servers and new methods appear without new code. A direct API integration means you build the payment UI and call the payment API yourself. Choose direct API when you need full control of the experience and can carry the build, maintenance and PCI work; otherwise a hosted checkout is usually faster and lighter.

By Omno Payments Team. Vendor information verified 19 October 2026

On this page10 sections

Before you decide

  • A full redirect or provider iframe usually keeps you on SAQ A; card data on your own servers moves you towards SAQ D.
  • A direct API gives full design control, but you build each method's flow, 3DS handling and redirects yourself.
  • Many merchants mix the two: hosted checkout for cards, backend calls for local methods and payouts.
  • 5 min read
  • 9 criteria compared
Talk to us

Hosted checkout and Direct API, compared as of 19 October 2026

Hosted checkout and Direct API, compared as of 19 October 2026
FeatureHosted checkoutDirect API
Who builds the payment UIYesThe provider, as a full page you redirect to or a form you embedYesYou, with your own frontend and calls to the payment API [source 1]
Card data stays off your serversYesCard details go from the browser to the providerPartialOnly if you still use provider-hosted card fields; card data posted to your API brings it into scope [source 2]
Typical PCI self-assessmentYesSAQ A for a full redirect or a provider iframe, when the merchant fully outsources card handlingPartialSAQ A-EP or SAQ D, depending on whether your page or servers take part in handling card data [source 3]
Script-attack checks on your pagePartialNeeded for an embedded provider form; not for a full redirectYesYour page and scripts are part of the payment flow and need protecting [source 2]
Design controlPartialBranding, method order and categories within the provider's layoutYesEvery element and every step is yours [source 1]
Build and maintenance effortYesLow, a session request from your backend and a script or redirect on the frontendNoHigh, the provider's own guidance calls it significantly more code and ongoing maintenance [source 1]
Redirects, 3DS and additional actionsYesHandled inside the hosted flowPartialHandled by your client and server code [source 4]
Adding a new payment methodYesUsually configuration: the method appears in the hosted flow once enabledPartialUsually code: each method's fields, redirects and status handling are built by you [source 1]
Typical best fitYesMerchants selling in many markets with many local methods, or with small payments teamsYesMerchants whose checkout is a core product surface and who can staff its upkeep [source 1]
  1. docs.stripe.com/payments/online-payments
  2. pcisecuritystandards.org/faqs/1588
  3. dwt.com/blogs/privacy--security-law-blog/2025/03/pci-faqs-card-processing-ecommerce-merchants
  4. docs.adyen.com/online-payments/build-your-integration/

Every online store has to decide who builds the screen where the customer pays. With a hosted checkout, your payment provider or orchestrator builds it: you create a session from your backend and either redirect the customer to the provider’s page or embed the provider’s form in yours. With a direct API integration, you build the screen yourself and call the payment API from your own code.

The choice affects four things: how much of your estate is in PCI DSS scope, how long the build takes and who maintains it, how much control you have over the experience, and how quickly you can add payment methods in new markets.

What is a hosted checkout?

A hosted checkout is a payment page or form served by the provider. The customer’s card details go from their browser straight to the provider, and your systems receive a result, never the card number. Stripe, for example, offers a full prebuilt payment page you redirect to or embed, and an embedded form. Orchestrators offer the same idea in front of many providers: Omno’s hosted checkout shows cards, local methods and crypto, with routing running behind it.

There are two common shapes. A full redirect sends the customer to the provider’s page and back. An embedded form keeps the customer on your page with the provider’s form inside an iframe. Some providers also offer hosted fields: only the card number and security code are served by the provider, inside a form you otherwise build, as Spreedly’s iFrame does.

What is a direct API integration?

With a direct integration, you design the checkout and call the payment API from your frontend and backend. Stripe’s guidance for its lower-level Payment Intents API is that it suits businesses that want to own every part of their checkout, and that it requires significantly more code and ongoing maintenance than its prebuilt checkout. Adyen describes a similar spread: a sessions flow with one server request and light effort, and an advanced flow with three server requests in which your code handles redirects and additional actions on both client and server.

If your direct integration posts raw card data to your own servers, your PCI scope grows sharply. Many teams therefore combine their own design with the provider’s hosted card fields, which keeps card numbers off their servers while leaving the rest of the page under their control.

How does PCI DSS scope differ?

PCI DSS sets out several self-assessment questionnaires. As Davis Wright Tremaine summarises PCI SSC’s guidance, SAQ A is for e-commerce merchants that fully outsource card processing to a PCI DSS compliant provider, including full redirects and provider iframes; merchants whose own pages or servers take part in handling payment data generally need SAQ A-EP, and those that store, process or transmit card data need the full SAQ D.

PCI SSC FAQ 1588 adds one condition for embedded forms: a merchant whose page includes a provider’s embedded payment form must confirm the page is protected from script attacks, either with its own controls or with confirmation from the provider. A full redirect does not carry that requirement. Your acquirer or the card brands decide which questionnaire applies to you, so describe the real integration to them.

Where is a hosted checkout stronger?

Speed to launch. A session request from your backend and a script or redirect on the frontend is a short project. Stripe recommends its prebuilt checkout for most integrations for that reason.

PCI scope. Card data never reaches your servers, which usually means the lightest questionnaire.

New methods without new code. In a hosted checkout, a local method appears once it is enabled. With a direct API, each method’s fields, redirects and status handling are code you write and test.

3DS and redirects. Authentication challenges, bank redirects and wallet flows are handled inside the hosted flow.

Where is a direct API integration stronger?

Total control of the experience. Every field, step and message is yours, which matters when checkout is a core product surface or part of a larger flow such as onboarding or a marketplace basket.

Owning checkout state. Discounts, tax, subscriptions and currency logic live in your code, in the order you want.

No dependency on the provider’s layout. Your checkout does not change when the provider redesigns its page.

Backend-only flows. Some flows have no customer screen at all, such as scheduled payouts or payment links on invoices. Those are direct API work by nature.

How do you combine them?

Most merchants that sell across several countries end up with a mix:

  1. Cards through a hosted checkout or hosted fields, so card data stays with the provider.
  2. Local methods, crypto and payouts through backend API calls where you want your own interface, because no card data is involved.
  3. One source of truth for status: the webhook, not the redirect back to your site, as our webhooks guide explains.

In Omno, that split is the hosted checkout or Card Fields for cards, and Direct Links for local method, wallet and crypto payments and payouts from your own systems, with no Omno payment page.

Who should choose which?

A hosted checkout fits if:

  • You sell in many markets and need many local methods quickly.
  • Your payments or engineering team is small.
  • Keeping card data and PCI scope away from your systems is a priority.

A direct API integration fits if:

  • Checkout is a core part of your product and design control matters.
  • You can staff the build, testing and maintenance of every method you offer.
  • You can meet the PCI requirements of your integration, or you use hosted card fields inside your own page.

How we compared

Omno offers a hosted checkout, and Card Fields and Direct Links for merchants who build their own, so we have an interest in this question but not in one answer. The table compares the two approaches, not specific products, and individual providers vary. Each row links to the provider guidance or PCI material it rests on: PCI SSC’s FAQ, a law-firm summary of PCI SSC guidance, and Stripe’s, Adyen’s and Spreedly’s own integration documentation.

Frequently asked questions

Is an embedded iframe the same as a hosted checkout?

For PCI purposes it is close but not identical. A provider iframe keeps card data on the provider's systems, so it can still qualify for SAQ A, but PCI SSC FAQ 1588 says the merchant must confirm its page is protected against script attacks, either with its own controls or with confirmation from the provider. A full redirect to the provider's page does not carry that extra check.

Does a hosted checkout hurt conversion?

Not by itself. What hurts conversion is a jarring redirect, missing local methods or extra steps. A hosted checkout that is embedded in your page, shows the methods that work in the customer's country and keeps saved cards usually performs well. Test it on the journeys that matter, including mobile and 3DS challenges, rather than assuming.

Can I use a direct API for some methods and a hosted checkout for others?

Yes, and many merchants do. A common split is a hosted checkout or hosted card fields for cards, which keeps card data off your servers, and backend-driven API calls for local methods, crypto and payouts, where no card data is involved. In Omno, that is the hosted checkout or Card Fields for cards, and Direct Links for local methods, wallets and crypto.

What does Omno offer?

Omno's hosted checkout is created by your backend and opened with the Web SDK or in an iFrame, and it takes cards, wallets, local methods and crypto on one page. Card Fields are Omno's hosted card fields: three secure fields for card number, expiry and CVV inside your own checkout, so card data never touches your servers. Direct Links put your own buttons for local methods, wallets and crypto in front of several providers, with no Omno payment page; they do not take cards. Final status comes by webhook in every case.

Who decides which SAQ applies to me?

Your acquirer or the payment brands, as the entities that accept your compliance validation. PCI SSC's own FAQ tells merchants to check with them. Describe your actual integration, including any scripts on the payment page, rather than the product name.

Product and company names belong to their owners and are used only to identify the products compared. Something out of date? Write to press@omno.com and we will correct it.

it will.

Tell us where your payments fail. We will show you how routing changes the outcome.

esc
↑↓ to move ↵ to open All results