@monei-js/node-sdk
v1.4.8
Published
Node.js SDK for MONEI Digital Payment Gateway
Downloads
1,228
Readme
MONEI Node.js SDK
The MONEI Node.js SDK provides convenient access to the MONEI API from applications written in server-side JavaScript.
For collecting customer and payment information in the browser, use monei.js
Documentation
For the full documentation check our Documentation portal
Install
npm i @monei-js/node-sdk --save
#or
yarn add @monei-js/node-sdk
Usage
The MONEI Node.js SDK uses API key to authenticate requests. You can view and manage your API key in the MONEI Dashboard.
const {Monei} = require('@monei-js/node-sdk');
const monei = new Monei('pk_test_...');
monei.payments.create({orderId: '12345', amount: 110}).then((result) => {
console.log(result);
});