Official Python API library for Adyen payment processing. Auto-generated from OpenAPI spec. PyPI package name is 'Adyen' (capital A). Uses X-API-Key auth, not OAuth. Each major version pins updated API versions and may contain breaking changes from codegen corrections.
pip install AdyenVerified import paths — ran on the pinned version, not inferred.
Amounts are always in minor units (cents, pence). 1000 = $10.00 USD.
Review method signatures for services you use and remove any duplicated path parameter arguments. Only the request object and explicit path params (e.g. psp_reference) should be passed.
Use adyen.management.terminal_management to manage terminal fleet via the Management API.
pip install Adyen && import Adyen
Multiply by 100 for 2-decimal currencies. Check Adyen docs for currencies with different decimal places (e.g. JPY has 0 decimals).
Set adyen.client.platform = 'live' in production. Test and live environments use separate API keys.
Set adyen.client.live_endpoint_prefix to your unique live prefix from Adyen Customer Area when using the live environment.
Review and address pip's recommendations regarding environment setup (e.g., use virtual environments, avoid running pip as root) and keep pip updated. These messages are external to the Adyen SDK's functionality.
It is recommended to use a virtual environment for package installations to avoid permission issues and conflicts with the system package manager. Consider updating pip if a notice is displayed, using 'pip install --upgrade pip'.
Ensure the package is installed using 'pip install Adyen' and import it with 'import Adyen'.
Use 'from Adyen.client import AdyenClient' to import the correct class.
Instantiate the client correctly using 'adyen = Adyen.Adyen()'.
Use 'import Adyen' instead of 'import adyen'.
Verify that the correct API key is set using 'adyen.client.xapikey = "YourXapikey"'.