Visit this GitHub Repo which shows you how to use this API.
This example shows how to call this API using multiple HTTP client libraries
You can clone the repo to your computer and test with your RapidAPI-Key using below commands.
git clone https://github.com/orbitsolve/dhana-invoice-rapidapi-node.git
npm install
npm test
You can create .env file and add your RapidAPI-Key as given below
API_KEY="xxxx"