privatbank-api

1.1.0 • Public • Published

Privat bank API node-js client

API documentation you can find here

At the moment available card balance and statements for given card

Installation

npm install privatbank-api --save

Usage

const Merchant = require('privatbank-api');

merchant = new Merchant({
    id: '16164213',
    password: 'fasdfqwr234vzx1234asddfsdf',
    country: 'UA'
});

merchant.balance('5512123466651234')
    .then((balance) => console.log('Balance', balance));

merchant.statement('5512123466651234', '01.01.2017', '15.03.2017')
    .then((statements) => console.log('Statements', statements));

Package Sidebar

Install

npm i privatbank-api

Weekly Downloads

1

Version

1.1.0

License

ISC

Last publish

Collaborators

  • yehor.manzhula