Server Side Pairing Code
The newer devices (GTS, BipS etc) requires a server-side pairing key which requires initial pairing with an android device. To get the key, follow the instructions here and enter into Amazfish when prompted, WITHOUT 0x at the beginning.
See https://gadgetbridge.org/basics/pairing/huami-xiaomi-server/