boogi-javascript-sdk
v1.1.3
Published
The javascript library to handle open banking connections, open banking management and the offers SDK
Downloads
267
Readme
boogi-javascript-sdk
The javascript library to handle open banking connections, open banking management and offers display.
Usage/Examples
Install
npm install boogi-javascript-sdk
Register the class
import BoogiSDK from 'boogi-javascript-sdk'
Displaying offers
const boogiSDK = new BoogiSDK();
boogiSDK.displayOffers('token');
Creating a new bank connection
const boogiSDK = new BoogiSDK();
document.getElementById('your-button-id').addEventListener('click', () => {
boogiSDK.connectBank('token');
})
Managing a users connections
const boogiSDK = new BoogiSDK();
document.getElementById('your-button-id').addEventListener('click', () => {
boogiSDK.displayConnections('token');
})
API values
| Parameter | Type | Description |
| :-------- | :------- | :------------------------- |
| apiKey
| string
| Required. Your API key |
| userId
| string
| Required. Your user id |
| mode
| enum
| Optional. a value of sandbox or api |
Authors
Feedback
If you have any feedback, please reach out to us at [email protected]