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:

JavaScript
Node.js
Python
JavaScript

https://github.com/lnpay/lnpay-js

<script src="https://unpkg.com/lnpay-js@^0.1/dist/lnpay.min.js"></script>
Node.js
npm install lnpay-js --save
Python

https://github.com/lnpay/lnpay-py

pip install lnpay-py

Initializing the SDK

JavaScript
Node.js
Python
JavaScript
//Use your Public API Key found - this one here is presented as test
LNPay.Initialize('pak_O0iUMxk8kK_qUzkT4YKFvp1ZsUtp');
Node.js
//Use your Public API Key found - this one here is presented as test
LNPay.Initialize('pak_O0iUMxk8kK_qUzkT4YKFvp1ZsUtp');
Python
import lnpay_py
# init lnpay
lnpay_py.initialize(lnpay_api_key)

Postman Collection