Note: parameters will be validated and error code
ERROR_CODE_INVALID_PARAMETERS will be returned if they happen to be invalid e.g.
missing required parameter for a gateway or unexpected parameter is used.