Installation
LimePay provides Web/JS library for the frontend integration

Installing the Library

In order to install the Web-library you will need to execute the following command through npm:
1
npm install limepay-web
Copied!

Connecting to the API

Once you have installed the Web-library you need to include it in your project and connect to LimePay's API.
Sandbox
Production
1
const LimePayWeb = require('limepay-web');
2
const LimePay = await LimePayWeb.connect(LimePayWeb.Environment.Sandbox);
Copied!
1
const LimePayWeb = require('limepay-web');
2
const LimePay = await LimePayWeb.connect(LimePayWeb.Environment.Production);
Copied!
Once the .connect promise is being resolved you can start consuming the Library through the new instance that was created.
Last modified 2yr ago