mrothauer / bankproxy

Access bank transactions and initiate payments with an unified HTTP API

Home Page:https://bankproxy.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BankProxy

Test Status codecov LICENSE

BankProxy is a services, which helps with the interaction with the interfaces of banks. It supports retrieval of transaction and initiation of payments. The interface is based on the NextGenPSD2 standard of the Berlin Group for maximum interoperability.

The service is meant to be deployed beside other services which need access to bank accounts. It provides an unified interface and provides an additional layer of security for handling sensitive login credentials.

BankProxy can call standardised REST API endpoints, parses the HTTP responses of the online banking interface or controls a whole browser instance, to interact with the bank. Which behaviour will be used, depends on the selected connector, which must be configured for every account.

Documentation

Detailed information about BankProxy can be found on https://bankproxy.github.io.

Installation

Docker (recommended)

Docker is the recommended way to use BankProxy.

docker run -p 3000:3000 ghcr.io/bankproxy/bankproxy

Manual installation

To run BankProxy a working Node.js installation (at least v15.0) with npm is required. To be able to use all supported banks all dependencies of the Chromium browser must be installed. The easiest way to accomplish that, is to just install Chromium via the system package manager.

When all dependencies are met BankProxy can be started with the following commands:

git clone https://github.com/bankproxy/bankproxy
cd bankproxy
npm install --production
npm start

Configuration

To run BankProxy in production a few environment variables must be set:

  • PORT: Port to bind the service to, e.g. 3000
  • DATABASE_URL: URL to the Database server, e.g. postgres://user:pass@host/database
  • SECRET_KEY: Key for encryption, e.g. 2c31ff7560eddb214c85853b952af7ee
  • REDIS_URL: URL to the Redis server, e.g. redis://host
  • BASE_URL: Public base URL of the service , e.g. https://bankproxy.example.com
  • ADMIN_AUTHORIZE_URL: URL to redirect for authorization in the admin interface,
  • ADMIN_JWT_ALGORITHM: Algorithm used to sign the admin access JWT
  • ADMIN_JWT_SECRET: Secret used to sign the admin access JWT
  • ADMIN_JWT_AUDIENCE: Expected aud in the admin access JWT

Please check out the documentation for more details about the configuration.

License

All the code in this repository is released under the GNU Affero General Public License v3.0, for more information take a look at the [LICENSE] file.

Please write an mail to paroga@paroga.com if you need support for additional banks or have different license requirements (e.g. commercial license).

About

Access bank transactions and initiate payments with an unified HTTP API

https://bankproxy.github.io

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 93.2%Language:HTML 6.6%Language:Dockerfile 0.3%