Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.
VariableRequiredDescription
ADYEN_API_KEYYesAdyen API key generated for your API credential in the Customer Area (Developers > API credentials) Docs.
ADYEN_MERCHANT_ACCOUNTNoAdyen merchant account name, passed as the merchantAccount field in API requests Docs.

Setup

  1. Create an Adyen test account: Sign up for a free Adyen test account at https://www.adyen.com/signup. This gives you a test Customer Area at https://ca-test.adyen.com with a test merchant account.
  2. Generate an API key: In the Customer Area, go to Developers > API credentials, select (or create) a credential, then under Server settings > Authentication open the API key tab and select Generate API key. Copy it immediately - it cannot be shown again after you leave the page.
  3. Configure environment variables: Set ADYEN_API_KEY to the generated key. Optionally set ADYEN_MERCHANT_ACCOUNT to your merchant account name (shown in the Customer Area) - it is required as the merchantAccount field in every request body.
  4. Going live: Live mode needs a separate API key generated in the live Customer Area (https://ca-live.adyen.com), and live API calls use your unique live URL prefix. Find the prefix under Developers > API URLs in the live Customer Area.
  • Each tool takes a checkoutHost parameter. For test, keep the default checkout-test.adyen.com. For live, pass your prefixed live host including the checkout path segment, e.g. 1797a841fbb37ca7-AdyenDemo-checkout-live.adyenpayments.com/checkout (test and live URLs have different structures).
  • Amounts are in minor units (e.g. value 1000 with currency EUR is EUR 10.00).
  • Refund outcomes are asynchronous: the API acknowledges the request and the final result is delivered via a REFUND webhook.
  • The Checkout API does not provide a payment listing endpoint; use get_session_result or webhooks to track payment outcomes.
Provider API reference: https://docs.adyen.com/api-explorer/Checkout/71/overview

Tools

ToolAccessDescription
Create Payment SessionWriteCreate an Adyen Checkout payment session that a Drop-in or Component can use to collect payment
Get Session ResultReadGet the final result of an Adyen payment session, including authorized payments and status
List Payment MethodsReadList the payment methods available for a merchant account, amount, and shopper country
Create Payment LinkWriteCreate a hosted Pay by Link URL the shopper can open to pay, without needing a Drop-in or Component frontend
Capture PaymentWriteCapture an authorised Adyen payment (for manual-capture flows); the outcome arrives asynchronously via a CAPTURE webhook
Create RefundWriteRefund all or part of a captured Adyen payment; the outcome arrives asynchronously via a REFUND webhook

Example prompts

  • Create an Adyen payment session for a given amount and currency, and give me the session details.
  • Check the result of an Adyen payment session and summarize whether the payment succeeded.
  • Refund an Adyen payment by PSP reference: confirm the amount with me first, then submit the refund.