Headless commerce checkout architecture with payment gateway and marketplace integrations

Posted by Mahdi

Back to Blog
Payments

Payment Gateway Options for Headless Commerce

Compare Stripe, PayPal, Braintree, eBay, Adyen, Checkout.com, Square, and headless payment APIs for ecommerce and composable commerce projects.

Payment selection is not just a pricing decision. In a headless or composable commerce build, the payment provider affects checkout design, risk controls, stored payment methods, subscription logic, marketplace payouts, reconciliation, refunds, disputes, analytics, and future channel support.

For many Australian businesses, Stripe is the fastest strong default. PayPal can improve buyer trust and wallet coverage. Braintree is relevant when a business wants deeper PayPal-owned gateway control. eBay is different: it is usually a marketplace integration layer, not a general payment gateway for your own storefront. Enterprise and API-first providers such as Adyen, Checkout.com, and Square can make sense when the business has omnichannel, international, POS, marketplace, or complex payment-method requirements.

This guide compares the main options from a practical implementation point of view. If your payment decision is part of a website rebuild, CMS migration, ecommerce launch, or custom integration, VaniTech can help through ecommerce development, system integration, cloud architecture, and CMS consulting.

Which Payment Option Should You Shortlist?

Start with the payment job, then compare provider features, operational fit, and long-term ownership.

Stripe

Best for headless ecommerce, subscriptions, marketplace-style payouts with Connect, embedded checkout, custom payment forms, invoices, payment links, wallets, and many regional payment methods.

PayPal Checkout

Best when buyer trust, PayPal wallet coverage, Pay Later, Venmo in supported markets, cards, and alternative payment methods are important to conversion.

Braintree

Best when the business needs a PayPal-owned gateway with cards, PayPal, wallets, Drop-in UI, Hosted Fields, client SDKs, server SDKs, fraud tools, and more enterprise checkout control.

eBay APIs

Best for marketplace sellers and apps that need eBay checkout sessions, order, transaction, payout, refund, dispute, or seller finance data. It is not a replacement for Stripe or PayPal on your own checkout.

Adyen

Best for larger omnichannel commerce, global and local payment methods, web and mobile payments, unified online and in-person payment reporting, risk, 3D Secure, tokenisation, and one-platform operations.

Checkout.com

Best for payment teams that need API-first payment processing, authentication, payment-method management, payouts, disputes, credential vaulting, reporting, and optimisation controls.

Square

Best for businesses that connect online payments with Square POS, hardware, orders, digital wallets, gift cards, ACH in supported markets, Afterpay, Cash App Pay, invoices, and subscriptions.

Commerce Platform Payments

Best for simpler builds where Shopify, BigCommerce, WooCommerce, or another commerce platform already provides a supported payment path and the business does not need a custom checkout yet.

Bank and Account Payments

Best for recurring, invoice, B2B, or lower-card-cost use cases where bank debit, direct debit, PayTo, BPAY, or account-to-account payments are more appropriate than card-first checkout.

Payment Options Compared

The best payment stack depends on what you sell, where customers are, how checkout is designed, whether you store payment methods, and how settlement needs to work behind the scenes. A headless frontend can integrate with almost any provider, but that flexibility creates responsibility: payment state, fraud review, order creation, fulfilment triggers, webhooks, refunds, reconciliation, and customer support must all line up.

OptionBest forStrengthsWatch-outs
StripeHeadless stores, SaaS, subscriptions, invoices, custom checkout, marketplaces, and fast developer-led builds.Broad payments documentation, Checkout, Elements, Payment Links, Billing, Invoicing, Terminal, Connect, wallets, bank debits, BNPL, and dynamic payment methods.Model costs by payment method and country. Custom checkout still needs strong webhook, dispute, tax, fulfilment, and reconciliation design.
PayPal CheckoutConsumer ecommerce where PayPal wallet, buyer familiarity, Pay Later messaging, cards, and alternative payment methods may support conversion.JavaScript SDK, Orders API, PayPal buttons, cards, Pay Later, Venmo in supported markets, and alternative payment methods.Check market eligibility, brand presentation, account requirements, funding-source behaviour, and whether PayPal is an additional wallet or the primary checkout.
BraintreeCustom PayPal-owned gateway integrations, enterprise checkout, stored payment methods, mobile apps, and teams needing Drop-in or Hosted Fields.Client and server SDKs, Drop-in UI, Hosted Fields, cards, PayPal, Apple Pay, Google Pay, Venmo in the US, fraud tools, data security support, and transaction APIs.More implementation ownership than simple PayPal buttons. Confirm regional payment methods, support model, account setup, and migration effort.
eBayMarketplace apps, sellers, inventory and order workflows, eBay checkout, payouts, transaction reporting, refunds, and seller finance operations.Buy Order API checkout sessions, Sell Finances API transaction and payout data, seller account policy APIs, fulfilment and dispute workflows.Not a general-purpose payment gateway for your own storefront. Treat it as an eBay marketplace integration with eBay's rules, scopes, APIs, and seller-of-record model.
AdyenEnterprise and scale-up commerce, international checkout, omnichannel payments, local methods, 3D Secure, tokenisation, risk, and unified reporting.Single API for payment methods, online and in-person payment support, web and mobile integrations, Drop-in and Components, webhooks, risk management, and account tools.Strong fit for complex payment operations, but usually needs more discovery, account configuration, compliance review, and payment-operations maturity.
Checkout.comAPI-first payment teams that need payment orchestration, authentication, credentials, payouts, disputes, reporting, and optimisation.Payment acceptance, payment-method management, 3D Secure authentication, captures, voids, refunds, payouts, Vault, disputes, and payment reporting.Assess regional availability, pricing, fraud tooling, settlement requirements, support, and whether the team can operate a more payment-specific platform.
SquareRetail, hospitality, services, and hybrid online/offline businesses already using Square POS or hardware.Payments API, Web Payments SDK, Terminal, mobile payments, cards, digital wallets, gift cards, Afterpay, Cash App Pay, ACH in supported markets, Orders API, invoices, and subscriptions.Best when Square is part of the wider operating model. Check market support, existing POS workflows, inventory, tax, shipping, and platform fit.
Decision Criteria

