このコマンドラインで実行すると、オーダーIDとライトニングインボイスが返ってくる。amountだけ必須、他はオプション。

curl -X POST -H "Content-Type: application/json" -d "{"amount" : 100 , "senderName" : "patoshi"}" ts/create

支払いするとredeem URLが有効になる。

ts/redeem/{オーダーID}

Reply to this note

Please Login to reply.

Discussion

No replies yet.