# Adyen Payment Service ## Description This is version `40` of this API documentation. Last update on Apr 30, 2020. 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](https://docs.adyen.com/developers/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/developers/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U "ws@Company.YourCompany":"YourWsPassword" \ -H "Content-Type: application/json" \ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/developers/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through 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/v40/authorise ``` ## Servers ## Endpoints and operations ### [Authorise3ds2](https://demo.bump.sh/doc/external-adyen/group/endpoint-authorise3ds2.md) - [Completes a 3D Secure 2 payment authorisation.](https://demo.bump.sh/doc/external-adyen/operation/operation-post-authorise3ds2.md) ### [Cancel](https://demo.bump.sh/doc/external-adyen/group/endpoint-cancel.md) - [Cancels an authorised payment.](https://demo.bump.sh/doc/external-adyen/operation/operation-post-cancel.md) ### [Adjust authorisation](https://demo.bump.sh/doc/external-adyen/group/endpoint-adjust-authorisation.md) - [Increases or decreases the authorised amount.](https://demo.bump.sh/doc/external-adyen/operation/operation-post-adjustauthorisation.md) ### [Authorise](https://demo.bump.sh/doc/external-adyen/group/endpoint-authorise.md) - [Creates a payment authorisation.](https://demo.bump.sh/doc/external-adyen/operation/operation-post-authorise.md) ### [Authorise3d](https://demo.bump.sh/doc/external-adyen/group/endpoint-authorise3d.md) - [Completes a 3D Secure payment authorisation.](https://demo.bump.sh/doc/external-adyen/operation/operation-post-authorise3d.md) ### [Cancel or refund](https://demo.bump.sh/doc/external-adyen/group/endpoint-cancel-or-refund.md) - [Cancels or refunds a payment.](https://demo.bump.sh/doc/external-adyen/operation/operation-post-cancelorrefund.md) ### [Capture](https://demo.bump.sh/doc/external-adyen/group/endpoint-capture.md) - [Captures an authorised payment.](https://demo.bump.sh/doc/external-adyen/operation/operation-post-capture.md) ### [Refund](https://demo.bump.sh/doc/external-adyen/group/endpoint-refund.md) - [Refunds a captured payment.](https://demo.bump.sh/doc/external-adyen/operation/operation-post-refund.md) ### [Retrieve3ds2 result](https://demo.bump.sh/doc/external-adyen/group/endpoint-retrieve3ds2-result.md) - [Retrieves the `threeDS2Result` after doing a 3D Secure 2 authentication only.](https://demo.bump.sh/doc/external-adyen/operation/operation-post-retrieve3ds2result.md) ### [Technical cancel](https://demo.bump.sh/doc/external-adyen/group/endpoint-technical-cancel.md) - [Cancels an authorised payment using a custom reference.](https://demo.bump.sh/doc/external-adyen/operation/operation-post-technicalcancel.md) ### [Void pending refund](https://demo.bump.sh/doc/external-adyen/group/endpoint-void-pending-refund.md) - [Cancels a POS refund request before it has been completed.](https://demo.bump.sh/doc/external-adyen/operation/operation-post-voidpendingrefund.md) [Powered by Bump.sh](https://bump.sh)