Adyen Payment API
https://pal-test.adyen.com/pal/servlet/Payment/v68
Click to copy

A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods.

To learn more about the API, visit Classic integration.

Authentication

You need an API credential to authenticate to the API.

If using an API key, add an X-API-Key header with the API key as the value, for example:

curl
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
...

Alternatively, you can use the username and password to connect to the API using basic authentication, for example:

curl
-U "ws@Company.YOUR_COMPANY_ACCOUNT":"YOUR_BASIC_AUTHENTICATION_PASSWORD" \
-H "Content-Type: application/json" \
...

Versioning

Payments API supports versioning using a version suffix in the endpoint URL. This suffix has the following format: "vXX", where XX is the version number.

For example:

https://pal-test.adyen.com/pal/servlet/Payment/v68/authorise

Going live

To authenticate to the live endpoints, you need an API credential from your live Customer Area.

The live endpoint URLs contain a prefix which is unique to your company account:


https://{PREFIX}-pal-live.adyenpayments.com/pal/servlet/Payment/v68/authorise

Get your {PREFIX} from your live Customer Area under Developers > API URLs > Prefix.

post /adjustAuthorisation
Change the authorised amount
post /authorise
Create an authorisation
post /authorise3d
Complete a 3DS authorisation
post /authorise3ds2
Complete a 3DS2 authorisation
post /cancel
Cancel an authorisation
post /cancelOrRefund
Cancel or refund a payment
post /capture
Capture an authorisation
post /donate
Create a donation
post /getAuthenticationResult
Get the 3DS authentication result
post /refund
Refund a captured payment
post /retrieve3ds2Result
Get the 3DS2 authentication result
post /technicalCancel
Cancel an authorisation using your reference
post /voidPendingRefund
Cancel an in-person refund