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
npm install node-nowpayments-api
Refer to the examples folder for implementation demos.
const { isVerified, error, typedBody } = verifyWebhook(
req.body,
req.headers["x-nowpayments-sig"],
IPN_SECRET_KEY,
);