Grobix / openfin-ts

FinTS/HBCI Javascript Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openfin-ts

Build Status Coverage Status

Typescript compatible fints implementation

Install

//npm
npm install --save openfin-ts
//yarn
yarn add openfin-ts

Example

import { FinTSClient } from 'openfin-ts';

const client = new FinTSClient("12345",
    "http://testbank.com/hbci",
    "customerId",
    "1234pin");

try {
  await client.connect();
  const transactions = await client.getTransactions(client.konten[0].sepaData, null, null);
  transactions.forEach(transaction => {
        //Do things with transactions
  });
  await client.close();
} catch (err) {
  //handle errors
}

For more examples see the tests in /test

About

FinTS/HBCI Javascript Client

License:Apache License 2.0


Languages

Language:TypeScript 53.5%Language:JavaScript 46.5%Language:Shell 0.1%