veend-sdk
Version:
a nodejs package for veend products
51 lines (35 loc) • 1.29 kB
Markdown
### Veendhq SDK
# **Veend SDK Integration**
> **ℹ️ Info** <br>
> Before you can access the functionality, make sure to obtain your `developerToken` and `clientId`. Ensure these are properly set up before initializing.
To integrate the **Veend** SDK for lending functionality, follow these steps:
### 1. **Install the Veend SDK:**
Make sure to install the SDK package if you haven't already.
```bash
# Using npm
npm install veend
# Using yarn
yarn add veend
```
### 2. **Setup the SDK with Required Credentials:**
> Initialize the SDK with your credentials:
```javascript
const Veend = require("veend").Veend;
// Initialize SDK with credentials
const sdk = new Veend({
xJwt: "xJwt",
xtag: "",
developerToken: "developerToken",
clientId: "clientId",
});
```
### **Important Notes**
> **ℹ️ Info** <br>
>
> - Ensure you have the correct `developerToken` and `clientId`, as these are essential for successful communication.
> - Replace any placeholder values (e.g., `xJWT`) with your actual credentials to ensure proper functionality.
> For more detailed documentation, please refer to the following files: <br>
>
> - [OnLending](ONLENDING.md) <br>
> - [Prime](PRIME.md) <br>
> Feel free to explore these files for comprehensive explanations and further details.