Lighting Node Info

Get status information about the connected Lightning node.

get

Send status information request

Create new account

Create a new custody account on the LightningHub. Each account has it's own spendable balance which is managed via an internal ledger (database).

post

Send account creation request

Get access token

Create an access token using your account credentials (login/password), which is needed for most of the API calls.

post

Send user authentication request

Show Account Balance

Show spendable custody account balance of the authenticated user.

get

Send balance information request

Show Funding Address

Get an on-chain bitcoin deposit address for the authenticated user. Deposits will be credited to the user's custody account balance.

get

Send deposit address request

Show Pending Deposits

Show on-chain funding transactions with less than 3 confirmations for the authenticated user's account. Deposits will only be credited to the user's spendable account balance after the funding transaction received 3 confirmations.

get

Get a list of pending deposits along with their details for the authenticated user's custody account.

Create Lightning invoice

Create BOLT-11 compatible Lightning invoices

post

Request a BOLT-11 compatible Lightning invoice that can be paid by any other BOLT-11 compatible wallet. If the invoice is paid the respective amount will be credited to the authenticated user who created it.

Pay Lightning invoices

Pay BOLT-11 compatible Lightning invoices

post

Request a BOLT-11 compatible Lightning invoice to be paid by the custodian. If the payment is successful, the respective amount + a fee is substracted from the authenticated user's balance.

Show Transaction History

Show the transaction history of authenticated user's account.

get

Get a list of transactions (deposits and payments) along with their details for the authenticated user's custody account.

Show Invoices

Show Lightning invoices created by the authenticated user.

get

Get a list of Lightning invoices along with their payment status details for the authenticated user's custody account.

Decode Lightning Invoice

Decode a Lightning invoice into a human readable format.

get

Decode a BOLT-11 compatible Lightning invoice into a human readable format. Uses the implementation of the connected Lightning node so the client app doesn't have to implement this.