Use the admin wallet (no production access) to create the invoices, use the production wallet (dev has access) to trigger the downstream process. You'll need both wallets running on nodes 24/7.

A 2 wallets workflow example would be: Client requests good/services -> production wallet creates invoice for their share (say 50%) -> admin wallet wraps the invoice and adds their share (other 50%) -> client is presented with the wrapped invoice -> payment goes through and each wallet receives their share directly -> upon receipt of payment production triggers the downstream process.

*Please note I'm not a dev, so you'll need to figure out how to do this yourself. I know it can be done because that's how LSPs like Olympus work. If you need more help #asknostr

Reply to this note

Please Login to reply.

Discussion

No replies yet.