Skip to main content
Only a Customer Area user who can manage API credentials, such as a Merchant admin, can create API credentials and assign roles. Test and live accounts use separate Customer Areas and separate API keys.

Creating an API credential

An Adyen API credential is a web service user whose API key authenticates requests to Adyen. Create it at company level so every merchant account under the company is visible.

1

Sign in to Adyen

Sign in to the Customer Area for the environment you are connecting:

The Developers menu expanded in the Adyen Customer Area sidebar with API credentials highlighted
2

Start a new credential

On the API credentials page, click Create credential.

The API credentials page with the Create credential button highlighted
3

Choose the credential type

In the Create API credential window, select Web service user under Credential type.

  • Adyen generates the Username automatically, in the format ws_123456@Company.YourCompany.
  • Description: StackOne Integration
  • Click Create credential.
The Create API credential window with Web service user, the Description field and the Create credential button highlighted
4

Copy the API key

Adyen opens the Configure API credential page with an API key already generated under Server settings > Authentication > API key.

  • Click the copy icon next to the key, or click Generate API key to create a new one.
  • The API key is shown only once and cannot be retrieved later. Store it securely for use later.
  • Paste it into the API Key field in StackOne Hub.
The API key tab under Server settings with the copy icon and Generate API key button highlighted and the key hidden

Assigning roles

Roles decide which Adyen APIs the API key can call. Assign the roles for the actions you plan to use on the same Configure API credential page.

1

Select Management API roles

Under Permissions > Roles, expand ACCOUNT and select the roles you need.

  • Management API - Accounts read and write for companies, merchant accounts and stores.
  • Management API - API credentials read and write for API credentials.
  • Management API - Webhooks read and write for webhooks.
  • Management API — Payment methods read and write for payment method settings.
The Roles section with the ACCOUNT category expanded and four Management API roles highlighted
2

Save the credential

Expand UNCATEGORIZED and select Checkout webservice role to make payments, refunds and payment links.

  • Click Save changes to store and enable the newly generated API key.
  • Roles that are not listed, such as the ones for reading Customer Area users or terminals, must be enabled for your account by Adyen support.
The UNCATEGORIZED roles with Checkout webservice role and the Save changes button highlighted

Find your live URL prefix

Your live URL prefix identifies your company’s live Checkout and Classic API endpoints. Leave Live URL Prefix empty for Test connections.

1

Copy the live URL prefix

In the live Customer Area, expand Developers and click API URLs, then copy the prefix shown on that page.

  • Format: {random}-{CompanyName}
  • Example: a1b2c3-AcmeCorp
  • Paste it into the Live URL Prefix field in StackOne Hub.
The API URLs page explaining that the live environment uses a prefix for Checkout, Classic, Recurring, Payouts and BinLookup APIs

Webhooks

The Native Webhook URL field in StackOne Hub is filled in automatically after you connect. You only need it if you also set up Adyen webhooks for this account.

1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Next Steps

Webhooks setup

Configure receiving Events for Adyen into StackOne.