AR MisPay with GL Code through the Rest API

This is the exact same issue someone else had. I think its the same solution for you.