Celer Core Payments is a library with payments.
Use the package manager npm to install celercore/payments.
npm i @celercore/paymentsconst { Lvlup } = require('@celercore/payments')
const lvlup = new Lvlup({
token: "YOUR_TOKEN",
sandbox: true
})
lvlup.createPayment({
amount: "5",
redirectUrl: "https://example.com/redirect",
webhookUrl: "https://example.com/webhook"
})Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.