Node.js SDK Installation
The PhonePe PG Backend SDK for Node.js is designed to simplify the process of integrating PhonePe’s payment solutions into your backend systems. It provides a structured, pre-built interface for securely interacting with PhonePe’s payment infrastructure.
This SDK helps you build a reliable and PCI-compliant payment flow with minimal effort. Ideal for server-side environments, it ensures robust communication between your application backend and the PhonePe Payment Gateway.
Minimum Supported Version
- Node.js: v14 or higher
Install the SDK using npm
Use the following command to install the SDK in your Node.js project:
npm i https://phonepe.mycloudrepo.io/public/repositories/phonepe-pg-sdk-node/releases/v2/phonepe-pg-sdk-node.tgzThis command will install the SDK from the specified repository.
What’s Next?
Now that you’ve added the Node.js SDK to your project, the next step is to initialize the required classes.
Head over to the Class Initialization section to learn how to set it up properly.