lava-pay
v1.0.3
Published
## Install ```bash npm i lava-api ```
Downloads
2
Readme
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();