This repository contains sample Java code showing how to use Open banking APIs (PSD2 AISP & PISP) using enable:Banking Java library.
In order to compile and run the example code you need to have Java compiler and Maven toolset installed, as well as enablebanking.jar available in CLASSPATH or inside local Maven repository. You may also need to modify pom.xml in order to set correct artifactId and version for com.enablebanking dependency.
To run examples from your command line:
-
Compile source code
mvn clean compile -
Run compiled class
mvn exec:java -Dexec.mainClass="com.eb.demo.AispExample" -Dexec.cleanupDaemonThreads=false mvn exec:java -Dexec.mainClass="com.eb.demo.PispExample" -Dexec.cleanupDaemonThreads=false