credithub-webintegration

1.0.10 • Public • Published

credithub-webintegration@1.0.3

Integração rápida Java Script para os serviços iCheques.

Installation

Download node at nodejs.org and install it, if you haven't already.

npm install credithub-webintegration --save

TL;DR

const ICheques = require('credithub-webintegration');

const apiKey = '/* MINHA APIKEY */'
const documento = '/* cpf/cnpj do cheque */'
const CMC = '/* cmc7 do cheque */' 

const iCheques = new ICheques(apiKey);

iCheques.chequeLegal(
    100.00, /* VALOR */
    new Date('2018-09-01'), /* VENCIMENTO */
    CMC, /* CMC7 */
    documento, /* CPF ou CNPJ */
).then(data => console.log(data)); /* DADOS DO CHEQUE */

iCheques.protestos(documento).then(data => console.log(data)); /* DADOS DO CPF */  
iCheques.pesquisaCadastral(documento).then(data => console.log(data)); /* DADOS DO CPF */  
 

This package is provided in these module formats:

  • UMD

Dependencies

Dev Dependencies

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i credithub-webintegration

Weekly Downloads

1

Version

1.0.10

License

MIT

Unpacked Size

31.2 kB

Total Files

8

Last publish

Collaborators

  • davistrife