UNPKG

seerbit-nodejs

Version:
21 lines (13 loc) 460 B
const {Client, Config,AccountsService } = require("seerbit-nodejs"); const {SeerBitConfig} = require("../config"); const config = new Config( { publicKey: SeerBitConfig.PUBLIC_KEY, secretKey: SeerBitConfig.SECRET_KEY, bearerToken: SeerBitConfig.TOKEN, }); const client = new Client(config); const checkout = new AccountsService(client); checkout.BanksList() .then(res=>console.log(res)) .catch(e=>console.log(e))