I need help with setting up split payments

So I made a post that rhymes a bit with this. You might check this out and modify for your own use.
If you need help LMK.