@monei-js/node-sdk

Node.js SDK for MONEI Digital Payment Gateway

Usage no npm install needed!

<script type="module">
  import moneiJsNodeSdk from 'https://cdn.skypack.dev/@monei-js/node-sdk';
</script>

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);
});