Customizing the Hyperswitch unified checkout appearance

Customizing the Hyperswitch unified checkout means matching fonts, colors, shapes, layouts and payment method order to your brand, within the limits of the SDK. This page explains what you can change on web and mobile, what drives the effort, and where custom work should stop.

On this page

Customizing the Hyperswitch checkout appearance for your brand

This section explains when a team should style the Hyperswitch unified checkout to match its product and how far that styling can go. The appearance layer controls fonts, colors, shapes, layout and the order in which payment methods are shown. It sits inside the client SDKs, so the same kind of decision applies on web and mobile, even though the exact configuration surface differs by platform. Teams usually need this work when the payment step is the only place a customer leaves their branded experience, or when a regulator or enterprise buyer asks for a consistent look across the purchase flow.

Leave the default appearance in place when the goal is speed to launch, when a prebuilt checkout already matches the brand closely enough, or when the team has not yet decided which payment methods should lead for its customers. Styling changes the visual frame, not the payment logic, so it does not alter what the checkout collects, how it tokenizes card data or how it routes a payment. Payment method ordering is the one control that affects conversion directly, so it deserves a deliberate choice backed by your own transaction data rather than a visual preference.

The exact appearance keys, supported values and any version differences are defined in the Hyperswitch docs and the hyperswitch-web repository, not on this page. Before you commit to a design, confirm with your SDK version which keys exist, which of them are applied on mobile, and whether your self-hosted client assets are built from the same release as your app server. Ask your implementation partner to document each customization in a written scope, and check it against the release notes for every upgrade, since a styling key that works today may change.

Which appearance settings fit which goal

This table pairs each appearance lever in the Hyperswitch unified checkout with the brand goal it serves and the platforms where it applies. Read each row as a question: if your goal is this, the lever is the first place to look. Exact supported keys and value formats must be confirmed in the SDK documentation for the version you run, because appearance options change between releases.

Appearance leverBrand goal it servesPlatforms to confirmWhat to check before relying on it
Theme and typographyMatching the checkout to brand fonts and a consistent overall lookWeb, Android, iOS, React Native, FlutterConfirm which font sources are accepted and whether custom font files need hosting on your domain
Color tokensAligning buttons, text, borders and focus states with brand paletteWeb, Android, iOS, React Native, FlutterConfirm the token names per platform and test contrast for accessibility in both light and dark contexts
Shape and spacingMatching corner radius, padding and density to the rest of your productWeb, Android, iOS, React Native, FlutterConfirm whether spacing applies to every payment method tile or only the container
Layout modeChoosing between a tabbed, accordion or single-list presentation to fit page spaceWeb, Android, iOS, React Native, FlutterConfirm which layout modes exist on each platform, since mobile and web options may differ
Payment method ordering and display rulesSurfacing the methods your customers use most and hiding those not offered in a marketWeb, Android, iOS, React Native, FlutterConfirm ordering is set by configuration or per session, and how it interacts with routing and eligibility
Custom labelsUsing brand-appropriate wording for headings, button text and helper messagesWeb, Android, iOS, React Native, FlutterConfirm which strings are overridable and plan translations for each locale you serve

Where appearance customization stops

Appearance changes are the cheapest part of a checkout build, but they sit on top of an SDK that still owns the payment flow. The cards below mark the points where a brand project stops being a styling task and starts affecting scope, compliance and testing. Confirm each limit against the SDK version you plan to ship before you commit to a design.

Prebuilt UI is not a layout rebuild

Theme settings change fonts, colors, corner shapes and spacing within the structure the SDK provides. They do not let you move the payment element, reorder page sections or replace the header and summary with your own components. If your design needs a different page structure, that is a headless or custom checkout decision, not a theming task. Ask the SDK team which layout regions are fixed in your target version and compare them against your design file before the design is approved.

Custom card fields move you into PCI scope

Restyling the card fields with your own inputs, or building your own card form, changes who handles raw card data. The prebuilt fields keep card entry inside the payment provider's frame, which limits your PCI DSS scope. Custom fields usually mean the headless SDK and a larger scope review with your assessor. Put any request for custom card inputs through a scope review first, because it can change the cost of the whole project.

Flow and validation logic stay with the SDK

Payment sequencing, 3DS and redirect handling, retry behavior, error codes and the rules for which payment methods appear are controlled by the SDK and the server, not by the theme. Appearance changes do not alter them, and a design that hides or reorders methods can still be overridden by eligibility rules from routing. Confirm which ordering and visibility settings are configurable in your version, and test each payment method end to end after any change.

Accessibility and localization need checks per change

New fonts, color pairs and spacing can break contrast ratios, focus indicators and tap target sizes, and longer translated labels can overflow buttons. Each brand change should be checked with keyboard navigation, screen readers and the languages your customers use, not only with the English default. Ask your team to record which locales and assistive technologies were tested for each release, so the evidence is available when a customer or auditor asks.

Web and mobile theming do not map one to one

A color or font set defined for the web SDK does not automatically produce the same result in the Android, iOS, React Native or Flutter SDKs, because each platform exposes different appearance options and handles fonts differently. Plan one design token source, then document any value that cannot be expressed on a given platform. Validate each platform separately, since a mismatch often appears only in the native payment sheet.

How appearance settings reach the checkout at runtime

Appearance configuration travels from your merchant app to the SDK, and the SDK draws the unified checkout. Your application passes the appearance object to the hyperswitch-web or mobile SDK when it initializes the payment element or sheet. The SDK then applies fonts, colors, shapes and layout to the screens it renders in the customer's browser or app. Payment creation, the payment method list and the calls that confirm a payment come from the Router backend, which your self-hosted deployment serves. Appearance settings therefore never decide whether a payment is created or which methods exist. They change how the methods that the backend returns look. Confirm this split against the SDK version you pin, because the names of appearance keys can change between releases.

Payment method ordering is the part that crosses both layers, so plan it on both sides. The SDK lays out the methods it receives, but the list itself depends on the payment methods the backend returns for the merchant profile, the connectors you have configured and the eligibility rules that apply to the transaction currency, country and amount. If a wallet or alternative method does not appear, or appears in an unexpected position, check the backend configuration before you edit client code. A change to connectors or payment method settings in your Control Center or configuration can reorder what customers see without any front-end release. Test ordering against a sandbox merchant that mirrors your production connector set, since sandbox availability may differ from live.

Give the design team and the engineers a shared checklist for each release. Record which appearance keys the pinned SDK version accepts, which payment methods the backend returns for each market you serve, and who owns a change to each layer. When a brand change needs a new ordering or a new method, the backend owner should confirm the list before the front-end team ships. Retest the checkout on every SDK or Router upgrade, because a version mismatch can change how the same appearance object renders. The Hyperswitch docs are the natural next read for the current SDK configuration reference.

How branding and payment method order reach the shopper

The flow starts in the merchant app, which passes configuration and a payment session to the Hyperswitch SDK in the browser or app. The SDK asks the Router backend for the payment methods enabled for that payment, and the shopper's checkout renders them in the order and style the SDK receives. Card fields sit inside the trust boundary, where SDK-controlled frames collect card data directly, so appearance settings should never be the place where card entry is changed. Check that the order you configure in the Control Center matches what the shopper sees in a test session.

Configuration and payment method data flowing from the merchant app to the shopper's checkout.

How to set up checkout branding in a test environment first

