Getting Started

The goal of the LNPay API is to create a toolkit interface for interaction between nodes and external services. See below some examples / applications.

Client SDKs

The libraries below are wrappers to help you work with the LNPay API. How to install:

Initializing the SDK

JavaScript
Node.js
Python
JavaScript
//Use your Public API Key found - this one here is presented as test
LNPay.Initialize('sak_XXXXXXX');
Node.js
import LNPay from 'lnpay';
const lnpay = LNPay({
secretKey: 'sak_XXXXXXX',
walletAccessKey: 'waka_XXXXXXX',
});
Python
import lnpay_py
# init lnpay
lnpay_py.initialize(lnpay_api_key)

Postman Collection