0.4.2 • Published 1 year ago

node-nowpayments-api v0.4.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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,
);
0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago