Hyperswitch Apple Pay and Google Pay setup

A planning and configuration guide for Apple Pay and Google Pay on a self-hosted Hyperswitch stack, covering domain verification, the decryption model and the processor approvals it requires.

On this page

How Apple Pay and Google Pay setup works on self-hosted Hyperswitch

If your team runs Hyperswitch and must offer wallet checkout, you configure Apple Pay and Google Pay per setup type and per decryption model. Hyperswitch documents Apple Pay for the web domain flow, an iOS application, and in-app and web transactions, and it documents Google Pay for in-app and web transactions. For Apple Pay, each setup can be processed with Hyperswitch decryption, PSP decryption or merchant decryption. For Google Pay, the documented options are Hyperswitch decryption or PSP decryption. The decryption model is the decision that drives everything else, because it determines which keys and certificates you hold, which processor must enable the feature, and how much of the payment token handling sits inside your own environment.

Start by listing your wallet setups and, for each one, the decryption model you intend to use. A web-only store has different prerequisites from an iOS app that shares the same processor account. Confirm with the Hyperswitch Apple Pay and Google Pay documentation which options are available for your setup type, then confirm with your processor which decryption models it accepts for your merchant account. The Apple Pay docs warn that the web domain flow decrypts at Hyperswitch, and that some processors, Stripe among them, must enable this for the merchant account before it works. Ask your processor that question before you commit to a design, because a processor refusal changes your decryption choice late in the project.

Plan the work around the decision rather than around the checkout screen. Record which team owns each artifact the chosen model requires: the domain verification file, the Control Center domain verification step, processor approvals, and any certificates or keys that sit with you. The separate Apple Pay decryption options guide covers the trade-offs in depth, so use this section to fix the setup types and model per wallet, then move to that guide to size the certificate and PCI scope consequences. Keep the decision record with your architecture documents so that a later Hyperswitch upgrade or processor change does not silently reopen it.

Which decryption model fits Apple Pay and Google Pay

With Hyperswitch decryption, the Hyperswitch core decrypts the Apple Pay or Google Pay payment token before the payment goes to the processor. The Hyperswitch Apple Pay docs say the web domain flow decrypts at Hyperswitch, and the Google Pay docs list Hyperswitch decryption for in-app and web transactions. Your self-hosted stack then handles decrypted wallet data during the transaction, so the decryption step becomes part of your environment.

  • Processor approval: Some processors must enable the feature on the merchant account before decryption at Hyperswitch works. The Apple Pay docs name Stripe as one example.
  • Certificates and keys: Apple Pay setups depend on the merchant identity and domain verification steps covered elsewhere on this page. Confirm with Hyperswitch which certificates and keys your deployment must hold and where they are stored.
  • PCI DSS scope: Systems that run decryption process decrypted payment data, so they usually fall inside your assessment boundary. Confirm the scope with your assessor.
  • Operations: Key access, rotation and certificate renewal become ongoing duties for your platform team.

Before you choose this model, confirm with Hyperswitch and your processor which approvals apply to your merchant account and which keys your team must hold.

What you need before configuring Apple Pay and Google Pay

Apple Pay and Google Pay in a self-hosted Hyperswitch setup depend on several parties at once: your platform, your domain, Apple and Google, and each processor. Work through these items before touching the Control Center, because a missing approval or an unverified domain stops the flow even when the configuration looks correct.

A running self-hosted Hyperswitch stack

Confirm the router, Scheduler, PostgreSQL, Redis and Control Center are all healthy in the environment where wallets will be tested. Wallet configuration is stored in the platform, so a half-deployed stack will hide errors until go-live. Check the release version you run against the release notes and compatibility matrix for your Control Center and client SDK versions, since wallet behavior depends on those pairings. Record the exact versions in your change ticket.

Hyperswitch releases

Control Center access with the right roles

Someone must be able to add processor connectors, enter wallet credentials and verify domains in the Control Center. Users must be invited first, and roles are managed inside Hyperswitch rather than mapped from your identity provider, so confirm that the people who will change wallet settings hold a role that allows it. Keep a short list of who can change wallet and processor settings, because those changes affect live checkout.

Control of the merchant domain

