esaj provider api wrapper
- get balance
- topup
npm i ir.fecharge.esaj
require node v16.14.0 to run
const irFechargeEsaj = require('./index')("user","pass");
irFechargeEsaj.getCredit()
.then(function(result){
console.log(result);
})
.catch(function(err){
console.log(err);
})
As a reseller you should have an valid account on esaj site, to get a username and password contact the company from (https://esaj.ir/)[https://esaj.ir/]