Use WHM's API Shell interface (WHM >> Home >> Development >> API Shell) to directly test WHM API calls.