UNPKG

sdk-node-apis-efi

Version:

Module for integration with Efi Bank API

18 lines (14 loc) 499 B
const EfiPay = require('sdk-node-apis-efi') const options = require('../../credentials') let params = { token: '0476a1d1-cf40-4702-889c-60f06acecb73', } const efipay = new EfiPay(options) // O método getNotification indica os campos que devem ser enviados e que serão retornados efipay.getNotification(params) .then((resposta) => { console.log(resposta) // Aqui você tera acesso a resposta da API e os campos retornados de forma intuitiva }) .catch((error) => { console.log(error) })