Skip to content

podStation/lnpay-docs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Getting Started

Client SDKs

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

{% tabs %} {% tab title="JavaScript" %} {% embed url="https://github.com/lnpay/lnpay-js" %}

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

{% endtab %}

{% tab title="Node.js" %}

npm install lnpay-js --save

{% endtab %}

{% tab title="Python" %} {% embed url="https://github.com/lnpay/lnpay-py" %}

pip install lnpay-py

{% endtab %}

{% tab title="Go" %} {% embed url="https://github.com/fiatjaf/lnpay-go" %}

go get github.com/fiatjaf/lnpay

{% endtab %} {% endtabs %}

Initializing the SDK

{% tabs %} {% tab title="JavaScript" %}

//Use your Public API Key found  - this one here is presented as test
LNPay.Initialize('pak_O0iUMxk8kK_qUzkT4YKFvp1ZsUtp');

{% endtab %}

{% tab title="Node.js" %}

//Use your Public API Key found  - this one here is presented as test
LNPay.Initialize('pak_O0iUMxk8kK_qUzkT4YKFvp1ZsUtp');

{% endtab %}

{% tab title="Python" %}

import lnpay_py

# init lnpay
lnpay_py.initialize(lnpay_api_key)

{% endtab %} {% endtabs %}

Postman Collection

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published