The source code is licensed under the Apache License, Version 2.0.
This library requires Java 11+.
- Add the dependency to your project. For example with maven:
<dependency>
<groupId>be.woutschoovaerts</groupId>
<artifactId>mollie</artifactId>
<version>4.4.1</version>
</dependency>
- Build a client
Client client = new ClientBuilder()
.withApiKey("test_hW7trRMaJphr8feGzMNtd5SwShQSwg")
.build();
- Use the client to execute whatever action you want to do. For example retrieving a payment:
PaymentResponse payment = client.payments().getPayment("my-payment-id");