lava-pay
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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 = lava.createInvoice({
        amount: "100",
        order_id: uuid(),
    })

    console.log(invoice)
}

main();

Readme

Keywords

Package Sidebar

Install

npm i lava-pay

Weekly Downloads

9

Version

1.0.3

License

ISC

Unpacked Size

16.6 kB

Total Files

15

Last publish

Collaborators

  • 123321