"...the process for gaining custody..."
"There is no dispute over custody, and I just want to legalize the situation".
You need to clarify what it is that you are talking about, "legalising" yourself as the father and "custody" of the child are entirely different things. Do you just want your name on the child's birth certificate naming you as the father?