/OpenBankingJavaExamples

Sample Java code showing how to use Open banking APIs (PSD2 AISP & PISP) using enable:Banking Java library

Primary LanguageJavaApache License 2.0Apache-2.0

⚠️ Deprecation Notice
This repository is deprecated and is no longer maintained.
Please refer to the documentation for the relevant information.
It is advised to use Enable Banking API for Open Banking integrations

Open Banking Java Examples

This repository contains sample Java code showing how to use Open banking APIs (PSD2 AISP & PISP) using enable:Banking Java library.

Quickstart

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:

  1. Compile source code

    mvn clean compile
    
  2. 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