Technical question: How do I accept lightning payment and keep it pending for a while until my scripts do their jobs - after couple seconds/minutes cancel or approve. I tried btcpayserver and I don't think it can do that. #dev #lightning

Reply to this note

Please Login to reply.

Discussion

Figured it out, I needed to use addHoldInvoice LN method. Generating hashes was complicated without working examples though... cried all night but got it working eventually lol