First pass of LN payment callbacks

This commit is contained in:
kexkey
2019-01-08 16:01:49 -05:00
committed by kexkey
parent ef504bb27a
commit b719992a0c
10 changed files with 228 additions and 65 deletions

View File

@@ -260,7 +260,7 @@ main()
;;
ln_create_invoice)
# POST http://192.168.111.152:8080/ln_create_invoice
# BODY {"msatoshi":"10000","label":"koNCcrSvhX3dmyFhW","description":"Bylls order #10649","expiry":"900"}
# BODY {"msatoshi":"10000","label":"koNCcrSvhX3dmyFhW","description":"Bylls order #10649","expiry":"900","callback_url":"http://192.168.122.159"}
response=$(ln_create_invoice "${line}")
response_to_client "${response}" ${?}