UNPKG

sdk-node-apis-efi

Version:

Module for integration with Efi Bank API

19 lines (14 loc) 412 B
const EfiPay = require('sdk-node-apis-efi') let options = require('../../../credentials') options['validateMtls'] = false let body = { webhookUrl: 'https://usuario.recebedor.com/api/webhookcobr/', } const efipay = new EfiPay(options) efipay.pixConfigWebhookAutomaticCharge({}, body) .then((resposta) => { console.log(resposta) }) .catch((error) => { console.log(error) })