1.1.0 • Published 1 year ago

nimbbl_javascript_sdk v1.1.0

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
1 year ago

Nimbbl Javascript SDK

npm version build-status test-coverage npm downloads

This project is a JavaScript module that provides an interface to integrate checkout and payment functionality to a web application. The module includes API calls to perform authentication, bank information, payment status, user resolution, wallet information, and other useful functionality.

Installation

To use this project, first, make sure that you have Node.js (>= v17.3.0) and npm (>= v8.3.0) installed. Then, run the following command to install the dependencies:

npm install nimbbl_javascript_sdk

Usage

To use this project, import the module in your code:

import Checkout from 'nimbbl_javascript_sdk';

Creating config object

const configVars = {
  access_key: 'YOUR_ACCESS_KEY',
  host: 'checkout.example.com',
};

const config = { ...configVars, order_id: 'o_xPmrojJXoOOYZKRj' };

Then, create a new instance of the module and pass a configuration object:

const checkout = new Checkout({ ...config });

After creating the instance, you can call the available methods on the instance:

checkout
  .getListOfBanks()
  .then((bankList) => {
    console.log(bankList);
  })
  .catch((error) => {
    console.error(error);
  });

Contribution

Contributions are always welcome! If you have any suggestions or issues, please open an issue or a pull request.

License

This project is licensed under the (ISC) license.

Changes

makes changes in files & folder structure according to CODA

  • method (token)
  • test
  • jsdoc
1.1.0

1 year ago

1.0.2-alpha.18

1 year ago

1.0.2-alpha.17

1 year ago

1.0.2-alpha.16

1 year ago

1.0.2-alpha.15

1 year ago

1.0.2-alpha.13

1 year ago

1.0.2-alpha.12

1 year ago

1.0.2-alpha.11

2 years ago

1.0.2-alpha.10

2 years ago

1.0.2-alpha.8

2 years ago

1.0.2-alpha.9

2 years ago

1.0.2-alpha.7

2 years ago

1.0.2-alpha.6

2 years ago

1.0.2-alpha.4

2 years ago

1.0.2-alpha.5

2 years ago

1.0.2-alpha.2

2 years ago

1.0.2-alpha.3

2 years ago

1.0.1-1

2 years ago

1.0.1-0

2 years ago

1.0.2-alpha.1

2 years ago

1.0.2-alpha.0

2 years ago

1.0.1-alpha.0

2 years ago

1.0.0

2 years ago