The authentication procedure will depend on your bank, but, yes, usually the OTP code is used for authentication. Some banks prefer sending a USSD push message, but you’d need to contact your bank to discover more.