How can customers upload business license photos during registration?

Hey there,
For our b2b brand, we need to check our customers business license.
To achieve this we would like to give our Customers the opportunity to upload a photo of their license.

In the best case, this should be possible upon registration and stored in a customer metafield.
Sadly I can’t find anything about this in the Documentation… but I did find this:
additional-customer-information
it says “This information can be collected with any HTML input type.”
I already set up a html file input and it seams to work fine, BUT on the customer page (in the admin panel) under Customer Note it only shows the name of the uploaded file, not the file itself. (I assume “Customer Note” only support strings(?))

Is my uploaded file stored? If yes, how could I acsess it?
If not, how could I store it as a metafield? (is it only possible via API or can I do it with liquid code?)
I hope I don’t bother you to much… a resource to find those informations would already help!

  • best regards Leon