@primeinduss/ip-upi-sdk
v1.1.0
Published
@primeinduss/ip-upi-sdk
Downloads
3
Readme
@primeinduss/ip-upi-sdk
@primeinduss/ip-upi-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-upi-sdk
, use npm:
npm install @primeinduss/ip-upi-sdk
Configuration details
Import IndusspayClient from @primeinduss/ip-upi-sdk
import { IndusspayClient } from '@primeinduss/ip-upi-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,
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 */);