ibmb-sdk
v1.0.2
Published
Plutos internet and mobile banking
Readme
IBMB-SDK
Official Node.js & TypeScript SDK for Plutos Internet and Mobile Banking (IBMB) services.
📁 Examples
Check out our examples directory for Node.js and TypeScript integration scripts.
🚀 Installation
npm install ibmb-sdk🛠 Usage (TypeScript)
The SDK provides full type safety for payloads and responses.
import { IBMB, IBMBFetchPayload } from 'ibmb-sdk';
const sdk = new IBMB({
organization: "PLUTOS",
secretKey: "YOUR_SECRET_KEY"
});
async function run() {
await sdk.generateToken(); // Authenticates and sets token internally
const payload: IBMBFetchPayload = {
refID: "PJS...",
ts: new Date().toISOString(),
url: "nb://...",
device: { mobile: "919876543210", OS: "Android" }
};
const data = await sdk.fetch(payload);
console.log(data);
}📜 Development
Build the project:
npm run buildRun tests:
npm test📖 API Reference
new IBMB(config)
| Parameter | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| organization | string | Yes | Your organization identifier. |
| secretKey | string | Yes | Your secret key. |
| baseUrl | string | No | defaults to UAT environment. |
Methods
generateToken(scopes, autoSet)
scopes:string[](Optional) - Permissions requested.autoSet:boolean(Default:true) - Automatically updates internal authentication.
setToken(token)
token:string- Manually set a Bearer token.
fetch(payload)
payload:IBMBFetchPayload- Data following the fetch structure.
© 2026 Plutos One. Managed by Munisekhar Udavalapati.