The web flows require you to host a domain verification file at the well-known path on each checkout domain and verify that domain in the Control Center. If your team does not control DNS, web server or CDN configuration for every checkout host, settle that ownership before scheduling tests. Include staging and preview hostnames if testers will use them.

An Apple developer account

Apple Pay requires an Apple developer account and the merchant identifiers and certificates that go with the setup you choose. Confirm who holds the account, how credentials are rotated and who receives expiry notices, since an expired certificate breaks payments without a visible code change. The decryption option you pick determines which certificates your team must manage and where they live.

A Google Pay merchant setup

Google Pay needs a merchant configuration that matches the decryption path you choose, whether Hyperswitch or the processor decrypts the payment token. Confirm which Google Pay merchant details your processor expects and who can update them. Check the Google Pay setup guidance in the Hyperswitch docs against your chosen flow before you collect credentials.

Google Pay docs

Processor approvals for decryption at Hyperswitch

Some processors must enable Apple Pay or Google Pay for your merchant account before decryption at Hyperswitch works. The Hyperswitch Apple Pay docs note that Stripe is among the processors that need to enable the feature. Ask each processor in writing whether it must approve the feature, how long approval takes and what it requires from you, because an unapproved processor will reject wallet transactions even when everything else is set up.

How to configure Apple Pay web domain verification in the Control Center

This sequence takes a self-hosted Hyperswitch deployment from a hosted domain verification file to a verified web domain, an enabled Apple Pay connector and a processor that has approved decryption for the merchant account. Each step closes with a check you can run before moving on.

  1. Confirm the decryption model before starting

    Decide whether Hyperswitch, the processor or your own systems will decrypt Apple Pay tokens, because the web domain flow decrypts at Hyperswitch when that model is chosen. Your team and the processor's contact should agree on this in writing before any configuration begins. Done means the decision is recorded with the processor, and you know which approvals the chosen model requires.

  2. Host the domain verification file

    Obtain the domain association file from Apple Developer for your merchant identifier, then serve it at the documented path /.well-known/apple-developer-merchantid-domain-association on each web domain that will show Apple Pay. Your web team or platform team owns this, and it must be served without redirects or authentication. Check it by opening the file in a browser over HTTPS and confirming the content matches the file you downloaded.

  3. Verify the domain in the Control Center

    In the Hyperswitch Control Center, add the web domain and run verification so Hyperswitch can confirm the hosted file. The merchant administrator performs this step with a Control Center role that allows connector and domain changes. Done means the verification status shows as verified for that domain, and you have recorded the domain name against the merchant account.

  4. Enable Apple Pay on the connector

    Open the payment connector for the processor you will use, turn on the Apple Pay wallet for that connector, and save the configuration. Your payments team completes this with the credentials the processor issued for your account. Check it by confirming the wallet appears as enabled on the connector and that the verified domain is linked to the same merchant account.

  5. Get the processor to enable the feature

    Ask the processor to enable Apple Pay web domain decryption at Hyperswitch for your merchant account, because the Hyperswitch Apple Pay documentation warns that some processors, Stripe among them, must enable the feature before it works. The processor's onboarding team completes this, and you should request written confirmation with the merchant account identifier. Done means the processor has confirmed activation for that account, not only that your connector settings are saved.

  6. Run an end-to-end test transaction

    Load a checkout page on the verified domain in a supported Safari browser on an Apple device with a test card in the wallet, then complete a test Apple Pay payment in the processor's sandbox. Your QA or payments engineers run this and watch the Hyperswitch payment record and processor logs. Done means the test payment reaches an authorized state with the wallet recorded as the payment method.

  7. Configure Google Pay for the supported decryption models

    For Google Pay, Hyperswitch documents in-app and web transactions processed with either Hyperswitch decryption or processor decryption, so choose one model per connector and match it to the processor's Google Pay setup and merchant approval. Your payments team enables Google Pay on the connector in the Control Center and supplies the merchant identifiers the processor requires. Check it by running a test Google Pay payment through the same checkout and confirming the record shows the chosen decryption path.

  8. Record the setup for audit and handover

    Write down the decryption model, the verified domains, the processor approval reference and the test payment results, and store them where your security and compliance reviewers can find them. Your platform team owns this record and updates it on any domain, certificate or processor change. Done means a reviewer can trace each wallet to its domain, connector and approval without asking the engineers who built it.

Decryption choice decides where the card data first appears

The diagram starts at the shopper's device, where the wallet produces an encrypted token, and passes through the checkout SDK. From there the token takes one of three paths. In the Hyperswitch decryption branch, the Router decrypts the token inside the Hyperswitch boundary, which is the only place decrypted card data appears in that path. In the PSP decryption branch, the encrypted token passes through to the processor, which decrypts it. In the merchant decryption branch, the merchant's own server decrypts the token and forwards the result to the Router. Check which party holds the decryption keys and where decrypted data is stored and logged before you choose a branch.

Three decryption branches and where decrypted card data first appears.

Which settings map to which wallet setup

This table maps each documented Apple Pay and Google Pay setup to its decryption model, the identifier it needs, the Control Center field involved and the processor approval to confirm. Read each row as a question to ask before configuring anything, since the processor column is where most delays occur. Cells marked as items to confirm should be checked against the current Hyperswitch docs for your version.

Wallet setupDecryption modelDomain or app identifierProcessor approval to confirm
Apple Pay web domainHyperswitch decryption, because the web flow decrypts at HyperswitchVerified domain, with the domain association file served at the documented .well-known pathConfirm per processor. Stripe, among others, must enable the feature for the merchant account
Apple Pay iOS applicationConfirm in the docs which decryption options apply to in-app flowsApple merchant ID and the iOS app bundle identifierConfirm with the processor which Apple Pay certificates and merchant setup it requires
Apple Pay in-app transactionsHyperswitch, processor or merchant decryption, depending on setupApple merchant ID linked to the appConfirm whether the chosen decryption model needs processor enablement
Apple Pay web transactionsHyperswitch, processor or merchant decryption, depending on setupVerified web domain registered in Control CenterConfirm per processor, and confirm whether the decryption choice changes this approval
Google Pay in-app transactionsHyperswitch decryption or processor (PSP) decryptionGoogle merchant configuration for the appConfirm with the processor which Google Pay approval applies to the chosen model
Google Pay web transactionsHyperswitch decryption or processor (PSP) decryptionGoogle merchant configuration for the website domainConfirm with the processor which Google Pay approval applies to the chosen model

Security controls for wallet tokens and domain verification

Apple Pay and Google Pay settings touch domain verification, decryption keys and payment-processing configuration, so they need the same controls as other production secrets. The cards below cover where those controls matter most and what to confirm with your assessor before go-live.

Change control on the verification file

The Apple Pay web flow depends on a domain verification file served at /.well-known/apple-developer-merchantid-domain-association. Anyone who can replace that file on your web tier can change which domain appears verified, so treat it as a managed artifact. Put it in version control, deploy it through the same pipeline as the site, and record who approved each change. Check after every deployment that the served file matches the approved copy.

Apple Pay docs

Restricting wallet settings in Control Center

Wallet configuration, domain verification and connector credentials are changed through the Hyperswitch Control Center, so its roles decide who can alter payment behavior. Limit wallet and connector edits to a small named group, and keep read-only access for everyone else. Because Control Center roles are managed in Hyperswitch rather than mapped from your identity provider, review the role list on a schedule and remove access when people change teams.

Where decryption keys and certificates live

Merchant decryption means your organization holds the keys or certificates used to decrypt wallet tokens, and those materials must be stored, rotated and access-logged. Decide whether they sit in your secrets manager, a key management service or an HSM, and limit read access to the services that need them. Keep them out of container images, Helm values committed to source control and shared chat channels.

PCI DSS scope by decryption model

Who decrypts the wallet token changes which systems and people fall into your PCI DSS scope. Hyperswitch, processor and merchant decryption each place certificates, decrypted data and logs in different locations, so the scope must be mapped per model before go-live. Ask your QSA or assessor to confirm how your chosen model affects the cardholder data environment, and document the reasoning in your evidence file.

Logging configuration changes

Record every change to domain verification, wallet enablement, decryption settings and connector credentials, including who made it, when and what changed. Forward these records to a log store that the operations team cannot silently edit. Review them against the change tickets that authorized each update, and alert on changes that have no matching approval.

Why Apple Pay or Google Pay fails after setup

