0.0.3 • Published 7 years ago
qiwi-wallet v0.0.3
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))