qiwi-wallet

0.0.3 • Public • Published

Qiwi wallet API for Node.js

To get started, get yourself an API key

const Qiwi = require("qiwi-wallet");
const qiwi = new Qiwi('API_KEY');

getProfile

qiwi
  .getProfile()
  .then(profile => console.log(profile))
  .catch(err => console.log(err)); 

getPaymentHistory

 
qiwi
  .getProfile()
  .then(profile => qiwi.getPaymentHistory(profile.contractInfo.contractId))
  .then(history => console.log(history))
 

Readme

Keywords

Package Sidebar

Install

npm i qiwi-wallet

Weekly Downloads

2

Version

0.0.3

License

ISC

Last publish

Collaborators

  • artsoroka