Node.js

Learn how to integrate and use Node.js SDK with Pine Labs Plural APIs.

This SDK provides an easy-to-use API for integrating Pine Labs services into your Node applications. It offers convenient methods for accepting and fetching orders, calculating EMIs, and verifying hashes.

Watch this video to learn how to integrate and use Node.js SDK with Pine Labs Plural APIs.

πŸ“˜

Download the Sampleapp

You can download the Sampleapp from the GitHub Link: https://github.com/pluralonline/plural-nodejs-sdk-sampleapp.

Prerequisites

Before integrating the SDK into your Project, make sure the following requirement is met:

  1. NODE version 18.17.1 or higher.
  2. NPM version 9.6.7 or higher.

πŸ“˜

Note:

TLS 1.2 information:

  • For NODE version 18.17.1 and above should have TLS version 1.2.

Installation

To install this SDK locally from your folder, run the following command. This will link and integrate the SDK into your Node.js project.

npm link "../path-to-sdk-folder"
npm install "../path-to-sdk-folder"

Implementation

Handle Payments

To know the status of the payment you can use the below options.

  1. Inquiry API: Use this API to check transaction statuses.
  2. Webhook Notification: We send Webhook notifications on the successful payment or any changes to the payment's response object.

Ask AI
Assistant
Hourly Limit
0 / 20000 tokens used Resets in: 60m 0s
Order Lifecycle
Refunds
Settlements
Checkout
Dashboard
International Payments
How do I implement webhook notifications for payment status updates, and what's the recommended way to verify webhook authenticity?
How do I integrate Pine Labs payment gateway with my React Native mobile app and what are the required API credentials?
Can I customize the payment UI for card transactions, and what parameters can I pass to modify the checkout experience for my customers?
Assistant