1.0.0 • Published 4 years ago

boleto-facil-ipn v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

Boleto Fácil IPN SDK Node

Você pode configurar o Boleto Fácil para enviar notificações para seu sistema sempre que houver um evento de pagamento. Essa biblioteca permite consultar a notificação recebida.

Instalando

Usando npm:

npm install boleto-facil-ipn

Usando yarn:

yarn add boleto-facil-ipn

Exemplos

const boletoFacil = require('boleto-facil-ipn')

const app = boletoFacil.initializeApp({
    production: false
})

const paymentToken = "token"
app.fetchPaymentDetails(paymentToken)
    .then(response => {
        console.log(response.data)
    })
    .catch(e => {
        console.log(e)
    })

Licença

MIT