This sequence proves that your brand settings render correctly, accessibly and in the right payment order on a test stack before any change reaches live customers, and it leaves a rollback path ready for promotion.

  1. Confirm SDK and app server versions

    Before touching any styling, check the Hyperswitch release notes and the compatibility matrix on the GitHub releases page to confirm which Control Center and web client versions match your self-hosted router. Record the app server version, the web SDK build and the mobile SDK versions in one place. Ask your platform team to confirm that any dependency required by the target release, such as the Superposition service that v1.124.0 made mandatory, is running in the test environment. This step is done when every component in the test stack has a recorded version that the compatibility matrix lists as compatible with the others.

  2. Define brand tokens in one config

    Gather fonts, colors, corner shapes, spacing and logo assets into a single configuration file that your front-end team owns and versions in source control. Keep the tokens named by role, such as primary action color or error text color, so that web and mobile builds read from the same source. Confirm with your designers which values are fixed brand rules and which are open to adjustment for legibility. This step is done when the file contains every token the checkout needs and a reviewer can trace each value to a brand guideline.

  3. Apply tokens to a test environment

    Deploy the token file to a sandbox Hyperswitch instance or a self-hosted test stack, pointing the SDK at the test backend rather than production endpoints. Use test publishable keys and test processor credentials so no live transaction can occur during review. Load the checkout on a staging URL and compare it with the brand reference screens. This step is done when the checkout loads from the test environment with the new tokens applied and the browser network calls show only test endpoints.

  4. Reorder payment methods in configuration

    Adjust the order in which payment methods appear through the connector and payment method configuration in the Control Center, rather than by editing checkout code. Confirm with your payments team which methods should lead for each market and device type, and note any method that depends on an external wallet or processor being enabled. Check the ordering in a test session for each market configuration you support. This step is done when each test market shows its methods in the agreed sequence and the configuration change is recorded in your change log.

  5. Verify rendering across browsers and devices

    Run the test checkout in each browser engine and mobile operating system version your customers use, including the minimum versions your apps support. Check font loading, button sizes, layout breakpoints, and the appearance of wallet buttons, which the platform controls. Capture screenshots and log any element that the tokens do not reach so the team knows where customization stops. This step is done when the test matrix shows no layout breaks, and the list of items you cannot restyle is documented for your designers.

  6. Check contrast and text fit

    Measure text and background color pairs against the contrast requirements your accessibility policy sets, and test with the largest system font sizes on mobile. Check that translated labels, longer currency formats and error messages fit their containers without clipping. Ask your accessibility lead to review keyboard focus visibility on the web checkout. This step is done when every text pair passes your documented contrast threshold and no label truncates at the tested font sizes.

  7. Promote with a tested rollback plan

    Before release, write the rollback steps: the previous token file version, the prior payment method ordering, and the SDK build to redeploy. Promote to production in a controlled window, starting with a limited share of traffic where your deployment tooling supports it. Confirm with your operations team how quickly the previous configuration can be restored and who has authority to trigger it. This step is done when a rollback has been rehearsed in the test environment and the production change record names the owner and the restore procedure.

How web and mobile customization differ

The web SDK is usually the most direct place to apply brand styling, because the unified checkout is rendered by the browser and the appearance settings are passed in the client configuration. Teams typically start here because the web checkout is often the first surface customers see and the one most often reviewed by brand and design teams. Confirm the exact appearance keys, font loading behavior, and any restrictions on custom CSS against the current web SDK documentation for the version you plan to ship.

  • Appearance configuration: Check which theme tokens, such as colors, font families, border radius and spacing, are exposed as configuration values rather than requiring overrides to internal markup.
  • Font delivery: Confirm how custom fonts are loaded, whether from your own domain or a CDN, and how the checkout behaves if the font request fails.
  • Layout and ordering: Verify whether payment method ordering and layout options are configurable at the SDK level or depend on backend settings in the Control Center.
  • Hosting constraints: If you self-host the web SDK, your build and asset pipeline determines which customizations are practical, so confirm this against the self-hosting documentation.

Before committing to a design, confirm which theming keys exist in the exact SDK version you deploy and test them in a staging checkout.

Security and operational considerations for branded checkout

Branding a Hyperswitch checkout touches more than colors and fonts. The same styling layer can affect which fields the payment scope covers, what code runs next to card entry, and how the checkout is versioned and shipped. The cards below cover the controls to set before the first branded release.

Keep card fields SDK-controlled

The card number, expiry and CVC fields are rendered by the Hyperswitch SDK inside its own frame. Styling should adjust the surrounding presentation through supported theme settings only. Moving those fields into merchant-rendered markup, or wrapping them in your own inputs, can change how card data flows through your systems and therefore your PCI DSS scope. Confirm with your assessor before any change to the card entry layout that goes beyond theming.

Vault deployment models

Review custom CSS and scripts

Any custom stylesheet or script loaded alongside the checkout runs in the page that handles payment. A style rule can hide a security message, and a script can read values from the page. Treat each file as code: list what it loads, who approved it, and whether it runs on the payment page or only on surrounding pages. Ask whether your content security policy still permits the checkout to load its assets.

Own versioning when hosting SDK assets

