How to implement a payment gateway
Overview
The payment gateway allows your customers to make secure payments directly from the app, enabling them to complete purchases for products or services seamlessly.
STAY supports two payment gateway integrations:
- Stripe, one of the most widely used and trusted payment gateways globally.
- Adyen, a powerful enterprise-grade platform used by leading hospitality brands.
This article explains how to set up each option and what information is required.
Before getting started
Before integrating any payment gateway with STAY, make sure you:
- Have administrator access to your Stripe or Adyen account.
- Have a designated contact who will complete the technical setup in your company or group.
Option 1: Stripe integration
STAY offers a direct integration with Stripe using Stripe Connect. This setup is quick and ideal for most properties.
Step-by-step guide
Step 1: Open the Stripe registration link
- Click the personalized registration link provided by STAY.
- Enter your email address and phone number, then click Continue.
- Enter the 6-digit verification code sent to your phone via SMS.
Tip: Double-check your business name, email, and website. These will appear on customer receipts.
Step 2: Enter business information
- Select your country and business type.
- Choose the country where your business operates.
- Specify your business type and structure.
- Fill out your legal name, Tax ID, business address, and website.
.png?width=350&height=388&name=image%20(13).png)
Step 3: Verify business representative
Provide the full name, date of birth, and address of the representative.
Indicate whether they are a business owner (25% or more) or a board member.
Step 4: Add bank account details
Enter the bank account details to receive payouts from Stripe.
Step 5: Review and confirm
Please look over all details carefully and click Confirm to complete registration.
Stripe conditions
- Pricing: See Stripe Connect Standard pricing.
- Payouts: Stripe transfers funds automatically every 7 days.
Option 2: Adyen integration
STAY also supports integration with Adyen for enterprise clients. Adyen provides advanced capabilities and supports a wide range of payment methods, including Apple Pay and Google Pay.
Important: The integration must be completed by your team within the Adyen dashboard. The STAY team will finalize the connection once all credentials are shared securely.
Step-by-step guide
Step 1: Create a merchant account
For each hotel, create a dedicated merchant account in Adyen, preferably including “STAY” in the name for easy identification. The account must be in live status.

Step 2: Generate API credentials
-
Go to Developers > API credentials in the Adyen dashboard.

-
Click Create new credential.
-
Choose Web service user as credential type and click Create credential.

-
Generate an API Key (it will only be shown once — store it securely).

-
Set up the relevant payment methods.

-
Add the following domains as allowed origins:
https://.stay-app.com
https://.stay-app.systems
https://pwa.staging03.stay-app.systems

-
Get the Client Key: In the Authentication section of your API credentials, you’ll find the Client Key. Copy and save it along with the API Key, as both will need to be shared with the STAY team.

-
Assign the relevant permissions of the account.


Step 3: Create and configure a webhook
- Go to Developers > Webhooks > Create new webhook.

- Type: Standard

- Suggested name: Webhook for STAY
- Select the corresponding merchant account(s).

- In Server Configuration, set this URL: https://cluster.stay-app.com/stay-api/payments/adyen/hook

- In Security:
- Set a username and password (to be shared via a secure channel like onetimesecret . Request it to STAY if not received).
- Generate a HMAC Key and save it securely. You will need to share it with the STAY team later on.

Step 4: Get the live endpoint prefix
A live endpoint prefix is a unique identifier assigned by Adyen to your company account in the live (production) environment. It is used to build the API endpoint URLs and ensures that all transactions are routed correctly through Adyen’s infrastructure.
- Go to Developers > API URLs in your live Adyen account.

- Locate the Live Endpoint Prefix under the Prefix section.
- Keep this information stored securely, as you will need to provide it later in the integration process.
Important: Make sure to share the live endpoint prefix corresponding to the hotel’s region with the STAY team.
Note: To learn more, check out Adyen’s website about live endpoints.
Step 5: Share credentials securely with STAY
Once your Adyen setup is complete, securely send the following credentials to STAY (preferably via onetimesecret):
- API_KEY
- CLIENT_KEY
- HMAC_KEY
- Merchant Account name
- Live Endpoint Prefix (for your hotel’s region)
Important: Make sure all credentials are from the live environment.

Step 6: Enable Apple Pay and Google Pay (optional)
Important: If you want to offer Apple Pay and/or Google Pay as payment methods, make sure the API Clientside Encryption Payments role is enabled in your Adyen account permissions.
Apple Pay
To display the Apple Pay button in the Adyen payment screen (where customers can enter their card details), follow these steps:
- Ensure Apple Pay is enabled as a payment method in your Adyen account.
- A valid Apple Pay certificate must be configured. You can choose from:
- Adyen’s default certificate (official documentation)
- Your own custom certificate (official documentation)
Note: Without a valid certificate, the Apple Pay button will not appear in the payment interface.
Google Pay
Google Pay does not require a certificate, but you must follow the steps outlined in Adyen’s official documentation to enable and configure it properly.
Step 7: Customize the appearance of payment links
To offer a consistent and branded customer experience when using Pay by Link, you should configure the design associated with the merchant account used for STAY.
- Go to Pay by Link > Themes in the Adyen dashboard.

- Create a new theme or edit an existing one.
- Customize the following elements:
- Logo
- Colors
- Typography
- Payment button

Important: Make sure to set the theme as Default so it automatically applies to all links generated from the STAY merchant account.
Click Save to apply changes.
Step 8: Add a Terms and Conditions URL
To prevent an “undefined” message from appearing on the payment screen, you must set a valid Terms and Conditions URL.
- In the Adyen dashboard, go to Pay by Link > Settings.
- In the Terms and Conditions URL field, enter a link pointing to the legal terms page of the hotel or STAY.
- Click Save.
Important: This page must include all legally required information: the responsible entity, purchase conditions, refund policy, data protection, etc.
Next steps
Once you’ve completed the setup with Stripe or Adyen:
- STAY will enable and test the payment functionality.
- Perform test transactions to confirm everything is working correctly.
- Start accepting real payments through the guest app (check out the Payments section of the PRO settings).
Need further assistance?
If you have additional questions or require further assistance:
- Contact us via live chat
- Send a ticket to our Support team
- Visit STAY Academy, our training platform.
.png?width=382&height=361&name=image%20(15).png)