📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

node-nowpayments-api

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-nowpayments-api

Node NowPayments API client

0.4.2
latest
npm
Version published
Weekly downloads
3
-76.92%
Maintainers
1
Weekly downloads
 
Created
Source

Node.js Typescript NowPayments API

npm version npm downloads last commit

Node.js connector for the NowPayments API with Typescript.

  • Simple and unopiniated connector.
  • Actively maintained with a modern, promise-driven interface.
  • Strongly typed on all requests and responses.
  • Lightweight package and snappy DX.
  • Proxy support via axios integration.
  • Client samples, webhook samples and code snippet examples

Installation

npm install node-nowpayments-api

Examples

Refer to the examples folder for implementation demos.

Usage

Webhooks

Verify a webhook

const { isVerified, error, typedBody } = verifyWebhook(
	req.body,
	req.headers["x-nowpayments-sig"],
	IPN_SECRET_KEY,
);

Keywords

nowpayments

FAQs

Package last updated on 02 Apr 2023

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