Skip to content

sergej-js/lava-pay

Repository files navigation

Library for working with the lava API

Install

npm i lava-api

Example

import { LavaPay } from "lava-api";
import { v4 as uuid } from "uuid";

async function main() {
    const lava = new LavaApi("secreyKey", "shopId");

    const invoice = await lava.createInvoice({
        amount: "100",
        order_id: uuid(),
    })

    console.log(invoice)
}

main();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published