gerencianet/gn-api-sdk-node

View on GitHub
examples/pix/webhook/pixListWebhook.js

Summary

Maintainability
A
1 hr
Test Coverage
'use strict';

let Gerencianet = require('gn-api-sdk-node');
let options = require('../../credentials');

let params = {
    inicio: "2021-01-22T16:01:35Z",
    fim: "2021-11-30T20:10:00Z"
}

let gerencianet = new Gerencianet(options);

gerencianet.pixListWebhook(params)
.then((resposta) => {
        console.log(resposta);
    })
    .catch((error) => {
        console.log(error);
    })