This package has been deprecated

Author message:

this package has been deprecated in favour of bankpass-node

bankpass
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

Bankpass nodejs SDK

Bankpass SDK for NodeJS

  • [Bankpass Client API Reference][client-docs]

Table of contents:

Quickstart

Before you begin

  1. [Select or create a Bankpass project][projects].
  2. [Enable the Authentication API][enable_api].
  3. [Set up authentication with a service account][auth] so you can access the API from your local workstation.

Installing the client library

npm install bankpass

Using the client library

Setup the client using your credentials

const {Bankpass} = require('bankpass');
// import { Bankpass } from 'bankpass';
 
const client = new Bankpass({
  credentials
});
 

Request the user identification

 
client.requestUserIdentification({
    userId,
    requirements: []
}).then(response => {
    console.log(response.orderId);
})
 

Request the user signature

 
client.requestUserSignature({
    userId,
    requirements: []
}).then(response => {
    console.log(response.orderId);
})
 

Readme

Keywords

Package Sidebar

Install

npm i bankpass

Weekly Downloads

0

Version

0.0.6

License

ISC

Unpacked Size

35.5 kB

Total Files

40

Last publish

Collaborators

  • nanndoj