An electronic device , comprising: a local wireless communication circuit ; a gyro sensor ; a first biometric sensor , the first biometric sensor being a fingerprint sensor, and a second biometric sensor , the second biometric sensor being an iris sensor; a security module configured to store payment information corresponding to a payment card; a processor electrically connected to the gyro sensor , the first biometric sensor , the second biometric sensor , the local wireless communication circuit , and the security module ; and a memory electrically connected to the processor , wherein the memory is configured to store instructions that cause the processor to: select at least one of the first biometric sensor or the second biometric sensor , based on a security policy of an issuer of the payment card or a security policy of the payment card; if the security policy of the issuer of the payment card or the security policy of the payment card does not designate at least one of the first biometric sensor or the second biometric sensor , select the first biometric sensor when a slope of the electronic device with respect to the ground, detected by the gyro sensor, is less than a predetermined angle, and select; the second biometric sensor when said slope is equal to or greater than the predetermined angle; authenticate a user by using the selected biometric sensor ; and if the authentication is successful, transmit the payment information to an external device through the local wireless communication circuit . a local wireless communication circuit ; a gyro sensor ; a first biometric sensor , the first biometric sensor being a fingerprint sensor, and a second biometric sensor , the second biometric sensor being an iris sensor; a security module configured to store payment information corresponding to a payment card; a processor electrically connected to the gyro sensor , the first biometric sensor , the second biometric sensor , the local wireless communication circuit , and the security module ; and a memory electrically connected to the processor , wherein the memory is configured to store instructions that cause the processor to: select at least one of the first biometric sensor or the second biometric sensor , based on a security policy of an issuer of the payment card or a security policy of the payment card; if the security policy of the issuer of the payment card or the security policy of the payment card does not designate at least one of the first biometric sensor or the second biometric sensor , select the first biometric sensor when a slope of the electronic device with respect to the ground, detected by the gyro sensor, is less than a predetermined angle, and select; the second biometric sensor when said slope is equal to or greater than the predetermined angle; authenticate a user by using the selected biometric sensor ; and if the authentication is successful, transmit the payment information to an external device through the local wireless communication circuit . select at least one of the first biometric sensor or the second biometric sensor , based on a security policy of an issuer of the payment card or a security policy of the payment card; if the security policy of the issuer of the payment card or the security policy of the payment card does not designate at least one of the first biometric sensor or the second biometric sensor , select the first biometric sensor when a slope of the electronic device with respect to the ground, detected by the gyro sensor, is less than a predetermined angle, and select; the second biometric sensor when said slope is equal to or greater than the predetermined angle; authenticate a user by using the selected biometric sensor ; and if the authentication is successful, transmit the payment information to an external device through the local wireless communication circuit . <EOS>