Paidy Node is the simple and thin Paidy API wrapper library for Node.js that supports following features.
Install paidy-node
using yarn
yarn add paidy-node
or npm
npm i paidy-node
import { Configuration, DefaultApi } from 'paidy-node';
const paidy = new DefaultApi(
new Configuration({
headers: {
Authorization: `Bearer ${process.env.PAIDY_SECRET_KEY}`,
'Paidy-Version': '2018-04-10',
},
}),
);