In Adyen
The API key
- Log in to your Customer Area (ca-test.adyen.com for a test account, ca-live.adyen.com for a live one) and select your Company account.
- Go to Developers, then API credentials, and select the Payments tab.
- Select a credential’s username. To make one instead, select Create new credential, choose Web service user and select Create credential.
- Under Server settings, Authentication, select the API key tab, then Generate API key.
- Copy the key with its copy icon: Adyen does not show it again once you leave the page. Then select Save changes.
The merchant account
Its name is in the account switcher in the upper left of your Customer Area: select your company’s name there to see your merchant accounts. Switched to it, check under Payments, Payment methods that it has at least one payment method. The ones you add there are the ones Adyen’s page offers.The webhook
- Open Shoply’s Adyen dialog and copy the Callback URL it shows over HMAC Key.
- In your Customer Area, go to Developers, then Webhooks. Select Create new webhook, then Add next to Standard webhook.
- Under General, leave it Enabled and choose your merchant account. Under Server configuration, paste the Callback URL as its URL, and choose JSON as its Method.
- Under Security, generate an HMAC Key and copy it.
- Select Save configuration.
A live account
- Copy its live URL prefix from Developers, API URLs, Prefix in your live Customer Area. It looks like
1797a841fbb37ca7-AdyenDemo. - Before its first payment, add the address of your terms and conditions under Payments, Payment link settings, Terms and conditions URL. Adyen shows it on its payment page, and asks for it before a live link is made.
Subscriptions
If you sell subscriptions, a subscription’s first payment stores the card it is paid with in your Adyen account, and Adyen’s page offers it cards only. Each renewal is then charged to that card on its day, with nobody there. Adyen’s guide to payments with stored cards asks for two things for that:- The API credential has the Merchant Recurring role, beside the Checkout webservice role.
- Your merchant account has payment methods that support recurring payments, under Payments, Payment methods.
Disputes
To answer a chargeback from Shoply, the API credential also needs the API dispute management role, which Adyen’s guide to its Disputes API asks for. Without it, Shoply says so when you submit, and you can answer in your Customer Area with Shoply’s PDF. See Disputes. Adyen captures a payment as soon as it is authorised, unless your merchant account is set to capture by hand. Leave it so: Shoply delivers an order once Adyen says it is paid, and a payment captured by hand is yours to capture in Adyen.In Shoply
- In your Shoply dashboard, open Settings, then Payment Methods.
- Under Add a Payment Method, find Adyen and press Connect.
- Paste the key into API Key, and your merchant account’s name into Merchant Account.
- For a live account, paste its prefix into Live URL Prefix. The whole live address is taken too. Leave it empty for a test account.
- Paste the webhook’s key into HMAC Key.
- Press Test Connection to try what you pasted, then Connect App.

