The refrigerator will display AP when it is acting as an access point. This is so that the fridge can be set up for Wi-Fi features such as SmartThings. You usually make this code appear by pressing and holding the button indicated during SmartThings setup.
This code will go away once setup is complete or after some time, if setup does not complete.