Skip to main content
Adyen no longer develops or updates our Classic API. We recommend that you migrate your integration to use the latest version of Checkout API for the following benefits:
  • A single integration to process all payment methods, including cards, bank-based, and alternative payment methods.
  • A simpler client-side integration with Drop-in/Components that is only available with the Checkout API.
  • Improved 3D Secure 2 authentication for payments. This includes simpler integration and the auto-authorization feature which reduces integration errors and failed payments.
  • An integration that adheres to latest security standards, like JSON Web Encryption (JWE) and JSON Web Signature (JWS), and offers your shoppers a more secure checkout process.
  • A simple, developer-friendly integration experience that handles many of the complexities of processing payments with less code complexity.
  • More specific error responses, for more efficient debugging.
When you migrate to Checkout API, changes affect:
  • Payment authentication
  • Authorization
  • Modification requests
The following do not change:
  • Reporting
  • Reconciliation
  • Webhooks
  • API authentication keys

Supported features

The following table shows the features supported in Classic API and Checkout API:

How to migrate

Follow this guide to migrate to Checkout API v72 or later. The migration tasks that you must do depends on your type of Classic API integration.

Classic API integration type

The following table shows which migration tasks you must do, based on your integration type: During your migration process, you can continue to use your existing Classic API integration to process live payments.

Approaches to speed up your migration

You can use the following approaches to speed up your migration process:

Update settings in Customer Area

In your Customer Area, do the following:
  • Make sure that your API credential has the Checkout webservice user role.
    1. In your Customer Area, go to Developers > API credentials.
    2. From the list of users, select the user whose credentials you want to use to make Checkout API requests.
    3. In the Permissions section, in the Roles panel, under UNCATEGORIZED, select Checkout webservice role.
  • Turn on additional data that you want to get it in your Checkout API responses.
    1. In your Customer Area, go to Developers > Additional data.
    2. Select the fields that you want to get.
You continue to get the same reports in your Customer Area after you migrate to Checkout API.

Update your endpoints

The following tables show the base URL and endpoints that you must update from Classic API to Checkout API.

Base URL

You can find your URL prefixes for the live environment in your live Customer Area:
  1. Go to Developers > API URLs.
  2. Select the endpoint that corresponds to the region that the account operates in. For example, if you are located in India, you must use a URL in the India (IN) region.

Endpoints

Change the following endpoints for each corresponding action. Append each endpoint to the base URL.

Update your request objects

The request objects in Classic API and Checkout API are different. You must update the parameters for each object.

Data format

The required data format for Checkout API is JSON. If your Classic API integration uses XML data, you must change your request objects to JSON instead. The following examples show the differences in the request objects between Classic API and Checkout API, in JSON format. **

Make a payment with encrypted card details

If you are not PCI-compliant, use one of Adyen’s client-side solutions to encrypt card details. After encrypting card details, make a payment request with the encrypted card details.

Parameters

Classic API

To make a basic card payment with encrypted card details, include the following in the /authorise request:

Checkout API

To make a basic card payment with encrypted card details, include the following in the /payments request:
**

Make a payment with unencrypted card details

You must be PCI compliant to use unencrypted card details. Make a request for a card payment with unencrypted card details.

Parameters

Classic API

To make a basic card payment, include the following in the /authorise request:

Checkout API

To make a card payment, include the following in the /payments request:
**

Store the shopper’s card details

Make a request to store the shopper’s card details.

Parameters

Classic API

To store the shopper’s card details (in this example, for one-off payments), include the following in the /authorise request:

Checkout API

To store the shopper’s card details (in this example, for one-off payments), include the following in the /payments request:
**

One-off payment with stored card details

Make a request for a one-off payment with stored card details.

Parameters

Classic API

To make a one-off payment with stored card details, include the following in the /authorise request:

Checkout API

To make a one-off payment with stored card details, include the following in the /payments request:
**

Subscription payment with stored card details

Make a request for a subscription payment with stored card details.

Parameters

Classic API

To make a subscription payment with stored card details, include the following in the /authorise request:

Checkout API

To make a subscription payment with stored card details, include the following in the /payments request:
**

Card payment with native 3D Secure 2 authentication

Make a request for a payment with native 3D Secure 2 authentication. Use our native 3D Secure 2 Component to handle 3D Secure 2 authentication.

Parameters

Classic API

To make a payment for native 3D Secure 2 authentication, include the following in the /authorise request:

Checkout API

To make a payment for native 3D Secure 2 authentication, include the following in the /payments request:
**

Card payment with redirect 3D Secure 2 authentication

Make a request for a payment with 3D Secure 2 redirect authentication. Use our redirect 3D Secure 2 Component to handle redirect 3D Secure 2 authentication.

Parameters

Classic API

To make a payment with 3D Secure 2 redirect authentication, include the following in the /authorise request:

Checkout API

To make a payment with 3D Secure 2 redirect authentication, include the following in the /payments request:
**

Refund

Make a request for refund.

Parameters

Classic API

To make a refund, include the following in the /refund request:

Checkout API

To make a refund, include the following in the /payments/{paymentPspReference}/refunds request:
**

Cancel

Make a request to cancel a payment.

Parameters

Classic API

To cancel a payment, include the following in the /cancel request:

Checkout API

To cancel a payment, include the following in the /payments/{paymentPspReference}/cancels request:
**

Capture

Make a request to capture a payment.

Parameters

Classic API

To capture a payment, include the following in the /capture request:

Checkout API

To capture a payment, include the following in the /payments/{paymentPspReference}/captures request:
**

Reversal

Make a request for reversal. Use this when you do not know if a payment was already captured.

Parameters

Classic API

To reverse (cancel or refund) a payment, include the following in the /cancelOrRefund request:

Checkout API

To reverse (cancel or refund) a payment, include the following in the /payments/{paymentPspReference}/reversals request:
**

Adjust the amount of an authorized payment

Make a request to adjust the amount of an authorized payment.

Parameters

Classic API

To adjust an authorized amount, include the following in the /adjustAuthorisation request:

Checkout API

To adjust an authorized amount, include the following in the /payments/{paymentPspReference}/amountUpdates request:
**

Third-party 3D Secure 2 authentication

Make a request for a payment with third-party authentication. The parameters you include depend on the authentication data from the third party.

Parameters

Classic API

To make a payment with third-party authentication, include the following in the /authorise request: The parameters you include depend on the authentication data from the third party.

Checkout API

To make a payment with third-part authentication, include the following in the /payments request: The parameters you include depend on the authentication data from the third party.

Implement card brands check

To comply with co-badge card regulations, follow instructions to show co-badged cards.

Handle additional actions

The /payments response includes the payment status. If the response includes the action object, you must handle an additional action before the shopper can finish the payment. What you must do depends on the action.type:

Show the voucher or QR code to your shopper

For voucher and QR code actions, you must use the information in the action object to show something to the shopper.
For the voucher action.type:
  1. Get the voucher data from the action object and present this information on your front end or client app. For example, for Indonesian bank transfer payments, you get the following fields in the response: Voucher action type
  2. After you show the voucher to the shopper, get the payment outcome.