/* eslint-disable import/extensions */ import EfiPay from 'gn-api-sdk-typescript'; import options from '../../credentials'; const params = { brand: 'visa', total: 5000, }; const efipay = new EfiPay(options); efipay .getInstallments(params) .then((resposta: Promise) => { console.log(resposta); }) .catch((error: Promise) => { console.log(error); });