Skip to content

Utility to fetch ONDC registry details of a Network Participant using /vlookup API

Notifications You must be signed in to change notification settings

sandeepshahi/vlookup-ondc-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ONDC /vlookup UTILITY

  1. Clone the repository, navigate to vlookup-ondc and install the dependencies.
cd vlookup-ondc-nodejs
npm i
  1. Import the vLookUp method in your project.
const vLookUp = require("./index");

vLookUp({
  senderSubscriberId: "", //subscriber_id of sender
  privateKey: "", //private key of sender in base64 encoding

  //search parameters of the NP whose details need to be fetched from registry
  domain: "nic2004:52110",
  subscriberId: "buyerApp.com",
  country: "IND",
  type: "buyerApp", //buyerApp, sellerApp, gateway
  city: "std:080",
  env: "preprod", //staging,preprod,prod
}).then((res) => console.log(res));
  1. The output will include the registry details of the NP.

About

Utility to fetch ONDC registry details of a Network Participant using /vlookup API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published