Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@setu/upi-deep-links

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@setu/upi-deep-links

NPM package to connect to Setu's UPI Deep Link APIs

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
127
increased by1.6%
Maintainers
3
Weekly downloads
 
Created
Source

Setu

This package helps you work with Setu's deeplink APIs.

version

The following functions are supported

  1. Generate UPI payment link
  2. Check status of UPI payment link

Installation

npm install @setu/upi-deep-links

Configuration

const SetuUPIDeepLink = require("@setu/upi-deep-links")

let setu = new SetuUPIDeepLink({
    schemeId: "YOUR SCHEME ID",
    jwtSecret: "YOUR JWT SECRET",
    setuProductInstanceId: "YOUR PRODUCT INSTANCE ID",
    setuProductInstanceId: "PRODUCTION | SANDBOX"
});

Usage

let paymentLinkBody = {
    amountValue: Number,
    billerBillID: String,
    amountExactness: String,
    dueDate: String, // Optional
    payeeName: String, // Optional
    expiryDate: String, // Optional
    settlement: Object, // Optional
    validationRules: Object // Optional
};

let data = await setu.createPaymentLink(paymentLinkBody);
let data = await setu.checkPaymentStatus("platformBillID");

License

MIT

Keywords

FAQs

Package last updated on 12 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc