Just to close the loop here as these are related threads.
I came up with a great solution here with the orderMarkAsPaid mutation: