v1

latestOpenAPI 3.1.02026-07-26165182724.7 KB

Copy of Deposit via Lightning

Add funds to a Bitcoin account using the Lightning Network

post/wallets/corporate/lightning/topup

Headers

api-keystring required

api-key is available on the dashboard

Authorizationstring required

Request body

applicationIdstring required

The Id of the corporate who is sending this transaction

sourceAccountIdstring required

The Id of the account to credit

memostring

An optional memo

amountstring required

Amount in satoshis

ttlinteger

LN Invoice expiry in minutes (Between 10 and 1440)

Response

200

idstring
descriptionstring
amountinteger
invoicestring
expiryinteger

Example response

{
  "id": "85c0f778-388d-4828-9066-8de60eb8c035",
  "description": "extend methodologies clicks-and-mortar",
  "amount": 500,
  "invoice": "lntb5u1p30y64npp5w5lp9v25yz4trdc204l2he262jywaehymnqx0mtel0l6lk3r8m9qdpav4u8getwvssx6et5dphkgmmvdankjetnyp3kc6trddej6ctwvskk6mmjw3shycqzpgxqzjhsp5cnstd43825ttacu682m39d6frdttz7wkucx3lr8je9p2yhtqtvvs9qyyssqr5m7s4x8a9efvumqcynj30jaf05pkd0d7f0a8jplgqqyvg7um8lxqp6y63m7mmvc2qvx93lr0tvvyjarmpapcnfcqaz23as5q8r99sspguqp9z",
  "expiry": 1660054794
}