All Projects → pjbank → pjbank-js-sdk

pjbank / pjbank-js-sdk

Licence: MIT license
PJBank SDK para Javascript! ⚡ ⚡ ⚡

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to pjbank-js-sdk

java-binance-api
Java Binance API Client
Stars: ✭ 72 (+200%)
Mutual labels:  api-wrapper
wikipedia-reference-scraper
Wikipedia API wrapper for references
Stars: ✭ 34 (+41.67%)
Mutual labels:  api-wrapper
BlueTeam.Lab
Blue Team detection lab created with Terraform and Ansible in Azure.
Stars: ✭ 82 (+241.67%)
Mutual labels:  lab
docker-java
Intro Level Lab for Docker Development for Java Developers
Stars: ✭ 34 (+41.67%)
Mutual labels:  lab
cpAPI
A Flask API that gives updates about the upcoming contests on various Coding Platforms.
Stars: ✭ 13 (-45.83%)
Mutual labels:  api-wrapper
powershellwrapper
This PowerShell module acts as a wrapper for the IT Glue API.
Stars: ✭ 96 (+300%)
Mutual labels:  api-wrapper
conekta-elixir
Elixir library for Conekta api calls
Stars: ✭ 15 (-37.5%)
Mutual labels:  api-wrapper
AniList-Node
A lightweight Node.js wrapper for the AniList API
Stars: ✭ 36 (+50%)
Mutual labels:  api-wrapper
messages
A python package designed to make sending messages easy and efficient!
Stars: ✭ 38 (+58.33%)
Mutual labels:  api-wrapper
Pyrez
(ON REWRITE) An easy to use (a)sync wrapper for Hi-Rez Studios API (Paladins, Realm Royale, and Smite), written in Python. 🐍
Stars: ✭ 23 (-4.17%)
Mutual labels:  api-wrapper
awesome-mobile-robotics
Useful links of different content related to AI, Computer Vision, and Robotics.
Stars: ✭ 243 (+912.5%)
Mutual labels:  lab
knowledgeworks api
The API utils for querying CN-DBpedia & CN-Probase, the biggest Chinese knowledge bases
Stars: ✭ 24 (+0%)
Mutual labels:  api-wrapper
chess-web-api
Chess.com public data API wrapper with "isChanged" and priority queue functionality.
Stars: ✭ 83 (+245.83%)
Mutual labels:  api-wrapper
hata
Async Discord API wrapper.
Stars: ✭ 156 (+550%)
Mutual labels:  api-wrapper
newsapi-php
A PHP client for the News API (https://newsapi.org/docs/get-started)
Stars: ✭ 21 (-12.5%)
Mutual labels:  api-wrapper
cvpysdk
Developer SDK - Python
Stars: ✭ 50 (+108.33%)
Mutual labels:  api-wrapper
ruby-ambassador
Ambassador API v2 wrapper for Ruby
Stars: ✭ 20 (-16.67%)
Mutual labels:  api-wrapper
ichiColor
Full features javascript color parser module, perfect work with vue.js; support RGB, HSL, HSV/HSB, HSL255, HSL240, HWB, XYZ, LAB, LUV, LHCab, xyY...
Stars: ✭ 23 (-4.17%)
Mutual labels:  lab
libdrizzle-redux
The next generation of Libdrizzle with a simplified API and support for more features of the protocol
Stars: ✭ 14 (-41.67%)
Mutual labels:  api-wrapper
epicstore api
Epic Games Store Web API Wrapper written in Python
Stars: ✭ 48 (+100%)
Mutual labels:  api-wrapper

PJBank SDK para NodeJS Build Status

Instalacão

 npm install @pjbank/pjbank-js-sdk
const PJBankSDK = require('@pjbank/pjbank-sdk-js');

Quickstart

A classe PJBank é uma Factory de outras classes referentes aos servicos oferecidos pelo PJBank.

const credencial = "d3418668b85cea70aa28965eafaf927cd34d004c";
const chave = "ef947cf5867488f744b82744dd3a8fc4852e529f";

const PJBank = new PJBankSDK(credencial, chave);

Usando o ambiente de sandbox

Para realizar os requests para o ambiente de sandbox, basta:

PJBank.developer(true);

Exemplo - Emissão de boleto

    PJBank.boleto({
        "nome_cliente" : "Cliente de Exemplo",
        "cpf_cliente" : "29454730000144",
        "valor" : 10.50,
        "vencimento" : "12/30/2019"
    }).    
    .then((boleto) => console.log(boleto))
    .catch((err) => console.log(err));

Resposta

{ 
  "status": "201",
  "msg": "Sucesso.",
  "nossonumero": "10647852",
  "id_unico": "10647852",
  "banco_numero": "033",
  "token_facilitador": "abe2658dc12bb4a300cc202b60ec87624a60157d",
  "credencial": "d3418668b85cea70aa28965eafaf927cd34d004c",
  "linkBoleto": "https://pjbank.com.br/subadquirente/api/publico/boleto?i=ac0e56cb6327716148026058dbd766405a956b81",
  "linkGrupo": "https://pjbank.com.br/subadquirente/api/publico/boleto?g=cea7286b0db4f1f950ed9725bcfad201f7e60e87",
  "linhaDigitavel": "03399.69925 58700.001066 47852.401018 4 81190000005050" 
}

Documentacão e Exemplos

Para mais informações consulte a documentação da nossa API

Recebimento

Boleto Bancário

Cartão de Crédito

Extrato bancário

Conta Digital

Disponibilizamos também a cobertura da API Da Conta Digital do PJBank via SDK!

Transações

Extratos da Conta Digital

Subcontas

Administradores

Recebimentos em Conta Digital

Agora você pode receber por Boletos e Cartão de Crédito diretamente em sua Conta Digital, usando a mesma assinatura do SDK do serviço de Recebimentos!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].