Keep in mind and I don't know the tech but this would be a cooperative escrow simple because refunds happen. It could honestly be an agreed upon amount, with one party able to send it. Something like 2x APRU (avg. sale).

Not sure what needs doing to make it work but again refunds happen. I do about 1/2% of total sales a year in refunds for various reasons. It isn't a lot but it is a thing.

Reply to this note

Please Login to reply.

Discussion

The concern you're raising has to do with needing to be able to perform a full refund even after payment had been split, is that right?

This is an interesting problem. It could be solved by some kind of 'joint account' between you and your split-payment beneficiaries, where you can draw from the funds in order to resolve returns.

For example, you do normal splits from your customer to you and your split-beneficiaries (lets call them your suppliers in business speak) and you all get paid immediately. But then later, your customer returns whatever it is they bought and you want to issue a refund. Rather than asking your suppliers for these small payments for the refund, you draw from the two-party joint account. You have a separate joint account between you and each supplier, and its a 'slush fund' explicitly for this purpose.

If you have some kind of argument with a supplier, they can drain this joint account without your agreement because that's the nature of a joint account, but since this is a business relationship its unlikely someone would violate your trust over such a small amount.

The joint accounts can be done with existing tech, for example with a simple LNDHUB wallet where you share the wallet URI with your supplier, and its up to the supplier to keep this funded at an agreed-upon amount. Its up to your supplier to keep this wallet topped off, and they would have access to the transaction list to see what you have been doing with it. This way you can distribute the 2xARPU between your suppliers, and their payment is contingent on them keeping it topped off when you notify them of an issued return (which could be automated). All of this could potentially be done automatically under lnbits extensions.