paymaster-api

1.0.0 • Public • Published

Install

$ npm install paymaster-api

Usage

  1. define environment variables
  • PAYMASTER_LOGIN(with role Операционист or Бухгалтер)
  • PAYMASTER_PASSWORD
  • PAYMASTER_ID(optionally)
  1. require paymaster-api module
const paymaster = require('paymaster-api');
  1. run any method from https://paymaster.ru/docs/restapi.html
paymaster.listPaymentsFilter()
 .then(({Overflow, Payments}) => {
   console.log({Overflow, Payments})
 })
 .catch(error => {
   console.error(error)
   process.exit(error.code)
 })

Readme

Keywords

none

Package Sidebar

Install

npm i paymaster-api

Weekly Downloads

1

Version

1.0.0

License

GLWTPL

Unpacked Size

13.6 kB

Total Files

14

Last publish

Collaborators

  • clonix