@monei-js/node-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.4.4 • Public • Published

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

/@monei-js/node-sdk/

    Package Sidebar

    Install

    npm i @monei-js/node-sdk

    Homepage

    monei.com

    Weekly Downloads

    102

    Version

    1.4.4

    License

    MIT

    Unpacked Size

    1.05 MB

    Total Files

    37

    Last publish

    Collaborators

    • alexandresaiz
    • dmitriy.nevzorov