0.0.6 • Published 9 months ago

@finsel-dgi/pasby v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Node.js pasby™ library


npm

The pasby™ node library provides convenient access to the pasby API from applications written in Typescript/Javascript.

Our integrations supercharge your digital services and drastically improves your user experience flows.

Requirements


Node 10 or higher.

Installation

npm i @finsel-dgi/pasby
pnpm i @finsel-dgi/pasby
yarn add @finsel-dgi/pasby

Usage


The package needs to be configured with your account's secret key, which is retrievable from the developer Console. Provide it with your organisations api key.

import { Pasby } from "@finsel-dgi/pasby";

const pasby = new Pasby({
  apikeyAuth: 'bk-test_',
  appSecretKey: 'snb_',
  basePath: "https://s.pasby.africa"
});

await pasby.flows.ping('req_')
.then((value) => {
  console.log(`${JSON.stringify(value)}`);
});

or using production access:

import { Pasby } from "@finsel-dgi/pasby";

const pasby = new Pasby({
  apikeyAuth: 'bk-live_',
  appSecretKey: 'prd_',
  basePath: "https://l.pasby.africa"
});

await pasby.flows.ping('req_')
.then((value) => {
  console.log(`${JSON.stringify(value)}`);
});

Documentation


See our REST API docs

See integrations guide documentation covering how to use the library and pasby in general.

Start integrating today at no costs and only begin to pay once you cross 100 requests monthly. We look forward to see what you build with on pasby™.

Learn how to integrate pasby™ through this demo application with open source code.

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.1

1 year ago