1.0.7 • Published 9 months ago

orderkuota v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago