anyone familiar with passport detector wiring?

Is it a square-ish plug, like a usb b size? Or a round 3-5mm plug? There must be a pinout of a generic one somewhere, its only pos and neg right?