Other side has three terminals PCB mounting style.
The seller opened top from side with a sharp pointing pin.
because I bought as sensor in a lump-sum trade with other sensors.
I assume three legs for a such small device with floating magnet inside can't be anything else but some kind of sensor.