The online application process for getting your National Insurance Number only requires you have your passport for identification. As long as you have your passport, you will not need your visa details. The process will require you to answer a series of questions eg: date of birth and address as well as upload a photo of you holding your passport next to your face for proof of identity. If this uploaded image, you may be asked to attend an in person appointment to verify your details.