icheques-tofu-integration
v1.0.6
Published
Integração rápida JavaScript para os serviços iCheques.
Downloads
5
Readme
[email protected]
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
- icheques-webservice
- bipbop-websocket: Connect to bipbop websocket endpoint.
Dev Dependencies
- cmc7-validador:
- cpf_cnpj: Validate, generate and format CPF/CNPJ numbers
- eslint:
- eslint-config-airbnb-base: Airbnb's base JS ESLint config, following our styleguide
- eslint-plugin-import: Import with sanity.
- event-emitter: Environment agnostic event emitter
- human-interval: Human readable time measurements
- rollup-plugin-buble:
- rollup-plugin-commonjs:
- rollup-plugin-node-resolve: