Java Integration

Add Yapily to your Java projects to collect financial data for your users and/or create payment instructions.

If you haven't already, check out our Getting Started steps.


Using Maven

Add Yapily's repository in your pom.xml

   <!-- other repos-->

Add yapily as a dependency in your pom.xml

   <!-- other dependencies -->

Then run mvn install to install the library.

Using Gradle

Add Yapily's repository

repositories {
    // other repos
    maven {
        url ""

Add yapily-sdk to the dependencies section in your build.gradle:

compile group: 'yapily', name: 'yapily-sdk', version: '0.0.253'

Manual JAR installation

Download the latest release and place it with it's dependencies in your app's classpath.

Basic Configuration

Import the ApiClient and HttpBasicAuth classes in your code and initialise as follows:

ApiClient defaultClient = Configuration.getDefaultApiClient();
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");

Or use separate configuration (when using multiple applications):

ApiClient applicationClient = new ApiClient();
HttpBasicAuth basicAuth = (HttpBasicAuth) applicationClient.getAuthentication("basicAuth");
InstitutionsApi institutionsApi = new InstitutionsApi();

API Operations