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 |
Sample JavaScript code showing how to use Open banking APIs (PSD2 AISP & PISP) using enable:Banking JS library.
This repository contains 2 independent code samples:
- aispdemo - retrieving account information (user authentication & consent for account information -> list of accounts -> list of transactions)
- pispdemo - authenticating user and getting account information consent, retrieving list of account and transferring money from one account to the other own account (payment confirmation is done using bank's web UI)
The code contains sample settings for Nordea and Swedbank sandbox connectors, but can be used with the other connectors as well. In order to run the sample code you need to obtain own sandbox credentials; for the instructions please refer to the connectors documentation.
The code uses SPankki
connector and gets access to S-Pankki's open banking sandbox. In order to
run the demo you need to use own credentials (including test eIDAS certificates), which can be obtained after signing up to
Crosskey Open Banking Market (Crosskey is the vendor of open banking APIs for S-Pankki).
Please note that enablebanking is not open-source software and is not available in general npm repository, so please contact us at hello@enablebanking.com if you want to use it.