If you host the web or mobile SDK assets yourself, you take on the job of matching them to the app server version and applying patches. A self-hosted client that falls behind the server can break payment flows or miss security fixes. Record which client build serves each environment, set a patch review cadence, and confirm the compatibility matrix for each Hyperswitch release before you move a client version.

Hyperswitch releases

Apply release controls to appearance

Theme changes alter what customers see at the moment they pay, so they deserve the same controls as application code. Put theme definitions in version control, require peer review, test on each supported browser and mobile OS, and keep a tested rollback path. Use a staging environment with production-like configuration before any change reaches live traffic, and record who approved each change.

Verify the checkout after each change

Visual regressions and broken payment flows often look identical from the outside. After each appearance change, run a scripted set of test payments across the payment methods you show, including failure and 3DS paths where they apply. Check that the payment method order you configured matches what renders for each region and currency, and that error messages still appear for declined and abandoned payments.

Limit who can change the appearance

Appearance settings are often edited by marketing or design teams with access to the same tools as engineers. Define which roles can change themes in the Control Center, which can approve them, and which can publish to production. Confirm how Hyperswitch manages those roles, since Control Center roles are assigned within Hyperswitch rather than mapped from your identity provider, and keep a log of who changed what.

Control Center SSO docs

Questions teams ask before customizing checkout appearance

Can a designer customize the Hyperswitch checkout without engineers?

Partly. A designer can define the brand specification, but engineers apply it, because the checkout runs inside the web and mobile SDKs your developers integrate and host. Designers should prepare font files with usage rights, color values, corner radius, spacing, button styles, the payment method order and screenshots of the target design for each screen. Engineers then map those values to the theme options the SDK exposes, test them in a non-production environment and release them with the web app or mobile build. Confirm in the SDK documentation for your version which appearance settings are supported, because the available options are set by the SDK, not by your design file.

What makes checkout appearance work take more effort?

Four factors drive the effort: the platforms you cover, the payment methods on screen, the layout changes you need and the accessibility work. Each one adds build, test and sign-off steps.

  • Platforms: web, Android, iOS, React Native and Flutter each have their own SDK and styling surface, so each platform is a separate build and test pass.
  • Payment methods: every method with its own logo, labels and states adds visual checks, and ordering rules need testing for each customer segment.
  • Layouts: changes beyond the supported theme options usually require custom code, which carries the highest maintenance cost.
  • Accessibility: contrast ratios, focus states, text scaling and screen reader labels must be checked after each brand change.

Ask for each factor to be priced separately in the written scope so you can see which one moves the quote.

How long does checkout customization take to complete?

No duration is supplied for this work, and the written scope sets it. A single platform with brand tokens and a standard layout is a very different job from a multi-platform checkout with custom layouts and an accessibility review. Before agreeing a timeline, confirm which platforms, payment methods and layouts are in scope, which theme options your SDK version exposes, who approves designs and how many review rounds are included. DeployOpen agrees timelines in writing as part of fixed-scope engagements, so ask for the schedule to reference those items. Any change to scope should then be visible as a change to the schedule.

What does the team need before customization starts?

Three inputs matter most. First, matched SDK versions: the web SDK and app server must work together, and the compatibility matrix on the Hyperswitch releases page shows which Control Center and web client versions pair with each release. Second, a test environment: a local Docker setup or a staging deployment that mirrors production, so you can review appearance without exposing customers to unfinished work. Third, brand assets: licensed font files, logos in the formats each platform needs, a color and spacing token sheet and a payment method list with the order rules you want. Missing any of these usually causes rework late in the project, so confirm them before the build plan is written.

Should I use payment links or Hyperwidgets instead?

Use payment links when you need a hosted payment page with light theming and no checkout build. Use Hyperwidgets when you want to add individual alternative payment methods to a checkout you already run. Payment links can be themed and served from your own domain, which suits invoices, sales-led payments and small catalogs. Hyperwidgets suit adding a specific wallet or alternative method into an existing page. Customizing the unified checkout fits best when the payment step must match your product on every screen and platform. The options differ in how much of the page you control, so check the Hyperswitch documentation for each before deciding.

When should a team move to the headless SDK?

Move to the headless SDK when the prebuilt checkout cannot produce the layout or flow you need, after theme options and supported customization have been exhausted. The headless SDK gives you control over the screens, but your team takes on more of the work, including how card fields are built and the PCI DSS obligations that come with them. Before choosing it, confirm with your security team and assessor how card data flows through your own pages, and plan for ongoing maintenance as SDK versions change. If the goal is only to match the brand, theming the unified checkout is usually the smaller step and carries less ongoing scope.

Where does checkout customization stop, and what breaks on upgrades?

Customization stops at what the SDK exposes through its supported theme options and documented extension points. Overrides that depend on internal markup or undocumented CSS selectors can break when the SDK or app server is upgraded. Plan a visual check on each upgrade and read the release notes before moving versions. The v1.124.0 release notes state that Superposition became a required configuration dependency, which shows that an upgrade can change more than the front end. Keep a record of every override so the team knows exactly what to retest after each change.

What to confirm in your environment

Appearance customization looks simple until it meets a specific SDK version, a font license and a self-hosted build. The cards below cover the six checks that decide whether your brand design survives into production, and each one is cheaper to confirm before design work starts than after a release.

Supported appearance keys per SDK version

Appearance options are not identical across releases, and a key that works in one SDK version may be ignored or renamed in another. Ask for the list of appearance keys supported by the exact SDK version you will ship, and test each token you plan to use on web and on each mobile platform. Keep the list in your design system repository so that a version bump triggers a visual regression check. Confirm the key list before the design is signed off.

Font licensing and hosting

Brand fonts must be licensed for web embedding and for mobile app distribution, and the license terms often differ between the two. Confirm whether the font files can be served from your own CDN or must be bundled in the app, and check that the checkout loads them without a third-party request that your privacy team has not reviewed. Fallback fonts should be chosen so that the layout holds if the brand font fails to load.

Payment method ordering control

Decide whether the order of payment methods is set on the client or by backend configuration. If ordering lives in the client, every app release or hosted page change must be coordinated with merchant rules, and a mismatch can hide a method that a processor requires. If it lives in the backend, confirm which configuration object controls it and who can change it in the Control Center without a code deploy.

Self-hosted web SDK behavior

A self-hosted build of the web SDK may not match the hosted build in every detail, including default styles, asset paths and how new appearance options reach the page. Ask Hyperswitch or your implementation partner which behaviors differ, and run your appearance tests against the self-hosted bundle that will serve production traffic. Version pinning for the SDK should follow the same compatibility matrix as the app server.

Self-hosting docs

Beta status of planned components

Some components, such as embedded payment operations screens or certain payment method widgets, may be marked beta in the docs at the time you build. Beta components can change between minor releases, so check the status of every component on your appearance plan and record it in the release risk register. If a component you need is beta, plan a fallback to the stable checkout layout for launch.

Keeping branded checkout inside the right PCI scope

Who renders the card fields decides how far your branding work reaches into PCI DSS scope. When the Hyperswitch SDK renders the card inputs inside its own iframe, the card number is entered into a frame served by the payment platform, and your page styling controls only the surrounding layout. When you build card fields as your own markup, you control the element that receives the card number, which changes what your environment touches. Before you change fonts, colors or field layouts, confirm which of these two models your checkout uses, because a styling change that moves or replaces the card inputs can move the scope boundary with it.

The Hyperswitch docs state that in the self-hosted, in-house PCI vault model the merchant is fully responsible for PCI DSS certification and data handling. A branded checkout does not change that allocation, and it does not reduce it. If your team runs the card vault in-house, the appearance work sits inside a scope you own end to end. If you use an external PCI vault provider such as VGS or Tokenex, or the SaaS Hyperswitch Vault, the documented models differ, and the obligations and the evidence you need to produce shift accordingly. Read the deployment model pages for each option before you commit to a design. The self-hosted and in-house PCI model and the self-hosted and outsourced PCI model are the natural starting points.

Use the self-hosted vault and compliance pages in this hub to work out the scope decision, and ask your QSA or compliance lead to confirm it against your own environment. Treat any custom CSS, script or markup that touches the card fields as a change to be reviewed by the security team, not a cosmetic edit. Record which frames, scripts and hosted assets load on the payment page, because each one is part of what an assessor will ask about. Those decisions belong to your compliance function, and DeployOpen does not give compliance advice on them.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.