Skip to content

yehor-manzhula/privatbank-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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));

About

Privatbank api client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published