Hello,
Using Poynt SDK, how can I determine what type of device am I on (e.g. Terminal vs Poynt 5)?
Thanks,
Waqar
Hello,
Using Poynt SDK, how can I determine what type of device am I on (e.g. Terminal vs Poynt 5)?
Thanks,
Waqar
Hi Waqar,
It’s quite possible there’s a better way to do this – but here’s one sure shot way:
https://poynt.github.io/developer/javadoc/co/poynt/os/model/PoyntDeviceMetaData.html
If deviceSerial
starts with P5
, it’s a Poynt 5. If it starts with P61
then it’s the original Poynt Smart Payment Terminal.
Regards,
Neil