Adyen Java API Library
The Adyen API Library for Java enables you to work with Adyen APIs and Hosted Payment Pages.
Integration
The Library supports all APIs under the following services:
- checkout
- checkout utility
- payments
- modifications
- payouts
- recurring
- marketpay
- notifications
Requirements
- Java 7 or higher
Installation
You can use Maven or simply download the release.
Maven
Add this dependency to your project's POM:
<dependency>
<groupId>com.adyen</groupId>
<artifactId>adyen-java-api-library</artifactId>
<version>2.0.0</version>
</dependency>
Documentation
- https://docs.adyen.com/developers/development-resources/libraries
- https://docs.adyen.com/developers/checkout/api-integration
Usage
The code examples on using this library are located in the library section of the java-sample-code repository: https://github.com/adyen/adyen-java-sample-code
Proxy configuration
You can configure a proxy connection by injecting your own HttpURLConnectionClient on your client instance.
Example:
...
HttpURLConnectionClient httpURLConnectionClientWithProxy = new HttpURLConnectionClient();
Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("PROXY_HOST", PROXY_PORT));
httpURLConnectionClientWithProxy.setProxy(proxy);
client.setHttpClient(httpURLConnectionClientWithProxy);
Support
If you have any problems, questions or suggestions, create an issue here or send your inquiry to support@adyen.com.
Licence
MIT license. For more information, see the LICENSE file.