1.0.7 • Published 9 months ago
orderkuota v1.0.7
Order Kuota Node.js API Wrapper
Installation
npm install orderkuota
Documentation
If you wanna register you can contact an admin from telegram
UserID: User ID or Merchant Code of your account in OkeConnect from here ApiKey: API Key from here
Initialize OrderKuota Object
const orderkuota = require('orderkuota');
const OrKut = new OrderKuota({
username: 'yourusername',
pin: 'yourpin',
userid: 'OK-----',
apikey: 'yourapikey',
password: 'yourpassword',
});
Check Balance
Check balance of your account Note: Manage you IP whitelist in your account setting here
OrK.checkBalance().then(async(response) => {
console.log(response);
}).catch((error) => {
console.log(error);
})
Fetch Qris Transaction History
Fetch qris transaction history
OrKut.fetchQrisHistory().then(async(res) => {
console.log(res);
}).catch((err) => {
console.log(err);
});
Fetch Virtial Account Transaction History
Fetch virtual account transaction history
OrKut.fetchVirtualAccountHistory().then(async(res) => {
console.log(res);
}).catch((err) => {
console.log(err);
});
Fetch Alfa n Indo Mart Transaction History
Fetch alfa n indo mart transaction history
OrKut.fetchRetailHistory().then(async(res) => {
console.log(res);
}).catch((err) => {
console.log(err);
});
Contact
You can contact me at teleram my username is @Ethermite or join my telegram group here
Contributing
Feel free to contribute to this project by submitting a pull request or by opening an issue.
License
This project is licensed under the MIT License - see the LICENSE file for details