A method and an apparatus for identity verification and an electronic device. The method comprises: (110) a mobile terminal obtaining a device identifier of a device, and uploading the obtained device identifier to a server; (120) the server performing validity verification on the device identifier, and returning a result of the verification to the mobile terminal; (130) in the situation where the received result of the verification returned by the server is valid, the mobile terminal collecting identity feature information of a user, and uploading the collected identity feature information to the server; and (140) the server performing identity verification on the identity feature information, and in the situation where the verification is successful, issuing an electronic pass to the mobile terminal, wherein the electronic pass is used to obtain a service provided by the device.
展开▼