MT#9481 API: Implement customer balance handling

(cherry picked from commit a58ac04e176eaee7d9c150c4f1a68d5e21f2fda4)