Xiaomi/Redmi/Mi is providing an authentication label on all its products that have an unique 20-digit security code.
You can find the label on the retail box of your phone.
In case the box is not handy, you can also check the authenticity with IMEI (International Mobile Equipment Identity) number or product’s serial number.
The company has a dedicated section on its website where users can enter the IMEI, serial number or security code and check whether the Redmi or Xiaomi devices they are using is genuine or not.