How to Choose a Payment Stack

The right option is the one your team can integrate, govern, reconcile, and support after launch.

Checkout Control

Decide whether you need hosted checkout, embedded components, a fully custom form, mobile SDKs, marketplace checkout, or payment links.

Payment Methods

Map cards, PayPal, wallets, BNPL, direct debit, bank transfer, local methods, subscriptions, account payments, and in-person payment needs.

Integration

Connect payment state to cart, order management, CMS, ERP, inventory, shipping, tax, CRM, analytics, customer accounts, and support tools.

Risk and Compliance

Plan PCI scope, 3D Secure, fraud review, authentication, refunds, disputes, chargebacks, privacy, data retention, and access controls.

Cost Control

Compare transaction fees, gateway fees, wallet fees, currency conversion, chargebacks, refunds, terminal costs, support, and developer time.

Reporting

Design reconciliation early: settlement reports, payouts, failed payments, refunds, disputes, order IDs, accounting exports, and support visibility.

When Stripe Is the Practical Default

Stripe is often the first shortlist for custom ecommerce because it covers several payment patterns in one ecosystem. Its payments documentation points businesses toward online payments, embedded checkout, hosted Checkout, Payment Links, Billing, Invoicing, Terminal for in-person payments, and Connect for platforms and marketplaces. Stripe's payment-method documentation groups methods across cards, bank debits, bank redirects, bank transfers, buy now pay later, real-time payments, vouchers, and wallets, while noting that availability varies by region, currency, product, and API option.

For a headless build, that breadth is useful. A team can start with Stripe Checkout to reduce PCI and UI work, then move to Elements or a more custom Payment Intents flow when the checkout needs deeper control. Stripe Connect is also important if the business needs to pay sellers, providers, contractors, or franchise locations. The tradeoff is that Stripe does not remove architecture decisions. You still need a clean order state model, webhook processing, idempotency, fraud rules, refund flows, and accounting reconciliation.

When PayPal Should Be Added

PayPal is often strongest as a conversion and trust option. PayPal's Checkout documentation describes PayPal buttons through the JavaScript SDK and says buyers can pay with PayPal, debit and credit cards, Pay Later options, Venmo in supported markets, and alternative payment methods. Expanded Checkout adds a more branded one-page experience with PayPal payment buttons and a card form.

That makes PayPal useful even when Stripe, Adyen, or another provider is the primary card processor. Many shoppers already have PayPal accounts and may prefer not to enter card details directly into a new store. The right question is not whether PayPal is better than Stripe. It is whether PayPal should sit beside your primary checkout to reduce friction for the right customers. Confirm local eligibility, fees, settlement, refund workflow, and how PayPal orders map into your order management system.

Where Braintree Fits

Braintree is a PayPal service and is better understood as a more custom gateway option than a simple PayPal button. Its documentation describes Braintree Direct as tools for accepting and processing cards, PayPal, and wallets such as Apple Pay, Google Pay, and Venmo in the US, along with fraud prevention, data security, and operational tooling. It also offers client SDKs for Android, iOS, and JavaScript, server SDKs for Java, .NET, Node.js, PHP, Python, and Ruby, Drop-in UI, and Hosted Fields.

Braintree can make sense when a business wants PayPal ecosystem coverage but also needs a custom card form, mobile app support, vaulted payment methods, or enterprise checkout controls. It is more involved than adding PayPal Checkout alone, so implementation planning should include client token creation, nonces, transaction creation, payment-method storage, webhooks, test coverage, and operational support.

Why eBay Is a Different Category

eBay should not be treated as a normal alternative to Stripe, PayPal, or Adyen for a brand's own checkout. eBay's Buy Order API includes checkout-session methods, and its Sell Finances API exposes account-management resources such as transactions, order earnings, payout summaries, payouts, seller funds summaries, transfers, and billing activities. That is valuable for marketplace apps, eBay seller operations, finance reporting, inventory workflows, and reconciliation.

