Reimplemented module with new API py-authorize #4883

The construction of this dictionary should eb a separate method for better downstream change support