Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Latest commit

 

History

History
30 lines (19 loc) · 1.16 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.16 KB
⚠️ 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