The distinction matters. If you sell on eBay, you integrate with eBay's marketplace model and payment surfaces. If you sell through your own website, you still need a payment provider for your own checkout. A commerce platform may need both: an eBay channel integration for marketplace sales and Stripe, PayPal, Braintree, Adyen, Checkout.com, Square, or another provider for direct-to-consumer sales.

Headless API Payment Providers Beyond Stripe and PayPal

Adyen is a strong option when payment complexity is part of the business model. Its online payments documentation describes support for cards, wallets, and local payment methods on websites and mobile apps, with web, iOS, Android, React Native, and Flutter support. It also highlights one-off payments, subscriptions, bookings, top-ups, 3D Secure 2, risk management, tokenisation, online and in-person payment management, a payments server, a client website or app, and a webhook server.

Checkout.com is another API-first option for teams that want detailed payment operations. Its payments documentation covers accepting payments with new and stored card details, adding and managing payment methods, 3D Secure authentication, capture, voids, refunds, payment details, payouts, disputes, credential vaulting, and payment reports. That makes it relevant when payment optimisation, authentication, reporting, and operations are strategic rather than incidental.

Square is a different fit. Its Payments API documentation describes the API as the backend component responsible for creating and completing or capturing payments from Square client SDK sources, including credit cards, gift cards, digital wallets, and ACH bank transfer. Its documentation also covers Square POS, Terminal, Web Payments SDK, mobile payments, Afterpay and Clearpay, Cash App Pay, Orders, invoices, subscriptions, and hardware-oriented flows. For a cafe, clinic, retail store, or services business already using Square, the platform fit can matter more than a pure API comparison.

There are also category-specific options. GoCardless and bank debit providers can be attractive for recurring invoice-style payments. Platform-native payment services can be sensible for Shopify, BigCommerce, WooCommerce, or marketplace projects where the business wants lower implementation complexity. Enterprise payment orchestration can make sense when a large business wants to route transactions across multiple processors, but this is usually unnecessary for a small or mid-sized first build.

Australian Payment and Surcharge Issues to Check

Australian businesses should review payment surcharging before choosing how fees are displayed. The ACCC says businesses can currently charge a card surcharge, but it must not be more than what it costs the business to use that payment type, and businesses must be able to prove the costs behind the surcharge. The ACCC also notes upcoming changes announced by the Reserve Bank of Australia: from 1 October 2026, card networks can introduce no-surcharge rules for prepaid, debit, and credit cards from those networks.

That timing matters because this article is being prepared on 1 July 2026. Until the changes take effect, businesses must follow the current surcharging laws. Payment provider choice should therefore include practical questions about fee visibility, statements, cost-of-acceptance data, surcharge configuration, displayed prices, and how checkout copy will change if card-network rules change later in 2026.

A Practical Selection Process

  1. Define the checkout jobs. Separate one-off ecommerce payments, subscriptions, invoices, marketplace payouts, deposits, in-person payments, pre-orders, refunds, and account payments.
  2. Map customer payment preferences. Check whether customers expect cards, PayPal, Apple Pay, Google Pay, BNPL, direct debit, bank transfer, BPAY, PayTo, or marketplace checkout.
  3. Choose hosted or custom checkout deliberately. Hosted checkout is faster and usually lowers compliance burden. Custom checkout gives more control but increases responsibility.
  4. Prototype the hardest payment flow. Test saved cards, 3D Secure, failed payments, partial refunds, fulfilment timing, stock reservation, subscription retry logic, and abandoned checkout recovery.
  5. Design webhooks before launch. Payment confirmation should not rely only on browser redirects. Webhooks need idempotency, retries, monitoring, logging, and clear order-state transitions.
  6. Model total cost. Include provider fees, gateway fees, international cards, wallet costs, chargebacks, refunds, terminals, currency conversion, support, accounting, and developer time.
  7. Plan reconciliation. Every payment, payout, refund, dispute, and fee should connect to the order, customer, accounting record, and support view.
  8. Review compliance and policy changes. Check PCI scope, privacy, fraud review, surcharging, terms, refund policies, marketplace rules, and regional payment eligibility.

For many small and mid-sized Australian commerce projects, the most practical first shortlist is Stripe plus PayPal, with Braintree considered when PayPal-owned gateway control is needed. Adyen, Checkout.com, and Square become more compelling when the business has omnichannel, international, POS, or payment-operations complexity. eBay belongs in the channel architecture when eBay marketplace selling is part of the business, not as the payment gateway for your own storefront.

For related planning, see VaniTech ecommerce services, system integration services, composable architecture and AI, and website cost in Australia.

Sources Checked

FAQs

Payment Gateway and Headless Checkout FAQs

Short answers for business owners, ecommerce teams, and developers comparing payment providers.

Next Step

Choose Payments With the Whole Commerce Stack in View

VaniTech can help compare providers, design checkout architecture, connect payment events to orders and finance, and build integrations that support headless, composable, and marketplace commerce.