/
/GroundControl push server API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 4m ago · Updated 1mo ago
  • post/lightningInvoiceGotSettled
  • postAssociate bitcoin addressess / ln preimage hashes / txids that you wish to be notified about to specific push token. Token serves as unique identifier of a device/user. Also, OS of the token
  • postThis call is a reverse call for /majorTomToGroundControl. In case user doesnt want to track addresses/txids/ln invoice hashes, he makes this call along with his token/os so GroundControl can remove them from the database
  • get/ping
  • postReturns levels of notifications user currently subscribed to
  • postSets levels of notifications user is subscribed to; also saves some user info, like lang or app version
  • postPuts push in send queue. Push body should be any descendant of `/components/schemas/PushNotificationBase`

post/lightningInvoiceGotSettled

Request body

memostring

text that was embedded in invoice paid

preimagestring

hex string preimage

hashstring

hex string preimage hash

amt_paid_satnumber

exactly how much satoshis was paid to make this invoice settked (>= invoice amount)

Response

OK

Changes