icheques-webintegration

1.0.3 • Public • Published

icheques-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 icheques-webintegration --save

TL;DR

const ICheques = require('icheques-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 icheques-webintegration

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

82.2 kB

Total Files

9

Last publish

Collaborators

  • lfamorim