1.1.2 • Published 8 months ago

@ballin-team/paysync-nubank v1.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

:package: Content

Technologies

We are using the following technologies:

  • axios - used to send request to the API;
  • tweetnacl - used to check the authenticity of signature in each response (Nubank recommendation);

Getting Started

This lib aims to centralize all the endpoints exposed in the NuPay for Business API.

How to install

npm install @ballin-team/paysync-nubank

Config

import { NubankClient } from "@ballin-team/paysync-nubank";

const client = new NubankClient({
  testEnv: true, // define the environment (sandbox or production)
  timeout: 10000, // define the resquest timeout
  credentials: { // the credentials used to access the API
    payment: {
      merchantKey: 'XXXXXX',
      merchantToken: 'XXXXXXXXXX',
    }
  }
});
1.1.2

8 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.0

9 months ago

0.0.0-development

9 months ago