This table lists the failures that most often stop Apple Pay or Google Pay from working after a self-hosted Hyperswitch setup, with the cause and fix for each. Check the rows in order, since a missing domain file or unverified domain blocks everything that follows. Most failures trace back to a missing processor approval or a decryption model that does not match the setup type.

FailureLikely causeFix
Domain verification file not foundThe merchant domain association file is not served at /.well-known/apple-developer-merchantid-domain-association, often because a proxy, CDN or redirect changes the path.Confirm the file loads over HTTPS at that exact path without redirects, then re-run domain verification.
Domain not verified in Control CenterThe file is hosted, but the domain was never verified in the Hyperswitch Control Center, so the Apple Pay web flow has no approved domain.Verify the domain in the Control Center under the Apple Pay configuration and confirm its status shows as verified before testing.
Processor has not enabled decryption at HyperswitchThe web domain flow decrypts at Hyperswitch, and some processors, Stripe among them, must enable this feature for the merchant account before it works.Ask the processor in writing to enable Hyperswitch decryption for your merchant account, and confirm the approval before debugging the integration.
Wrong decryption model for the setup typeThe team selected Hyperswitch, processor or merchant decryption without matching it to the setup, such as a web domain flow or an in-app flow, or to the processor's support.Map each setup (web domain, iOS app, in-app, web, Google Pay in-app or web) to a supported model in the Hyperswitch Apple Pay and Google Pay docs, then align the connector configuration to that model.
Wallet not enabled on the connectorApple Pay or Google Pay is not switched on for the processor connector in Hyperswitch, so the payment method never appears at checkout.Enable the wallet on the connector configuration and confirm the wallet appears in the test checkout for the right device and browser.
Google Pay tokens fail to decryptThe chosen Google Pay model does not match the processor setup, or the merchant gateway details passed to the processor are incorrect.Confirm whether Hyperswitch or PSP decryption applies to your flow, then check the merchant identifiers and environment settings for that processor.

Questions teams ask before configuring wallets on self-hosted Hyperswitch

How long does Apple Pay and Google Pay setup take on self-hosted Hyperswitch?

The duration depends mostly on how many approvals sit outside your own team, not on Hyperswitch configuration itself. The main drivers are whether you need Apple Pay for web, an iOS app, or both, which decryption model you choose, and how quickly your processor enables wallet decryption on your merchant account. Domain verification and Control Center configuration are short tasks once the hosting path and accounts are ready. Ask any partner to split its estimate into internal work, processor approval time and Apple or Google account steps, and to state which of those it cannot control.

Can our own engineers configure Apple Pay and Google Pay without outside help?

Yes, a capable platform team can do the configuration if it has access to the Hyperswitch Control Center, the Apple and Google developer accounts, and a processor contact who can enable the required features. The harder parts are usually not the Control Center screens but the coordination: hosting the domain verification file correctly, confirming which decryption path your processor supports, and testing in-app and web flows on real devices. Teams with no payments or wallet experience often bring in outside help for the design decision and the test plan, then run the routine work in-house.

What do we need from our processor and our Apple or Google accounts?

You need an Apple developer account for web domain verification and for any iOS application, and a Google Pay setup that matches your integration type. On the processor side, the Hyperswitch Apple Pay documentation warns that the web domain flow decrypts at Hyperswitch, and some processors, Stripe among them, must enable the feature for your merchant account before it works. Confirm with each processor in writing:

How does the decryption model change our PCI DSS scope?

The decryption model decides which system receives and decrypts the wallet payment token, and that system carries the sensitive data handling. When Hyperswitch decrypts, your self-hosted stack handles decrypted payment data and needs the corresponding controls and key management. When the processor decrypts, the processor handles that data and your scope is typically narrower, but you still need to confirm the exact responsibilities in your processor agreement. Merchant decryption places the most responsibility on your own environment. Have your QSA or internal compliance lead review the chosen model against your current scope before go-live, since this is a question for your assessor and not something this page can settle.

What should a quote for Apple Pay and Google Pay setup include?

A useful quote lists each deliverable against the chosen decryption path and the environments in scope. Expect it to cover the decision on who decrypts, domain verification for each web domain, Control Center configuration for each processor, the Apple and Google account steps your team must complete, test cases for web, iOS and Android flows, and a go-live checklist. It should also state what is excluded, such as processor approval work you do not control, certificate management for merchant decryption, and changes to the checkout front end. Ask for the assumptions behind the effort so you can see which ones change the price.

What drives the ongoing cost of wallet support after go-live?

Ongoing cost comes from keeping the wallet path working as the platform changes, not from the initial setup. Hyperswitch ships regular minor releases with compatibility matrices for Control Center and web client versions, so you will need to check wallet configuration after each upgrade you apply. Each additional processor, each new web domain, and each new wallet type adds verification and testing work. Add a recurring allowance for re-verifying domains, retesting flows after upgrades, and handling processor or Apple or Google policy changes. Ask whether a support retainer covers these checks.

What breaks most often when wallets fail on a self-hosted Hyperswitch?

The most common failures are a domain verification file that is not served at the exact path, a processor that has not enabled wallet decryption for the merchant account, and a web domain that is not verified in the Control Center for the environment being tested. Engineers should also check that the checkout SDK version matches the Hyperswitch version in use, and that the sandbox and production credentials are not mixed. Build a short test matrix covering each domain, wallet, device type and processor before go-live, and log the response from the processor for every declined wallet payment.

How DeployOpen scopes wallet configuration for your Hyperswitch stack

DeployOpen fixes the wallet scope in writing before any configuration starts. The agreement records which decryption model applies to Apple Pay and Google Pay (Hyperswitch decryption, processor decryption or merchant decryption), which processors must approve the feature for your merchant accounts, which domains and iOS applications are covered, and which transaction types are in scope, such as in-app and web payments. Each of those choices changes the work, so they are agreed first and the deliverables follow from them. The written scope also names the acceptance checks, such as a test payment per wallet and per processor, so both sides know when the work is complete.

To scope the work, DeployOpen needs account access to the self-hosted Hyperswitch deployment and the Control Center, named contacts at each processor who can enable wallet decryption for your merchant account, and control of the domains you plan to use for Apple Pay web. For Apple Pay web, that means the ability to host the domain verification file at the required /.well-known/ path and to complete domain verification in the Control Center. For Apple Pay on iOS and Google Pay, the client provides the app identifiers and the merchant account details the processor requests. Ask your processor which approvals it needs before the decryption model is final, because some processors must enable the feature before any traffic flows.

The client receives a written configuration record and the deliverables listed in the scope: the chosen decryption model, the processor approval status, the domain verification evidence, the Control Center settings, and the test results. Ask for the processor approval contacts and lead times in writing before you sign, since those depend on each processor and not on the implementation team. Any cost or timing figure in the quote should trace back to these written items, so you can see which parts are one-time setup and which parts (such as certificate renewals and domain re-verification) recur and who owns them afterward.

How DeployOpen works on this

DeployOpen plans and implements Hyperswitch Apple Pay and Google Pay setup inside your own infrastructure, from domain verification through decryption choice and processor approvals. The work is scoped in writing before it starts, so your security, payments and processor teams agree on what changes and who approves each step.

How we scope

  • Confirm which wallet flows you need: Apple Pay web domain, iOS application, or Google Pay for in-app and web transactions.
  • Record the decryption model you choose (Hyperswitch, processor or merchant) and the PCI scope effects agreed with your compliance team.
  • List the processor approvals, merchant account settings and Apple and Google account steps your team must complete before build begins.

How we build

  • Host the Apple Pay domain verification file and verify the domain in the Hyperswitch Control Center for the web flow.
  • Configure wallet connectors and routing in your self-hosted deployment, then test each decryption path with sandbox credentials.
  • Check that processor-side enablement for Hyperswitch decryption is in place before any live transaction is attempted.

How we hand over

  • Deliver a written configuration record covering domains, connectors, decryption choice, key and certificate locations and owners.
  • Provide test evidence for each wallet flow, including failed-payment cases and the webhook and reporting results for wallet payments.
  • Walk your operations team through renewal dates for Apple and Google credentials and the steps to rotate them.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and retesting after Hyperswitch releases are available as a retainer.
  • Ask any partner for the quote breakdown, including which items are one-time and which recur, before you sign.

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.