⚠️ The project is not yet ready for production use.
A collection of utilities to implement Payme's Merchant API and Subscribe API protocols compatible with Next.js and Express.js.
npm i payme-api
import { createBilling } from "payme-api"
const { handleBillingRequest } = createBilling(
process.env.MERCHANT_ID,
process.env.MERCHANT_KEY,
{
async checkPerformTransaction() {},
async createTransaction() {},
async performTransaction() {},
async cancelTransaction() {},
async checkTransaction() {},
async getStatement() {},
}
)