@primeinduss/ip-common-sdk
v1.8.0
Published
@primeinduss/ip-common-sdk
Downloads
1
Readme
@primeinduss/ip-common-sdk
@primeinduss/ip-common-sdk
is a JavaScript/TypeScript SDK for interacting with Indusspay's API, providing methods for making payments and collecting funds.
Installation
To install @primeinduss/ip-common-sdk
, use npm:
npm install @primeinduss/ip-common-sdk
Configuration details
Import IndusspayClient from ip-common-sdk
import { IndusspayClient } from '@primeinduss/ip-common-sdk';
Initialize the IndusspayClient with your credentials
const client = new IndusspayClient(
clientId, // Your client ID
secretKey, // Your secret key
signatureKey, // Your signature key
baseUrl // The base URL of the Indusspay API
);
Use the client to call collects or payouts
For collects,
client.collects.verifyVpa(/* your parameters */);
client.collects.raiseCollect(/* your parameters */);
client.collects.collectStatus(/* your parameters */);
client.collects.qrDynamic(/* your parameters */);
client.collects.qrStatic(/* your parameters */);
client.collects.qrStatus(/* your parameters */);
client.collects.rrnStatus(/* your parameters */);
client.collects.intent(/* your parameters */);
client.collects.createOrder(/* your parameters */);
For payouts,
client.payouts.bulkTransfer(/* your parameters */);
client.payouts.singleTransfer(/* your parameters */);
client.payouts.addBene(/* your parameters */);
client.payouts.fetchBeneList(/* your parameters */);
client.payouts.status(/* your parameters */);