nimbbl_javascript_sdk v1.1.0
Nimbbl Javascript SDK
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 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago