Halo Rendering with vertex colors

I wish to import an object, run a script to color the verticies, and then render the object as a halo with the painted vertices.

The object is a point cloud and has no faces.
I have already created and tested the script to color the verticies (tested on an object with faces)

How can I set the color of the points in a halo material to be the color of the vertex paint for rendering?

Thank you in advance for any replies and thank you for the time you spend reading this post. If you need any further information please let me know.