🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more
Socket
Book a DemoInstallSign in
Socket

@tenda.digital/iugu

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tenda.digital/iugu

SDK Iugu de comunicação

latest
Source
npmnpm
Version
1.0.12
Version published
Maintainers
3
Created
Source

iugu.js

Instalação

npm install @tenda.digital/iugu

Exemplo de Uso

const Iugu = require('@tenda.digital/iugu')
let iugu = new Iugu()
iugu.setBasicAuthorization('basic_auth_token')
iugu.setTokenAuthorization('api_token')

Para usar

iugu.customer.create({
  'email': 'email@email.com',
  'name': 'Nome do Cliente',
  'notes': 'Anotações Gerais'
})
  .then(r => {})
  .catch(e => {})

Para listar os métodos disponívels

iugu.methods

[
  'paymentToken',
  'charge',
  ...
  'financialTransactionRequests.simulateAdvance',
  'financialTransactionRequests.advance'
]

Documentação

Acesse iugu.com/documentacao

FAQs

Package last updated on 30 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts