anypay.io
v1.10.3
Published
Module for the AnyPay payment system.
Downloads
70
Maintainers
Readme
anypay.io
Description
[EN] Module for using the payment system API AnyPay. [RU] Модуль для использования платежной системы API AnyPay.
Installation
npm i anypay.io
Example
const { AnyPay } = require('anypay.io')
const payment = AnyPay({
api_id: process.env.API_ID,
api_key: process.env.API_KEY,
merchant_id: process.env.MERCHANT_ID,
secretKey: process.env.SECRET_KEY,
})
(async () => {
let balance = await payment.api.getBalance()
console.log(balance)
})